Вы находитесь на странице: 1из 6

May, 2018 MATH 433/533 – Exam 3 Name HATTIE BURFORD

56 points

Use the table in question 1 to answer questions 1-5.

1. The following table shows the number of hours (x) a runner has run during each of twelve consecutive
weeks and the corresponding times in minutes (y) in which the runner ran a mile at the end of the
week:

Number of hours run (x) 13 15 12 20 19 17 18 16 14 13 11 15

Times of mile in minutes (y) 5.2 5.1 4.9 4.6 4.7 4.8 4.6 4.9 5.0 5.0 5.1 4.7

Find to four decimal places and interpret the sample correlation coefficient r.

Using Stat Crunch:

𝑹 = −𝟎. 𝟕𝟗𝟓𝟓

Therefore, there is a strong negative


correlation between the number of hours
run and the times of mile in minutes.

Find Sx, Sy, and Sxy. (10 points)

Sx: 2.8324419

Sy: .20375267

Sxy: Covariance between x (#of hrs run) and y (times of mile in min): -0.45909091

2. Consider the test of hypothesis for the true population correlation coefficient

Ho: ρ = -0.90

Ha: ρ ≠ -0.90

with α = 0.05.
a. Specify the critical region.

Using Table 2, .025 column (two-tailed test):

CR: 𝒁 ≤ −𝟏. 𝟗𝟔 𝒐𝒓 𝒁 ≥ 𝟏. 𝟗𝟔

b. Calculate the test statistic z', find the P-value, and make a decision about Ho. (12 points)

𝒏 = 𝟏𝟐
𝒓 = −. 𝟕𝟗𝟓𝟓
𝝆𝟎 = −. 𝟗

𝟏 𝟏 + 𝒓 𝟏 − 𝝆𝟎
𝒁′ = 𝒍𝒏 [ × ] √𝒏 − 𝟑
𝟐 𝟏 − 𝒓 𝟏 + 𝝆𝟎

𝟏 𝟏 + (−. 𝟕𝟗𝟓𝟓) 𝟏 − (−. 𝟗)


𝒁′ = 𝒍𝒏 [ × ] √𝟏𝟐 − 𝟑
𝟐 𝟏 − (−. 𝟕𝟗𝟓𝟓) 𝟏 + (−. 𝟗)

𝟏 . 𝟐𝟎𝟒𝟓 𝟏. 𝟗
𝒁′ = 𝒍𝒏 [ × ] √𝟏𝟐 − 𝟑
𝟐 𝟏. 𝟕𝟗𝟓𝟓 . 𝟏

𝒁′ ≈ 𝟏. 𝟏𝟓𝟕𝟗𝟓
Therefore, since our test statistic does not lie in the CR, we fail to reject Ho.

P-value: 𝐍𝐨𝐫𝐦𝐚𝐥𝐜𝐝𝐟(𝟏. 𝟏𝟓𝟕𝟗𝟓, 𝐄𝟗𝟗) =. 𝟏𝟐𝟑𝟒𝟒𝟐𝟐𝟕𝟓𝟑 ∗ 𝟐 =. 𝟐𝟒𝟔𝟖𝟖𝟒𝟓𝟓𝟎𝟔


Therefore, since our p-value is not less than alpha=.05, we fail to reject Ho.

3. a. Use data in Question 1 to find the equation of the regression line y = β^o + β^1x

Using Stat Crunch, the equation of the regression line is:

𝒚 = 𝟓. 𝟕𝟓𝟓𝟗𝟗𝟔𝟐−. 𝟎𝟓𝟕𝟐𝟐𝟑𝟕𝟗𝟔𝒙

b. Find and interpret the coefficient of determination r². (10 points)

Using Stat Crunch, the coefficient of determination 𝒓𝟐 = 𝟎. 𝟔𝟑𝟐𝟖𝟎𝟑𝟐𝟗

Therefore, about 63% of the variation in y is attributed to the regression with x.

4. a. Use the regression equation obtained in Question 3 to predict y when x = 11, 14, and 19.
𝒚 = 𝟓. 𝟕𝟓𝟓𝟗𝟗𝟔𝟐−. 𝟎𝟓𝟕𝟐𝟐𝟑𝟕𝟗𝟔(𝟏𝟏) = 𝟓. 𝟏𝟐𝟔𝟓𝟑𝟒𝟒𝟒𝟒
𝒚 = 𝟓. 𝟕𝟓𝟓𝟗𝟗𝟔𝟐−. 𝟎𝟓𝟕𝟐𝟐𝟑𝟕𝟗𝟔(𝟏𝟒) = 𝟒. 𝟗𝟓𝟒𝟖𝟔𝟑𝟎𝟓𝟔
𝒚 = 𝟓. 𝟕𝟓𝟓𝟗𝟗𝟔𝟐−. 𝟎𝟓𝟕𝟐𝟐𝟑𝟕𝟗𝟔(𝟏𝟗) = 𝟒. 𝟔𝟔𝟖𝟕𝟒𝟒𝟎𝟕𝟔
b. Use the regression equation obtained in Question 3 to find residuals when x = 19 and 16. (12 points)

𝒓𝒆𝒔𝒊𝒅𝒖𝒂𝒍 = 𝒚 (𝒂𝒄𝒕𝒖𝒂𝒍) − 𝒚 (𝒑𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅)

When x=19:

𝒓𝒆𝒔𝒊𝒅𝒖𝒂𝒍 = 𝟒. 𝟕 − 𝟒. 𝟔𝟔𝟖𝟕𝟒𝟒𝟎𝟕𝟔 =. 𝟎𝟑𝟏𝟐𝟓𝟓𝟗𝟐𝟒

When x=16

𝒚 = 𝟓. 𝟕𝟓𝟓𝟗𝟗𝟔𝟐−. 𝟎𝟓𝟕𝟐𝟐𝟑𝟕𝟗𝟔(𝟏𝟔) = 𝟒. 𝟖𝟒𝟎𝟒𝟏𝟓𝟒𝟔𝟒

𝒓𝒆𝒔𝒊𝒅𝒖𝒂𝒍 = 𝟒. 𝟗 − 𝟒. 𝟖𝟒𝟎𝟒𝟏𝟓𝟒𝟔𝟒 =. 𝟎𝟓𝟗𝟓𝟖𝟒𝟓𝟑𝟔

5. Consider the test of hypothesis for the true slope of the regression equation

Ho: β1 = 0

Ha: β1 ≠ 0

with α = 0.05.

Find the test statistic t', the P-value, and make a decision about Ho. Find a 95% CI for the slope. (12 points)

Using Stat Crunch to find t’ and the p-value:

Test Statistic: -4.1513082

P-value: .002

Therefore, since our p-value is less than α = 0.05, we Reject Ho, and conclude that our slope was
different from the claim that it was 0.

Using Stat Crunch to find the 95% CI:

CI: (-.087937623, -.026509969)

Therefore, since 0 is NOT included in our CI, we Reject Ho.


May, 2018 MATH 433/533 – Exam 3 Name HATTIE BURFORD

12 points

Use these data for following Questions.

1. The following data were collected on a simple random sample of 12 patients with hypertension:

Patient y x1 x2 x3 x4 x5 x6

1 105 41 85.4 1.75 5.1 63 38

2 115 42 94.2 2.10 3.8 70 19

3 116 44 95.3 1.98 8.2 72 15

4 117 55 94.7 2.01 5.8 73 91

5 112 50 89.4 1.89 7.0 72 90

6 121 42 99.5 2.25 9.3 71 17

7 121 47 99.8 2.25 2.5 69 46

8 110 45 90.9 1.90 6.2 66 11

9 110 43 89.2 1.83 7.1 69 73

10 114 46 92.7 2.07 5.6 64 39

11 119 49 90.1 2.11 6.0 68 47

12 122 54 95.3 2.35 7.2 73 42

x3 = body surface (m²)

y = mean arterial blood pressure (mm Hg) x4 = duration of hypertension (yrs)

x1 = age (yrs) x5 = basal pulse

x2 = weight (kg) x6 = measure of stress

Regress y against all independent variables.


Give the regression equation, t-values and associated P-values for the coefficients, F and associated P-value,
and R². (6 points)

Using Stat Crunch:

Regression Equation:

𝒚 = 𝟑𝟑. 𝟎𝟎𝟖𝟖𝟑𝟔 + 𝟎. 𝟎𝟖𝟕𝟕𝟔𝟒𝟐𝟏𝟐𝒙𝟏 + 𝟎. 𝟐𝟒𝟎𝟏𝟎𝟖𝟎𝟖𝒙𝟐 + 𝟐𝟎. 𝟕𝟏𝟑𝟏𝟐𝟕𝒙𝟑 + . 𝟏𝟕𝟒𝟎𝟎𝟕𝟔𝟓𝒙𝟒


+ 𝟎. 𝟏𝟕𝟏𝟐𝟗𝟗𝟕𝟏𝒙𝟓 + 𝟎. 𝟎𝟏𝟐𝟒𝟏𝟔𝟒𝟑𝟏𝒙𝟔

T-Values: P-Values:

x1 = .438906856 x1 = .6789

x2 = .90724208 x2 = .4059

x3 = 3.3276567 x3 = .0208

x4 = .50047992 x4 = .638

x5 = .6290431 x5 = .5569

x6 = .39268466 x6 = .7107

F-Stat (model): 14.946304

P-Value (model): .0047

𝑹𝟐 =. 𝟗𝟒𝟕𝟐

𝑹𝟐 (𝒂𝒅𝒋. ) =. 𝟖𝟖𝟑𝟖

2. Select from the four independent variables x1, x2, x3, and x6 the two independent variables that produce
the highest R².

Variables x1,x2: Variables x2,x3:


R-squared is .814 R-squared is .9003
R-squared (adjusted) is .7727 R-squared (adjusted) is .8782

Variables x1,x3:
R-squared is .9039 Variables x2,x6:
R-squared (adjusted) is .8825 R-squared is .7221
R-squared (adjusted) is .6604
Variables x1,x6:
R-squared is .407 **Variables x3, x6 have the highest R-squared:
R-squared (adjusted) is .2752 R-squared is .9061
R-squared (adjusted) is .8853
For the two variables selected, give the regression equation, t-values and associated P-values for the
coefficients, F’ and associated P-value, and R². (6 points)

For x3 and x6

Regression equation: y = 56.868911 + 27.95764 x3 + 0.028201628 x6

T-Values:

x3: 9.280762

x6: 1.4241872

P-Values:

x3: less than .0001

x6: .1881

F-Stat (model): 43.431448

P-Value: less than .0001

R-squared: .9061

R-squared (adj.): .8853

Вам также может понравиться