Ex7 - dm 'log;clear;output;clear;'; o options ps=50 ls=75...

Info iconThis preview shows pages 1–3. 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; o *The following title will appear as the first line of every page in the output window; title1 'Exercise 7, STAT 6360'; t title2 'Question 1'; data grades; input Gender $ Eng Hist Math Sci; grade_sum=sum(Eng, Hist, Math, Sci); grade_min=min(Eng, Hist, Math, Sci); datalines; M 80 82 85 88 F 94 92 88 96 M 96 88 89 92 F 95 80 92 92 ; run; r proc print data=grades; run; r title2 'Question 2'; data Q2; input norm1 norm2; pnorm = probnorm(norm2)-probnorm(norm1); datalines; 0 1.4 -1.5 0 -0.5 1.8 1.28 1.96 ; proc print data=Q2; run; r title2 'Question 3'; data Q3; input alpha; norm = probit(1-alpha); datalines; 0.5 0.25 0.05 0.025 ; proc print data=Q3; run; r title2 'Question 4'; t *a; data Q4_a; input chisq df; pvalue = 1-probchi(chisq, df); datalines; 4.0865 3 ; proc print data=Q4_a;
Background image of page 1

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

View Full DocumentRight Arrow Icon
run; r *b; data Q4_b; input t df; pvalue= 2*(1-probt(abs(t), df)); datalines; -4.43 17 7.55 17 ; proc print data=Q4_b; run; r *c; data Q4_c; input f df1 df2;
Background image of page 2
Image of page 3
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 UGA.

Page1 / 3

Ex7 - dm 'log;clear;output;clear;'; o options ps=50 ls=75...

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

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