You are on page 1of 4

Universidad Industrial de Santander

Facultad de Ingenierías Físico Mecánicas


Escuela de Ingeniería de Sistemas e Informática
Profesor: Andrés Leonardo González Gómez, MSc.

Prueba de hipótesis en la regresión lineal simple


Estadística 2: Actividad en clase N◦ 9

To solve the exercises 1 and 2 keep in mind this equations:


n 2 n
( ni=1 xi )
P Pn Pn
i=1 xi i=1 yi
X X
2
Sxx = xi − , Sxy = xi yi − ,
i=1
n i=1
n

Sxy
β1 = ,
Sxx
n 2
( ni=1 yi )
X P
SST = yi2 − , SSE = SST − β1 Sxy ,
i=1
n
SSE
σ2 = .
n−2
1. Diabetes and obesity are serious health concerns in the United States and much
of the developed world. Measuring the amount of body fat a person carries is one
way to monitor weight control progress, but measuring it accurately involves either
expensive X-ray equipment or a pool in which to dunk the subject. Instead body mass
index (BMI) is often used as a proxy for body fat because it is easy to measure: BMI
= mass (kg)/(height (m))2 = 703 mass(lb)/(height(in))2. In a study of 250 men
at Bingham Young University, both BMI and body fat were measured. Researchers
found the following summary statistics:

(a) Estimate the variance,


(b) Estimate the standard deviation of the slope,
(c) What is the value of the t-statistic for the slope?
Estadística 2 Actividad en Clase N◦ 9

(d) Test the hypothesis that β1 = 0 at α = 0.05. What is the P-value for this test?

2. On average, do people gain weight as they age? Using data from the same study as
in Exercise 1, we provide some summary statistics for both age and weight.

(a) Estimate the variance,


(b) Estimate the standard deviation of the slope,
(c) What is the value of the t-statistic for the slope?
(d) Test the hypothesis that β1 = 0 at α = 0.05. What is the P-value for this test?

3. See Table E11-1 for data on the ratings of quarterbacks for the 2008 National Football
League season (The Sports Network). It is suspected that the rating (y) is related to
the average number of yards gained per pass attempt (x).

2
Estadística 2 Actividad en Clase N◦ 9

(a) Test for significance of regression using α = 0.01. Find the P-value for this
test. What conclusions can you draw?. Graph the regression model.
(b) Estimate the standard errors of the slope and intercept.
(c) Test H0 : β1 = 10 versus H1 : β1 6= 10 with α = 0.01. Find the P-value for this
test. What conclusions can you draw?.

4. An article in Technometrics by S. C. Narula and J. F. Wellington [“Prediction, Lin-


ear Regression, and a Minimum Sum of Relative Errors” (1977, Vol. 19)] presents
data on the selling price and annual taxes for 24 houses. The data are in the Table
E11-2. Consider the data from the Table y = salesprice and x = taxespaid.

3
Estadística 2 Actividad en Clase N◦ 9

(a) Test H0 : β1 = 0 using α = 0.05. Find the P-value for this test. Graph the
regression model.
(b) Estimate the standard errors of the slope and intercept.
(c) Test the hypothesis that β0 = 0.

5. The number of pounds of steam used per month by a chemical plant is thought to be
related to the average ambient temperature (in ◦ F ) for that month. The past year’s
usage and temperatures are in the following table:

Consider the data from the table on y = steam usage and x = average temperature.

(a) Test for significance of regression using α = 0.01. What is the P-value for this
test? State the conclusions that result from this test.
(b) Estimate the standard errors of the slope and intercept.
(c) Test the hypothesis H0 : β1 = 10 versus H1 : β1 6= 10 using α = 0.01. Find the
P-value for this test.
(d) Test the hypothesis H0 : β1 = 10 versus H1 : β1 6= 10 using α = 0.01. Find the
P-value for this test.

You might also like