Top Banner
SAS ASSIGNMENT Submitted by MADHUMITHAA.J
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SAS ASSIGNMENT

SAS ASSIGNMENTSubmitted byMADHUMITHAA.J

Page 2: SAS ASSIGNMENT

DATA

Page 3: SAS ASSIGNMENT

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.

Page 4: SAS ASSIGNMENT

Data file 2

Page 5: SAS ASSIGNMENT

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

Page 6: SAS ASSIGNMENT

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;

Page 7: SAS ASSIGNMENT

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;

Page 8: SAS ASSIGNMENT

OUTPUTS

Page 9: SAS ASSIGNMENT
Page 10: SAS ASSIGNMENT
Page 11: SAS ASSIGNMENT
Page 12: SAS ASSIGNMENT
Page 13: SAS ASSIGNMENT
Page 14: SAS ASSIGNMENT
Page 15: SAS ASSIGNMENT
Page 16: SAS ASSIGNMENT
Page 17: SAS ASSIGNMENT
Page 18: SAS ASSIGNMENT
Page 19: SAS ASSIGNMENT
Page 20: SAS ASSIGNMENT

THANK YOU