data abc;
input x y ;
cards;
1 2
5 6
7 8
7 8
1 7
5 7
;
run;
Proc Freq data=abc;
tables x*y / chisq nopercent nocol norow PLCORR;
RUN;
If we run the code, we have Polychoric Correlation = 0.9054
in the last table.
I want to extract this particular entry with the value.
Means I will create one dataset in which this value will be
stored/extracted.
I need your help in coding this. Please help me out.
Answer Posted / neeraj upadhyay
data abc;
input x y ;
cards;
1 2
5 6
7 8
7 8
1 7
5 7
;
run;
Proc Freq data=abc;
tables x*y / chisq nopercent nocol norow PLCORR;
output out = xyz PLCORR ;
RUN;
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is substr function?
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
What does P-value signify about the statistical data?
Explain the purpose of retain statement.
Are you involved in writing the inferential analysis plan? Tables specfications?
What are the differences between proc means and proc summary?
how to do user inputs and command line arguments in sas?
Which function is used to count the number of intervals between two sas dates?
Which statement does not perform automatic conversions in comparisons?
how to remove duplicates using proc sql?
How to limit decimal places for the variable using proc means?
How we can create SAS USER DEFINED CODE?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
what is sas olap server? : Sas-di
How necessary is it to be creative in your work?