options ls=78;
data class3;
infile
'class3.txt';
input sn
stress anx dep;
lanx =
log(anx);
sqstress =
sqrt(stress);
depsq =
dep**(2);
run;
proc print data=class3;
run;
proc univariate data=class3 plot normal;
var stress
sqstress anx lanx dep depsq;
title 'name,
univar normal';
run;
proc chart data=class3;
vbar stress
sqstress/ levels=15;
title 'name,
histograms of stress';
run;
proc chart data=class3;
vbar anx lanx
/ levels=15;
title 'name,
histograms of anx';
run;
proc chart data=class3;
vbar dep
depsq/ levels=15;
title 'name,
histograms of dep';
run;
quit;