Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

2 Answers  


What is the use of divide function?

0 Answers  


what are the different ways of merging two datasets.name atleast 4.

2 Answers  


how to delete the duplicates by using proc sql?

3 Answers   Genpact,


What do you feel about hardcoding?

4 Answers   Oracle,


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1 Answers  


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

0 Answers   Satyam,


Does anybody has lastest SAS certification dumps,if anybody has please mail me on saggydesai@gmail.com

2 Answers  


What is the size of PDV?

2 Answers   L&T,


Differentiate input and infile.

0 Answers  


How to create an external dataset with sas code?

0 Answers  


Hot to suppress characters from a given string?

4 Answers   CTS,


Categories