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


Please Help Members By Posting Answers For Below Questions

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.

1471


explain the function of substr in sas? : Sas-administrator

566


What is the use of function Proc summary?

667


What is connection profile? : sas-grid-administration

656


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

1333






What is the purpose of trailing @ and @@? How do you use them?

619


How many ways to overcome a missing values???

2344


how can you import .csv file in to sas? : Sas programming

647


What are the features of SAS?

592


Of all your work, where have you been the most successful?

4215


Briefly explain input and put function?

642


List down the reasons for choosing sas over other data analytics tools.

823


List out some key concept of SAS

631


What is the work of tranwrd function?

676


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

812