We are interested in whether math score (math – a continuousvariable) is a significant predictor of science score (science – acontinuous variable) using the High School and Beyond (hsb2)data.
State the null and alternative hypotheses and the level ofsignificance you intend to use.
Ho:?=0
H1:??0
Alph:0.05
Write the equation for the appropriate test statistic.
t =b/SE(b)
What is your decision rule? Be sure to include the degrees offreedom.
If our t value is greater than the critical value of 1.96 wereject the null hypothesis.
FD= n-2=200-2= 198=1.96
Using SAS, estimate the means, variances and covariances formath and science scores. Copy and paste the relevant SAS outputbelow.
variable | label | DF | Peramieter Estimate | Standered Error | tvalue | Pr> | 95% CI |
intercept | intercept | 1 | 21.7 | 2.75 | 7.88 | <0.001 | 16.26,27.13 |
science | science score | 1 | 0.596 | 0.052 | 11.44 | <0.001 | 0.49,0.69 |
Using the output from (d), calculate by hand the slope. Be sureto show your work.
Using the output from (d), calculate by hand the intercept. Besure to show your work