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

Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

0 Answers  


what are the new features included in the new version of SAS i.e., SAS9.1.3?

5 Answers   College School Exams Tests, Wockhardt,


What other SAS features do you use for error trapping and data validation?

2 Answers  


Explain what is SAS informats?

0 Answers  


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

0 Answers  






Explain by-group processing?

0 Answers  


Can you use a macro within another macro? If so how would SAS know where the current acro ended and the new one began?

2 Answers  


What are the special input delimiters used in SAS?

0 Answers  


what other sas products have you used and consider yourself proficient in using? : Sas programming

0 Answers  


how many data types in sas? : Sas-administrator

1 Answers  


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

0 Answers  


Difference between sum function and using “+” operator?

0 Answers  


Categories