BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
anavipalma
Calcite | Level 5

 Hi!!!

 

I am using this data set

 

record_idfrequency1success2reliable3discussion4contribution5
A32339
B422214
C33339
D42337
E544414
F54442
G334314
H534314
I34445
J544414
K422214
L422214
M34441
N344411
O34449
P54442
Q44449
R64443
S33335
T24339

I wan to have these results

 

anavipalma_0-1669703273249.pnganavipalma_1-1669703301115.png

But I obtain the following message in the log:

anavipalma_2-1669703344234.png

Tried really hard to come up with a solution, no success. Thank you for your help, very much appreciated!

 

Ana

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @anavipalma and welcome to the SAS Support Communities (as a first-time poster)!

 

I have never worked with PROC IRT in practice, but the error message is not specific to this procedure. It just reminds you that the syntax for a name range list uses the double hyphen:

frequency1--contribution5

The single hyphen is used in numbered range lists, which require the numbered variables to have the same "root" (such as "item" in item1-item5).

 

For the polychoric correlation heat map you need to use the syntax in line 76 of your log (with the two plot requests in parentheses) or a second plots= option. Otherwise, the second polychoric option is not interpreted as part of the plots= option. The itemfit option only applies to binary responses (i.e., variables with only two levels).

 

 

Hint: It's better to include SAS code or logs as text (using the "Insert SAS Code" [running-man icon] or "Insert Code" [</> icon] button of the message window, respectively), not as pictures, because then we can copy the code into our SAS sessions.

View solution in original post

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hi @anavipalma and welcome to the SAS Support Communities (as a first-time poster)!

 

I have never worked with PROC IRT in practice, but the error message is not specific to this procedure. It just reminds you that the syntax for a name range list uses the double hyphen:

frequency1--contribution5

The single hyphen is used in numbered range lists, which require the numbered variables to have the same "root" (such as "item" in item1-item5).

 

For the polychoric correlation heat map you need to use the syntax in line 76 of your log (with the two plot requests in parentheses) or a second plots= option. Otherwise, the second polychoric option is not interpreted as part of the plots= option. The itemfit option only applies to binary responses (i.e., variables with only two levels).

 

 

Hint: It's better to include SAS code or logs as text (using the "Insert SAS Code" [running-man icon] or "Insert Code" [</> icon] button of the message window, respectively), not as pictures, because then we can copy the code into our SAS sessions.

anavipalma
Calcite | Level 5
Thank you so much!

Really appreciate it!

I learned a lot today!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 781 views
  • 0 likes
  • 2 in conversation