options ls=78;

 

data cls10;

        infile 'class10.txt';

        input sn group $ DV1 DV2;

        tDV1=sqrt(DV1);

run;

 

proc print data=cls10;

run;

 

proc univariate data=cls10 plot normal;

        var DV1 tDV1 DV2;

        title 'Univariates for All Variables';

run;

 

proc sort data=cls10;

        by group;

run;

 

proc univariate data=cls10 plot normal;

        by group;

        var DV1 tDV1 DV2;

        title 'Univariates by Group';

run;

 

proc anova data=cls10;

        class group;

        model tDV1=group;

        means group / hovtest;

        title ' ANOVA for tDV1 and Group';

run;

 

proc anova data=cls10;

        class group;

        model DV1=group;

        means group / hovtest;

        title 'ANOVA for DV1 and Group';

run;

 

proc anova data=cls10;

        class group;

        model DV2=group;

        means group / hovtest;

        title 'ANOVA for DV2 and Group';

run;

 

quit;