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 |
how sas deals with business intelligence? : Sas-bi
If you’re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
What will calendar procedure do?
You have a data set of 100 observations,how can you restrict the output so that the output has only data from row no. 10 to row no. 20
How would you delete observations with duplicate keys?
What is shift table? have you ever created shift that?
2 Answers Accenture, Clinical Research, Quintiles,
how will you locate the sas platform applications? : Sas-bi
Difference b/n proc means and proc summary procedures?
How can you put a "trace" in your program?
i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?
I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.
How many ways to overcome a missing values???