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 |
what is the difference between SET and MERGE?
If a variable contains letters or special characters, can it be numeric data type?
How do you add a number to a macro variable? : sas-macro
wat has been most common programming mistake?
"What is the difference between proc sort nodup and proc sort nodupkey?"
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.
Name types of category in which SAS Informats are placed?
what is information maps?
create macros---you have 365 number of data and you need to merge it throw the macros,,,,,, data file1; input a @@; cards; 1 2 3 4 ; run; data file2; input a @@; cards; 5 6 7 8 ; run; data file3; input a @@; cards; 9 10 11 12 ; run;data file4; input a @@; cards; 13 14 15 16 ; run;
What is program data vector (pdv)?
How would you include common or reuse to be processed along with your statements?
what is sas? is a package or tool? give me introduction about sas?