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

: and & modifiers.

0 Answers   Oracle,


What are the data types that sas contain?

0 Answers  


Define run-group processing?

0 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


What is the purpose of _character_ and _numeric_?

0 Answers  






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?

0 Answers  


What is the difference between SAS functions and procedures?

0 Answers  


Give an example where SAS fails to convert character value to numeric value automatically?

0 Answers  


How do you write a test plan?

1 Answers   Oracle,


what is sas metadata server? : Sas-di

0 Answers  


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 ?

5 Answers  


Categories