0% found this document useful (0 votes)
51 views

Tutorial 13 - R Output PDF

The R output shows the results of two linear regression models. The first models Score as a function of Price using data from the plasma dataset. It finds that Price has a statistically significant positive relationship with Score. The second models Price as a function of Weight using data from the helmet dataset. It finds that Weight has a statistically significant negative relationship with Price. Both models report multiple R-squared and F-statistic values.

Uploaded by

Nguyen Hai Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Tutorial 13 - R Output PDF

The R output shows the results of two linear regression models. The first models Score as a function of Price using data from the plasma dataset. It finds that Price has a statistically significant positive relationship with Score. The second models Price as a function of Weight using data from the helmet dataset. It finds that Weight has a statistically significant negative relationship with Price. Both models report multiple R-squared and F-statistic values.

Uploaded by

Nguyen Hai Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

14.20 a,b. Answer the questions using the following R output. 14.

14.44 Solve this problem using the following R output.

Call:

lm(formula = Score ~ Price, data = plasma)

Residuals:

Min 1Q Median 3Q Max

-11.108 -5.417 0.836 4.468 14.431

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 12.01749 14.90958 0.806 0.4435

Price 0.01270 0.00496 2.560 0.0337 *

---
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 .
0.1 1

Residual standard error: 8.216 on 8 degrees of freedom

Multiple R-squared: 0.4503, Adjusted R-squared:


0.3816

F-statistic: 6.553 on 1 and 8 DF, p-value: 0.03365


Call:

lm(formula = Price ~ Weight, data = helmet)

Residuals:
Min 1Q Median 3Q Max

-101.09 -76.33 -10.14 40.56 244.76

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 2044.381 226.354 9.032 1.11e-07 ***

Weight -28.350 3.826 -7.410 1.48e-06 ***

---

Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 .


0.1 1

Residual standard error: 91.81 on 16 degrees of freedom


Multiple R-squared: 0.7743, Adjusted R-squared:
0.7602

F-statistic: 54.9 on 1 and 16 DF, p-value: 1.478e-06

You might also like