Austin Wen STAT4360 - Austin Wen STAT 4360 HW3 Due dm'log;clear;output;clear options ps=50 ls=75 pageno=1 goptions reset=all border ftext=swiss

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

View Full Document Right Arrow Icon
Austin Wen STAT 4360 HW3 Due 02/21/2011 dm 'log;clear;output;clear;' ; options ps = 50 ls = 75 pageno= 1 ; goptions reset = all border ftext =swiss gunit = cm htext = 0.6 htitle = 0.8 ; ods rtf file = "N:\4360\Assignments\Assignment\HW3.rtf" ; /* 1. Use the forlang SAS data in Problem 2 of Assignment #2. a. Using PROC UNIVARIATE, obtain a histogram for the 12th grade GPA variable. Comment on the shape of the distribution.*/ goptions reset = all border ftext =swiss gunit = cm htext = 0.6 htitle = 0.8 ; Proc Univariate data = SASdata.forlang; var GPA12th; histogram ; run ; Ans: The GPA of the 12 th graders seems normally distributed.
Background image of page 1

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

View Full DocumentRight Arrow Icon
/* b. Plot English score (on y-axis) vs 8th grade GPA (on x-axis). Does it look like there is a positive or negative relationship between English score and 8th grade GPA? */ goptions reset = all border ftext =swiss gunit = cm htext = 0.6 htitle = 0.8 ; proc gplot data = SASdata.forlang; plot English * GPA8th; run ; quit ; Ans: There seems to have positive correlation between English and 8 th grade GPA. /* c. Plot English score versus 8th grade GPA, using whether or not the student has taken a foreign language as the plot character. Does it look like there is a relationship between English score and 8 th grade GPA? Does it look like students taking a foreign language do better on the English exam? */ goptions reset = all border ftext =swiss gunit = cm htext = 0.6 htitle = 0.8 ; proc gplot data = SASdata.forlang; plot English * GPA8th = foreign/ vaxis =axis1 haxis =axis2 grid legend =legend1; axis1
Background image of page 2
label = ( a = 90 'English' ) minor = ( number = 5 ) ; axis2 label = ( 'GPA8th' ) minor = ( number = 5 ) ; symbol1 v = dot cv = red h = 0.5 ; symbol2 v = diamond cv = blue h = 0.5 ; legend1 label = ( 'Foreign Language' ) down = 1 across = 2 position = ( bottom center outside ) shape = symbol ( 0.0001 , 0.4 ); run ; Ans: Same the previous question, the English grade is positively correlated to the 8 th grade GPA. But we cannot differentiate whether the students have
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
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 / 10

Austin Wen STAT4360 - Austin Wen STAT 4360 HW3 Due dm'log;clear;output;clear options ps=50 ls=75 pageno=1 goptions reset=all border ftext=swiss

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

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