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



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..

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

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..

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

Post New Answer

More SAS Interview Questions

Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?

4 Answers  


i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?

6 Answers   GSK,


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

0 Answers   Axis Bank,


Explain bmdp procedure?

0 Answers  


Explain the difference between nodup and nodupkey options?

0 Answers  






what is washout period?

3 Answers   Cognizant,


How we can create SAS USER DEFINED CODE?

0 Answers  


/*i have the following dataset.*/ data score; input marks ; datalines; 10 20 30 40 50 60 70 80 90 100 ; run; Now i should get the result as sum of 1 to 5 i.e(10+20+30+40+50)=150 and 2 to 6 i.e(20+30+40+50+60)=200 and 3 to 7 i.e(30+40+50+60+70)=250 and so on. how to get it. thanks in advance

2 Answers   Eval Source,


what does .. meant in sas macros

3 Answers   D&B,


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   Oracle,


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

0 Answers  


What is the difference between match merge and one to one merge?

0 Answers  


Categories