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
Which command is used to save logs in the external file?
what is sas data set?
what are validation tools that are used in sas? : Sas-administrator
What is the difference between SAS functions and procedures?
Can you execute a macro within a macro? Describe. : sas-macro
explain about various caches available in data integrator? : Sas-di
What is the good sas programming practices for processing large data sets?
Enlist the syntax rules followed in sas statements.
Briefly explain input and put function?
What does PROC print, and PROC contents do?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?
Explain the use of proc gplot? : sas-grid-administration
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What areas of SAS are you most interested in?
What is PROC in SAS?