Question

In: Statistics and Probability

You may need to use the appropriate technology to answer this question. Consider the following data...

You may need to use the appropriate technology to answer this question.

Consider the following data for a dependent variable y and two independent variables,

x1

and

x2.

x1

x2

y
30 12 93
47 10 108
25 17 112
51 16 178
40 5 94
51 19 175
74 7 170
36 12 117
59 13 142
76 16 212

The estimated regression equation for these data is

ŷ = −19.56 + 2.03x1 + 4.76x2.

Here, SST = 15,418.9, SSR = 14,275.9,

sb1 = 0.2485,

and

sb2 = 0.9536.

(a)

Test for a significant relationship among

x1, x2, and y.

Use α = 0.05.

State the null and alternative hypotheses.

H0: β1 ≠ 0 and β2 ≠ 0
Ha: One or more of the parameters is equal to zero.H0: β1 = β2 = 0
Ha: One or more of the parameters is not equal to zero.     H0: β1 ≠ 0 and β2 = 0
Ha: β1 = 0 and β2 ≠ 0H0: β1 > β2
Ha: β1β2H0: β1 < β2
Ha: β1β2

Find the value of the test statistic. (Round your answer to two decimal places.)

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Do not reject H0. There is insufficient evidence to conclude that there is a significant relationship among the variables.Do not reject H0. There is sufficient evidence to conclude that there is a significant relationship among the variables.     Reject H0. There is sufficient evidence to conclude that there is a significant relationship among the variables.Reject H0. There is insufficient evidence to conclude that there is a significant relationship among the variables.

(b)

Is

β1

significant? Use α = 0.05.

State the null and alternative hypotheses.

H0: β1 ≠ 0
Ha: β1 = 0H0: β1 > 0
Ha: β1 ≤ 0     H0: β1 = 0
Ha: β1 > 0H0: β1 < 0
Ha: β1 ≥ 0H0: β1 = 0
Ha: β1 ≠ 0

Find the value of the test statistic. (Round your answer to two decimal places.)

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Reject H0. There is insufficient evidence to conclude that β1 is significant.Do not reject H0. There is sufficient evidence to conclude that β1 is significant.     Reject H0. There is sufficient evidence to conclude that β1 is significant.Do not reject H0. There is insufficient evidence to conclude that β1 is significant.

(c)

Is

β2

significant? Use α = 0.05.

State the null and alternative hypotheses.

H0: β2 = 0
Ha: β2 > 0H0: β2 = 0
Ha: β2 ≠ 0     H0: β2 > 0
Ha: β2 ≤ 0H0: β2 ≠ 0
Ha: β2 = 0H0: β2 < 0
Ha: β2 ≥ 0

Find the value of the test statistic. (Round your answer to two decimal places.)

Find the p-value. (Round your answer to three decimal places.)

p-value =

State your conclusion.

Reject H0. There is sufficient evidence to conclude that β2 is significant.Do not reject H0. There is sufficient evidence to conclude that β2 is significant.     Do not reject H0. There is insufficient evidence to conclude that β2 is significant.Reject H0. There is insufficient evidence to conclude that β2 is significant.

Solutions

Expert Solution

Solution:

Performmultiple regression In Rstudio:

Use lm function in R to fit Y on x1 and x2

coeffcients function to get the coeffcients

Summary function to get t,p values

Rcode:

df1 =read.table(header = TRUE, text ="
x1 x2 y
30   12   93
47   10   108
25   17   112
51   16   178
40   5   94
51   19   175
74   7   170
36   12   117
59   13   142
76   16   212
"
)
df1
linreg=lm(y~x1+x2 ,data=df1)
coefficients(linreg)
summary(linreg)

Output:

> coefficients(linreg)
(Intercept) x1 x2
-19.562591 2.027889 4.763688
> summary(linreg)

Call:
lm(formula = y ~ x1 + x2, data = df1)

Residuals:
Min 1Q Median 3Q Max
-20.0108 -4.1081 0.9271 6.3340 17.9213

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -19.5626 18.0685 -1.083 0.31483
x1 2.0279 0.2485 8.162 8.02e-05 ***
x2 4.7637 0.9536 4.996 0.00157 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 12.78 on 7 degrees of freedom
Multiple R-squared: 0.9259,   Adjusted R-squared: 0.9047
F-statistic: 43.71 on 2 and 7 DF, p-value: 0.0001109

ANSWER(A)

H0: β1 = β2 = 0
Ha: One or more of the parameters is not equal to zero.

F=43.71

p-value: 0.000

p<0.05,Reject Ho

Reject H0. There is sufficient evidence to conclude that there is a significant relationship among the variables.R

ANSWER(B)

H0: β1 = 0
Ha: β1 ≠ 0

t=8.16

p=0.000

p<0.05

Reject Ho

Reject H0. There is sufficient evidence to conclude that β1 is significant.

ANSWER(C)

H0: β2 = 0
Ha: β2 ≠ 0

value of the test statistic=T=5.00

p- value= 0.002

Reject H0. There is sufficient evidence to conclude that β2 is significant


Related Solutions

You may need to use the appropriate technology to answer this question. Consider the following data...
You may need to use the appropriate technology to answer this question. Consider the following data on price ($) and the overall score for six stereo headphones tested by a certain magazine. The overall score is based on sound quality and effectiveness of ambient noise reduction. Scores range from 0 (lowest) to 100 (highest). Brand Price ($) Score A 180 74 B 150 71 C 95 59 D 70 56 E 70 40 F 35 24 (a) The estimated regression...
you may need to use the appropriate technology to answer this question. Consider the following data...
you may need to use the appropriate technology to answer this question. Consider the following data on price ($) and the overall score for six stereo headphones tested by a certain magazine. The overall score is based on sound quality and effectiveness of ambient noise reduction. Scores range from 0 (lowest) to 100 (highest). Brand Price ($) Score A 180 74 B 150 73 C 95 61 D 70 58 E 70 42 F 35 28 (a) The estimated regression...
You may need to use the appropriate technology to answer this question. Consider the following data...
You may need to use the appropriate technology to answer this question. Consider the following data for a dependent variable y and two independent variables, x1 and x2. x1 x2 y 30 12 93 47 10 108 25 17 112 51 16 178 40 5 94 51 19 175 74 7 170 36 12 117 59 13 142 76 16 210 The estimated regression equation for these data is ŷ = −18.21 + 2.01x1 + 4.72x2. Here, SST = 15,134.9,...
You may need to use the appropriate technology to answer this question. Consider the data. xi...
You may need to use the appropriate technology to answer this question. Consider the data. xi 2 6 9 13 20 yi 8 20 11 26 21 (a) What is the value of the standard error of the estimate? (Round your answer to three decimal places.) (b) Test for a significant relationship by using the t test. Use α = 0.05. State the null and alternative hypotheses. H0: β1 ≠ 0 Ha: β1 = 0 H0: β0 = 0 Ha:...
You may need to use the appropriate technology to answer this question. The following data are...
You may need to use the appropriate technology to answer this question. The following data are from a completely randomized design. Treatment A B C 161 143 126 143 157 121 164 125 137 144 141 139 149 137 151 169 143 124 Sample mean 155 141 133 Sample variance 122.8 107.2 130.0 (a) Compute the sum of squares between treatments. (b) Compute the mean square between treatments. (c) Compute the sum of squares due to error. (d) Compute the...
You may need to use the appropriate technology to answer this question. Consider the experimental results...
You may need to use the appropriate technology to answer this question. Consider the experimental results for the following randomized block design. Make the calculations necessary to set up the analysis of variance table. Treatments A B C Blocks 1 10 9 8 2 12 6 4 3 18 15 14 4 20 18 18 5 8 7 8 Use α = 0.05 to test for any significant differences. State the null and alternative hypotheses. H0: μA = μB =...
You may need to use the appropriate appendix table or technology to answer this question. Consider...
You may need to use the appropriate appendix table or technology to answer this question. Consider the following hypothesis test. H0: μ ≥ 20 Ha: μ < 20 A sample of 50 provided a sample mean of 19.1. The population standard deviation is 2. (a) Find the value of the test statistic. (Round your answer to two decimal places.) (b) Find the p-value. (Round your answer to four decimal places.) p-value = (c) Using α = 0.05, state your conclusion....
You may need to use the appropriate technology to answer this question. Consider the experimental results...
You may need to use the appropriate technology to answer this question. Consider the experimental results for the following randomized block design. Make the calculations necessary to set up the analysis of variance table. Treatments A B C Blocks 1 10 9 8 2 12 6 5 3 18 16 14 4 20 18 18 5 8 7 8 Use α = 0.05 to test for any significant differences. State the null and alternative hypotheses. H0: μA ≠ μB ≠...
You may need to use the appropriate appendix table or technology to answer this question. Consider...
You may need to use the appropriate appendix table or technology to answer this question. Consider the following hypothesis test. H0: μ ≤ 50 Ha: μ > 50 A sample of 60 is used and the population standard deviation is 8. Use the critical value approach to state your conclusion for each of the following sample results. Use α = 0.05. (Round your answers to two decimal places.) (a) x = 52.4 Find the value of the test statistic. State...
You may need to use the appropriate appendix table or technology to answer this question. Consider...
You may need to use the appropriate appendix table or technology to answer this question. Consider a binomial experiment with n = 10 and p = 0.10. (a) Compute f(0). (Round your answer to four decimal places.) f(0) = (b) Compute f(2). (Round your answer to four decimal places.) f(2) = (c) Compute P(x ≤ 2). (Round your answer to four decimal places.) P(x ≤ 2) = (d) Compute P(x ≥ 1). (Round your answer to four decimal places.) P(x...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT