Message/Author 


I am attempting to generate a crossclassified IRT simulation with a binary personlevel indicator. I attempted to use "cutpoint" but finding that coupled with my statement on the between level for individuals leads to an error of, "Unrestricted xvariables for analysis with TYPE=CROSSCLASSIFIED must be a variable on only one level". In my code below I only have it specified on one betweenlevel. I greatly appreciate any thoughts on restructuring the code. montecarlo: names are u x; cutpoints=x(0); nobservations = 6480; nreps = 1; CSIZES = 36[180(1)]; ncsizes = 1[1]; generate=u(1); categorical=u; ANALYSIS: TYPE = cross random; estimator=bayes; proc=2; model population: %within% %between level2a% x@1; f BY u@1; f@1; u@0; f on x*.5; %between level2b% u@1; [u$1*0]; model: %within% %between level2a% f BY u@1; f@1; u@0; f on x*.5; %between level2b% u*1; [u$1*0]; 


Insert this line after "categorical=u;" between=(level2a) x; 


Dear professors, Hello! I have one question about the cut points. In example 12.1, the syntax defines the cutpoints = x2(1) and explains that ¡°the variable x2 is cut at the value of one which is one standard deviation above the mean because the mean and variance used for data generation are zero and one. This implies that after the cut x2 is a 0/1 binary variable where 16 percent of the population have the value of 1.¡± Because the variance is 1, the value 1 is one standard deviation. But I don¡¯t understand the last sentence. (1) How can a 0/1 binary variable have a mean of 0? And how do you know 16 percent of the population have the value of 1? (2) what about the specification cutpoints = x(1) w(0); in example 12.6 ? How do we comprehend the w(0)? Thank you very much! 


The original variable before being cut has a mean of zero and a standard deviation of one. The percentages are taken from a ztable. The cutpoint of zero implies a fifty/fifty split. 


Thanks a lot! 

Back to top 