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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / poojavaibhav
hi,
in Proc step if you want to create a dataset then use
output out= statement.
answer above given is correct.
Thanks
| Is This Answer Correct ? | 4 Yes | 0 No |
explain about data integrator metadata reports? : Sas-di
What is the maximum length of the macro variable?
explain the key concept of sas? : Sas-administrator
what are scrubing procedures in SAS?
What data sets do you need to produce the report?
What is the basic syntax of a sas program?
Describe the function and untility of the most difficult SAS macro that you have written.
Differences between where and if statement?
What is maximum storage capability of SAS?
There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
what is the difference between nodup and nodupkey options? : Sas programming
How would you code a merge that will keep only the observations that have matches from both sets.
5 Answers Accenture, Bank Of America,