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 |
: and & modifiers.
What are the data types that sas contain?
Define run-group processing?
explain the main difference between the nodup and nodupkey options? : Sas-administrator
What is the purpose of _character_ and _numeric_?
Did you used proc lifetest? when?
2 Answers Accenture, Parexel, Quintiles,
Explain the difference between using drop = data set option in set and data statement?
What is the difference between SAS functions and procedures?
Give an example where SAS fails to convert character value to numeric value automatically?
How do you write a test plan?
what is sas metadata server? : Sas-di
We have a string like this "kannafromsalembut" ,from this i want to get only "fromsal" (but one condition with out using substring function)here we can not use scan because in the given string there is no delimeter? so give ans without out using substring ?