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 |
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
what are the new features included in the new version of SAS i.e., SAS9.1.3?
5 Answers College School Exams Tests, Wockhardt,
What other SAS features do you use for error trapping and data validation?
Explain what is SAS informats?
List down the reasons for choosing sas over other data analytics tools.
Explain by-group processing?
Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?
What are the special input delimiters used in SAS?
what other sas products have you used and consider yourself proficient in using? : Sas programming
how many data types in sas? : Sas-administrator
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Difference between sum function and using “+” operator?