assignment3

assignment3 - /* Question 1*/ 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
/* Question 1*/ / dm 'log;clear;output;clear;'; options ps=50 ls=75 pageno=1; o *a. Using PROC UNIVARIATE, obtain a histogram for the 12th grade GPA variable; U *Reset all options and global statements; goptions reset=all border ftext=swiss gunit=cm htext=0.4 htitle=0.5; g title 'Histogram'; proc univariate data=SASdata.forlang plot noprint; var GPA12th; histogram / normal; run; r *b. Using PROC GPLOT, plot English score (on y-axis) vs 8th grade GPA (on x- axis); title 'Scatter Plot'; proc gplot data=SASdata.forlang; plot English*GPA8th / vaxis=axis1 haxis=axis2; axis1 label = (a=90 'English Score') length = 10 order = (30 to 90 by 10) minor = (number=5); axis2 label = ('8th GPA') length = 20 order = (1.5 to 4.5 by 0.5) minor = (number=4); run; r *c ; title 'Scatter Plot'; proc gplot data=SASdata.forlang; plot english*GPA8th=foreign / vaxis=axis1 haxis=axis2 grid legend=legend1; axis1 label=(a=90 'English Score') length = 10 order = (30 to 90 by 10) minor = (number=5); axis2 label=('8th GPA') length = 20 order = (1.5 to 4.5 by 0.5) minor = (number=4); symbol1 v=dot cv=red h=0.3; symbol2 v=triangle cv=blue h=0.5; legend1 label=('Foreign Language') down =1 across = 2 position=(bottom center outside) shape=symbol(0.0001,0.5);
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.

Page1 / 4

assignment3 - /* Question 1*/ 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