Documentation Example 3 for PROC IRT

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

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

proc irt data=IrtGroup;
   var item1-item8;
   group GroupVar;
   model item1-item4/resfunc=twop,
         item5-item8/resfunc=graded;
   equality item1-item4/parm=[intercept] between_gp=[1 2],
            _allgr_/parm=[slope] within_gp=[1];
run;