options ls=78;

 

data hw6;

      infile 'hw6.txt';

      input sn read vgame intel;

run;

 

proc plot data=hw6;

      plot vgame*read intel*read intel*vgame;

      title 'Plots of Relation Among Reading, Video Games Score, and Intelligence';

 

run;

 

proc corr data=hw6;

      var read vgame;

      title 'Correlation Between Reading and Video Game Score';

run;

 

proc corr data=hw6;

      var read intel;

      title 'Correlation Between Reading and Intelligence';

run;

 

proc corr data=hw6;

      var vgame intel;

      title 'Correlation Between Video Game Score and Intelligence';

run;