# 3-2 - plot grade*point_average; output out=result r=res...

This preview shows page 1. Sign up to view the full content.

/*problem 2*/ data a1; infile 'C:\Documents and Settings\Administrator\My Documents\Lectures\2009- 1st\Statistics\SAS Files\Data files\ch01pr19.dat'; input grade point_average; proc print data=a1; run; proc sort data=a1; by point_average;run; proc print data=a1; run; /*problem 2-1*/ title1 ' Graph of GPA'; axis1 label=('GPA'); proc univariate data=a1 plot normal; var point_average; qqplot point_average/normal (l=1 mu=est sigma=est); histogram point_average/kernel normal; run; /*problem 2-2*/ proc reg data=a1; model grade = point_average;
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: plot grade*point_average; output out=result r=res p=pre; run; /*(a)*/ proc univariate data=result plot normal; var res; qqplot res/normal (l=1 mu=est sigma=est); histogram res/kernel normal; run; /*(b)*/ proc gplot data=result; plot res*point_average / vref=0; run; /*(c)*/ data se; set result; seq = _n_; proc print data=se;run; proc gplot data=se; plot res*seq/verf=0; run; /*(d)*/ proc univariate data=result plot normal; var res; qqplot res/normal (l=1 mu=est sigma=est); histogram res/kernel normal; run;...
View Full Document

## This note was uploaded on 08/28/2011 for the course STAT 00000 taught by Professor - during the Spring '11 term at Purdue University-West Lafayette.

Ask a homework question - tutors are online