Resources

Documentation Example 1 for PROC IRT

/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: IRTEX1                                              */
/*   TITLE: Documentation Example 1 for PROC IRT                */
/*                                                              */
/* PRODUCT: STAT                                                */
/*  SYSTEM: ALL                                                 */
/*    KEYS:                                                     */
/*   PROCS: IRT                                                 */
/*    DATA:                                                     */
/*                                                              */
/* SUPPORT: Xinming An                                          */
/*     REF: PROC IRT, EXAMPLE 1                                 */
/*    MISC:                                                     */
/****************************************************************/

data IrtUni;
   input item1-item8 @@;
   datalines;
1 0 0 0 1 1 2 1 1 1 1 1 1 3 3 3 0 1 0 0 1 1 1 1 1 0 0 1 0 1 2 3 0 0 0
0 0 1 1 1 1 0 0 1 0 1 3 3 0 0 0 0 0 1 1 3 0 0 1 0 0 1 2 2 0 1 0 0 1 1
1 2 0 0 0 0 0 2 2 3 0 1 0 1 0 2 3 3 0 0 1 0 1 1 2 3 1 1 1 1 1 2 2 3 0
0 0 0 1 1 2 2 1 0 1 1 1 2 3 3 0 1 0 0 1 1 2 3 1 0 1 1 1 2 3 3 0 1 0 1
1 3 2 3 1 1 1 0 0 1 3 3 1 1 0 0 1 2 3 3 0 1 1 1 1 1 2 1 1 0 0 1 1 3 1
1 1 0 0 0 1 1 1 3 0 0 0 0 1 1 3 3 0 0 0 0 0 1 1 1 1 0 0 0 0 1 3 3 1 1
0 1 1 3 1 1 1 0 1 1 1 1 3 1 1 1 1 1 1 2 3 2 0 0 1 0 0 2 2 2 0 0 1 0 1
1 2 3 1 1 1 1 1 1 1 2 0 0 0 0 1 3 1 1 1 1 1 1 1 2 2 3 0 0 0 0 1 2 2 3
1 1 1 1 1 3 3 3 1 1 1 1 1 1 3 3 0 1 0 0 0 2 2 2 0 1 0 1 0 2 2 3 1 0 0
1 1 1 1 2 1 0 0 0 1 3 1 2 0 0 0 0 0 1 3 1 0 1 1 0 0 2 1 3 0 0 0 0 1 2
2 3 0 0 0 0 0 1 1 2 0 0 0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 0 0 1 2 1 1 0 1
1 0 1 3 3 1 1 0 1 0 2 2 2 1 1 0 1 1 3 2 3 0 0 0 1 0 2 2 3 0 0 0 1 0 2
3 3 0 1 0 0 1 2 2 1
;

ods graphics on;
proc irt data=IrtUni link=probit pinitial itemfit plots=ICC;
   var item1-item8;
   model item1-item4/resfunc=twop, item5-item8/resfunc=graded;
run;
ods graphics off;

data IrtSimu;
   input item1-item25 @@;
   datalines;
1 1 1 0 1 1 0 0 1 1 0 0 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 1 1 1 0 1 1 0 0
0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 0 0 0 1 1 0 0 0 0 0 0
0 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 1 0
1 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 0 1 0 1 1
0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 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1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 1 1 0 1 1
0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 0 1 1 1 0 1 0 1 1 1 0 0 1 0 1
0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 0 0 0 1
1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 0 1 1 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 1 1 1 1 1 0 0 1 0 1 0 1 0 0 0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 1
;

proc irt data=IrtSimu link=probit;
   var item1-item25;
   ods output ParameterEstimates=ParmEst;
run;

data Thresholds(keep=Item Threshold);
   set ParmEst;
   Threshold = Estimate;
   if (Parameter = "Threshold") then output;
run;
proc print data=Thresholds;
run;

data Slopes(keep=Item Slope);
   set ParmEst;
   Slope = Estimate;
   if (Parameter = "Slope") then output;
run;
proc print data=Slopes;
run;

proc sort data=Thresholds;
   by Threshold;
run;
proc print data=Thresholds;
run;

proc sort data=Slopes;
   by Slope;
run;
proc print data=Slopes;
run;

proc sort data=Slopes;
   by Item;
run;

proc sort data=Thresholds;
   by Item;
run;

data ItemEst;
   merge Thresholds Slopes;
   by Item;
   Dif = Threshold/Slope;
   if Dif < -1.0 then DiffLevel = 1;
   else if Dif < 0 then DiffLevel = 2;
   else if Dif < 1 then DiffLevel = 3;
   else DiffLevel = 4;
run;
proc print data=ItemEst;
run;

proc sort data=ItemEst;
   by difflevel slope;
run;
proc print data=ItemEst;
run;