Question
what would Ho and Ha be for part b and how do i do part c
Proper digits of your student number before you start in e) QUESTION 6 Replace the symbols with proper digits of your student
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let the regression model that we are estimating be

y=\beta_0+\beta_1x+\text{error}

where y=height (cm)

x=Age (years)

We know the following

\begin{align*} n&=5\\ \bar{x}&=\frac{\sum x}{n}=\frac{20}{5}=4\\ \bar{y}&=\frac{\sum y}{n}=\frac{501}{5}=100.2\\ SS_x&=10\\ SS_y&=516.8\\ SS_{xy}&=68\\ \end{align*}

a) An estimate of the slope is

B1 SSry 68 SS10 = 6.8 SS

An estimate of the intercept is

\begin{align*} \hat{\beta}_0=\bar{y}-\hat{\beta}_1\bar{x}=100.2-6.8\times 4=73 \end{align*}

ans: The equation describing the linear relationship between age (x) and height (y) for 2-6 year old children on the street is

\begin{align*} \hat{y}=73+6.8x \end{align*}

b) Age would be a useful linear predictor of height change if the slope coefficient \beta_1 is not equal to zero.

The hypotheses are

\begin{align*} &H_0:\beta_0=0\\ &H_a:\beta_1\ne 0 \end{align*}

We know following

\begin{align*} \hat{\beta}_1=6.8 \end{align*} is the estimate of slope

The estimated standard error of slope is

\begin{align*} s_{\hat{\beta}_1}=\frac{s}{\sqrt{SS_x}}=\frac{4.2}{\sqrt{10}}=1.3282 \end{align*}

The hypothesized value of the slope coefficient is \begin{align*} \beta_{1H_0}=0 \end{align*}

The test statistic is

\begin{align*} t=\frac{\hat{\beta}_1-\beta_{1H_0}}{s_{\hat{\beta}_1}}=\frac{6.8-0}{1.3282}=5.120 \end{align*}  

Note: We have used s=4.2 in the above calculations. you would get t=5.049 only if you use an unrounded value of s.

This is a 2 tailed test (The alternative hypothesis has "not equal to")

The right tail critical value for \alpha=0.01 is

P(T>t_{\alpha/2})=\alpha/2=0.01/2=0.005

The degrees of freedom are n-2=5-2=3

Using the t tables, for df=3, and the area under the right tail=0.005, we get t_{\alpha/2}=5.841

The critical values are -5.841, 5.841 (Note: 2 tail tests always have 2 critical values)

We will reject the null hypothesis if the test statistic does not lie within the acceptance region -5.841 to  5.841

Here, the test statistic is 5.120 and it lies within -5.841 to  5.841. Hence we do not reject the null hypothesis.

ans: We can conclude that there is no sufficient evidence to support the claim that age,x is useful linear predictor of height change.

c) The expected value of y (height) for x=A=4.5 is

\begin{align*} \hat{y}=73+6.8\times 4.5=103.6 \end{align*}

The standard error of expected value of y for x=4.5 is

\begin{align*} s_{\hat{y}}=s\sqrt{\frac{1}{n}+\frac{(x-\bar{x})^2}{SS_x}}=4.2\times \sqrt{\frac{1}{5}+\frac{(4.5-4)^2}{10}}=1.9922 \end{align*}

The significance level for 95% confidence level is \alpha=1-95/100=0.05

The right tail critical value is

P(T>t_{\alpha/2})=\alpha/2=0.05/2=0.025

Uing the t tables for df=3 and the area under the right tail=0.025, we get t_{\alpha/2}=3.182

The 95% confidence interval is

\begin{align*} &\hat{y}\pm t_{\alpha/2}s_{\hat{y}}\\ \implies &103.6\pm 3.182\times 1.9922\\ \implies &[97.2607, 109.9393] \end{align*}

ans: The 95% confidene interval on the expected height of a 4.5 year old child on the street is (97.2607, 109.9393) cm

Add a comment
Know the answer?
Add Answer to:
what would Ho and Ha be for part b and how do i do part c...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT