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
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
explain the function of substr in sas? : Sas-administrator
What is the use of function Proc summary?
What is connection profile? : sas-grid-administration
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
What is the purpose of trailing @ and @@? How do you use them?
How many ways to overcome a missing values???
how can you import .csv file in to sas? : Sas programming
What are the features of SAS?
Of all your work, where have you been the most successful?
Briefly explain input and put function?
List down the reasons for choosing sas over other data analytics tools.
List out some key concept of SAS
What is the work of tranwrd function?
If you were told to create many records from one record, show how you would do this using array and with proc transpose?