assignment4 - dm'log;clear;output;clear;';...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
dm 'log;clear;output;clear;';  options ps=50 ls=75 pageno=1;  *ods pdf file="N:\solution.pdf";   *The following title will appear as the first line of every page in the output window;  title1 'Assignment4, STAT 6360';  *The following title will appear as the first line of the first question in the output window;  title2 'Question 1';  data  AutoPoll;  infile  "K:\6360\Assignments\Assignment4\AutoPoll.txt"  firstobs=2;  input  add reduc;   run;  *a. Compute the Pearson correlation coefficient between Additive and Reduction;  proc corr data=AutoPoll;  run;  *b. Fit a simple linear regression;  title3 'Regression Analysis';  proc reg data=AutoPoll;  model reduc = add / r p clb;  output out=out_set1 p=predicted student = stu;  run;  *c. Generate a plot of the original data, the regression line and the 95% confidence  interval bands on the same set of axes.;  *Reset all options and global statements;  goptions reset=all border ftext=swiss gunit=cm htext=0.4 htitle=0.5;  title3 'Reduction vs. Additive';  proc gplot data=AutoPoll; 
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/06/2011 for the course STAT 4360 taught by Professor Park during the Spring '11 term at University of Georgia Athens.

Page1 / 4

assignment4 - dm'log;clear;output;clear;';...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online