SAS ASSIGNMENT

20
SAS ASSIGNMENT Submitted by MADHUMITHAA.J

Transcript of SAS ASSIGNMENT

SAS ASSIGNMENTSubmitted byMADHUMITHAA.J

DATA

The data is a placement data file whereby candidates are selected on the basis of entrance score

The variable added to this file was WTS-willingness to

stay with the company.

Data file 2

Datafile 2 consists of WTS and tenure of stay that is how long are the people willing to stay with the company.

COMMANDS USED

IMPORTING AND MERGING FILE: proc import datafile="Z:/trim 5/SAS/madhu3.xls"

out=work.placedata1;

run; proc import datafile="Z:/trim 5/SAS/madhu2.xls"

out=work.placedata2;

run; proc sql;

create table work.mergedata as

select*

From work.placedata1,work.placedata2

where placedata1.WTS= placedata2.WTS

order by placedata1.sno;

quit;

ods pdf file='Z:/trim 5/SAS/placementanalysis.pdf';

proc freq data=work.mergedata;

tables WTS;

run;

proc means data=work.mergedata;

var WTS;

run;

proc ttest data=work.mergedata;

var WTS;

run;

proc corr data=work.mergedata;

var WTS;

run;

proc factor data=work.mergedata

rotate=promax reorder

outstat = fact_all;

run;

ods pdf close;

run;

quit;

OUTPUTS

THANK YOU