BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
karlbang
Fluorite | Level 6

When I specify

 

ods output IRT.ItemInfo.ItemInfoCurve=II;

 

the output data set seems to be stacked (~100 lines per item), but with no indication about which item provides which values ?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

You are correct: that output is unclear and difficult to work with.

By looking at the output data, you can see that each curve is represented by 101 points. Therefore if you create a new variable PlotNum=ceil(_N_/101), you will correctly identify the curves.

 

Here is an example that uses the data in the Getting Started example in the PROC IRT documentation:

proc irt data=IrtBinary plots(unpack)=IIC;
   var item1-item10;
   ods output ItemInfoCurve=II_0;
run;

data II;
set II_0;
PlotNum = ceil(_N_ / 101);
run;

proc sgpanel data=II;
   panelby PlotNum / columns=3 rows=2;
   series x=Trait y=ItemInfo;
run;

 

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

You are correct: that output is unclear and difficult to work with.

By looking at the output data, you can see that each curve is represented by 101 points. Therefore if you create a new variable PlotNum=ceil(_N_/101), you will correctly identify the curves.

 

Here is an example that uses the data in the Getting Started example in the PROC IRT documentation:

proc irt data=IrtBinary plots(unpack)=IIC;
   var item1-item10;
   ods output ItemInfoCurve=II_0;
run;

data II;
set II_0;
PlotNum = ceil(_N_ / 101);
run;

proc sgpanel data=II;
   panelby PlotNum / columns=3 rows=2;
   series x=Trait y=ItemInfo;
run;

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 340 views
  • 0 likes
  • 2 in conversation