Question

In: Math

this question, but calculate the 90% confidence interval for the coefficient for cable by hand (but...

this question, but calculate the 90% confidence interval for the coefficient for cable by hand (but use the SE from the software output) and do the test whether age and number of TVs should be dropped by hand (use ANVOA table to get p-value and confirm with software).

The data in the table below contains observations on age, sex (male = 0, female = 1), number of television sets in the household, cable (no = 0, yes = 1), and number of hours of television watched per week. Using hours of television watched per week as the response, you can use Minitab's Regress or R's lm() command [e.g., model <- lm(hours~age+sex+num.tv+cable)] to fit a least squares regression model to all the other given variables.

Age: 22,22,50,43,54,24,15,23,34,18,58,19,26,15,21,30,37,44,29,27,30,17,15,21,47,26,13,39,22,20,14,47,21,38,23,32,19,15,21,18
Sex: 0,0,1,1,0,1,0,1,1,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,1,1,0,0,1,1,1,0,1,0
Num. TV: 2,2,1,1,1,1,2,1,1,1,2,1,1,1,1,2,2,2,1,1,2,1,2,1,1,1,2,2,1,1,1,1,1,1,2,1,2,1,1,2
Cable: 1,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,0,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0,0,1,0,0,1
Hours TV: 28,16,18,20,25,14,21,7,12,14,15,12,10,11,12,18,17,20,21,15,17,18,13,21,23,11,10,21,13,12,10,19,12,21,8,16,13,9,11,21

What is the estimated value of the regression coefficient for age?  [2 pt(s)]

Tries 0/3

What is the estimated value of the regression coefficient for cable?  [2 pt(s)]

Tries 0/3

According to the regression equation, which of the following statements is true?
Females watch television 3.577 hours more per week than males.
Males watch television 3.577 hours more per week than females.
From the data given, one can not tell which gender watches more television per week.
Females watch television approximately the same number of hours per week as males.
[2 pt(s)]

Tries 0/1

What is the value of the test-statistic for the overall regression significance test?  [3 pt(s)]

Tries 0/3

What are the degrees of freedom associated with the test-statistic? Numerator:  Denominator:  [1 pt(s)]

Tries 0/3

Select the interval below that contains the p-value for this test.
p-value ≤ 0.001
0.001 < p-value ≤ 0.01
0.01 < p-value ≤ 0.05
0.05 < p-value ≤ 0.1
0.1 < p-value ≤ 0.25
p-value > 0.25
[3 pt(s)]

Tries 0/3

Compute a 90% confidence interval for the coefficient for cable. Lower Bound:  Upper Bound:  [3 pt(s)]

Tries 0/3

Compute a 95% confidence interval for the mean number of hours watched by 18-year old females with cable and 2 TV sets. Lower Bound:  Upper Bound: [3 pt(s)]

Tries 0/3

Compute a 95% prediction interval for the mean number of hours watched by 18-year old females with cable and 2 TV sets. Lower Bound:  Upper Bound: [3 pt(s)]

Tries 0/3

Test whether age and number of TV sets are needed in the model or should be dropped. What is the value of the test-statistic?  [3 pt(s)]

Tries 0/3

What are the degrees of freedom associated with this test? Numerator:  Denominator:  [1 pt(s)]

Tries 0/3

Select the interval below that contains the p-value for this test.
p-value ≤ 0.001
0.001 < p-value ≤ 0.01
0.01 < p-value ≤ 0.05
0.05 < p-value ≤ 0.1
0.1 < p-value ≤ 0.25
p-value > 0.25
[3 pt(s)]

Tries 0/3

Solutions

Expert Solution

The estimated value of the regression coefficient for age=0.1000

The estimated value of the regression coefficient for cable=4.1985

Males watch television 3.577 hours more per week than females.

(Since the estimated value of the regression coefficient for sex=-3.577)

the test-statistic for the overall regression significance test=12.62

The degrees of freedom associated with the test-statistic:4 and 35 DF (Numerator=4, Denominator=35)

Select the interval below that contains the p-value for this test.
p-value ≤ 0.001
90% confidence interval for the coefficient for cable :

(4.19849-t0.05,35x1.21864, 4.19849+t0.05,35x1.21864)=(2.1395, 6.2575)

where t0.05,35=1.6896

95% confidence interval for the mean number of hours watched by 18-year old females with cable and 2 TV sets.

Lower Bound:  12.93179

Upper Bound: 18.67932

95% prediction interval for the mean number of hours watched by 18-year old females with cable and 2 TV sets.

Lower Bound:  8.396038

Upper Bound: 23.21507

R code:

age=c(22,22,50,43,54,24,15,23,34,18,58,19,26,15,21,30,37,44,29,27,30,17,15,21,47,26,13,39,22,20,14,47,21,38,23,32,19,15,21,18)
sex=c(0,0,1,1,0,1,0,1,1,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,0,1,1,0,1,1,1,1,0,0,1,1,1,0,1,0)
num.tv=c(2,2,1,1,1,1,2,1,1,1,2,1,1,1,1,2,2,2,1,1,2,1,2,1,1,1,2,2,1,1,1,1,1,1,2,1,2,1,1,2)
cable=c(1,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,0,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0,0,1,0,0,1)
hours=c(28,16,18,20,25,14,21,7,12,14,15,12,10,11,12,18,17,20,21,15,17,18,13,21,23,11,10,21,13,12,10,19,12,21,8,16,13,9,11,21)
model <- lm(hours~age+sex+num.tv+cable)
summary(model)
newdata = data.frame(age=18,sex=1,num.tv=2,cable=1)
predict(model, newdata , interval="confidence", level=.95)
predict(model, newdata , interval="predict", level=.95)


Related Solutions

Calculate the 99%, 95%, and 90% confidence interval for the following information. Identify how these confidence...
Calculate the 99%, 95%, and 90% confidence interval for the following information. Identify how these confidence intervals are similar and how they are different. Explain why. (70 points) x̄ = 55 s = 15 n = 101 The 99% Confidence Interval: The 95% Confidence Interval: The 90% Confidence Interval: Similarities: Differences: Why?
Calculate the 90% confidence interval for the proportion of voters who cast their ballot for the...
Calculate the 90% confidence interval for the proportion of voters who cast their ballot for the candidate. Number of votes: 125 Voter Response   Dummy Variable For   1 Against   0 Against   0 For   1 For   1 Against   0 Against   0 Against   0 Against   0 For   1 Against   0 Against   0 Against   0 For   1 Against   0 Against   0 For   1 Against   0 Against   0 For   1 For   1 Against   0 Against   0 For   1 For   1 Against   0 Against   0 Against  ...
If you wanted to calculate a 90% confidence interval for the difference in average number of...
If you wanted to calculate a 90% confidence interval for the difference in average number of friendship contacts between primary aged boys and girls and we are pretending that df=12, what t scores would you use? (assuming equal variances again) A. ☐+/- 1.356 B. ☐+/- 2.681 C. ☐+/- 1.782 D. ☐+/- 2.179 E. ☐+/- 3.055 9. Suppose you calculated your 90% interval as described above and your lower confidence limit was –2.75 and your upper confidence limit was 3.20. What...
For the following PAIRED OBSERVATIONS, calculate the 90% confidence interval for the population mean mu_d: A...
For the following PAIRED OBSERVATIONS, calculate the 90% confidence interval for the population mean mu_d: A = {12.16, 15.65, 12.58, 12.75}, B = {6.02, 8.95, 5.70, 6.22}.
Please calculate the 90% Confidence Interval for the population slope in the following scenario. Suppose that...
Please calculate the 90% Confidence Interval for the population slope in the following scenario. Suppose that you collected data to determine the relationship between the amount of time a person spends online as an independent variable and the amount of money a person spends online as the dependent variable. Use the following data for questions 6, 7, 8, 9, & 10. The regression equation is = 24 + 10.1x, where x represents the number of hours a person spends online...
Assume in Question 1 that the 90% confidence interval is .33<.42<.51. Interpret this interval. Explain why...
Assume in Question 1 that the 90% confidence interval is .33<.42<.51. Interpret this interval. Explain why a confidence interval should always accompany a point estimate.   Describe how changes in sample size change the size of confidence intervals? Describe how a 95% and an 85% confidence interval affects the width of the above 90% interval.
If n = 300 and X = 90, construct a 90% confidence interval estimate of the...
If n = 300 and X = 90, construct a 90% confidence interval estimate of the population proportion. (answer) < pie < (answer) Note: the "< " listed above are suppos to be underlined.  
A)In our sample of 204 students, 27 have September birthdays. Calculate a 90% confidence interval for...
A)In our sample of 204 students, 27 have September birthdays. Calculate a 90% confidence interval for the proportion of 332 students that have a September birthday. B) Interpret the interval from part b. C) If the birth months are equally likely (ignoring the difference in the number of days), what proportion of births would be in September? D) For various reasons, September is considered to be the most common birth month. Using your confidence interval from part A and response...
Calculate a 90% confidence interval estimate for time (minutes) it takes to fill out form 4...
Calculate a 90% confidence interval estimate for time (minutes) it takes to fill out form 4 by all people. Interpret your result. g) Assuming 102 minutes for population mean time for filling all forms and a standard deviation of 8 minutes. Design, conducts and conclude a hypothesis test that shows the mean time of filling form 1 differs from population mean. Interpret your result using both p-value and critical value approach. Alpha=0.05 h) Suppose, IRS is interested in the difference...
f) Calculate a 90% confidence interval estimate of applying fertilizer B data for crop yield in...
f) Calculate a 90% confidence interval estimate of applying fertilizer B data for crop yield in all plots of lands and interpret your results. g) Assuming population mean of crop yield is 570 bushels for all fertilizers with standard deviation of 40 bushels for all. Formulate a test hypothesis that crop yield by applying fertilizer C differs from the population crop yield for all fertilizers. Conduct the hypothesis test, conclude your analysis and explain your answer. Use both critical value...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT