R/BSDA-package.R
Nfldraf2.Rd
Data for Exercise 9.63
Nfldraf2
A data frame/tibble with 47 observations on three variables
rating of each player on a scale out of 10
forty yard dash time (in seconds)
weight of each player (in pounds)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(rating ~ forty, data = Nfldraf2)
summary(lm(rating ~ forty, data = Nfldraf2))
#>
#> Call:
#> lm(formula = rating ~ forty, data = Nfldraf2)
#>
#> Residuals:
#> Min 1Q Median 3Q Max
#> -1.0476 -0.5691 -0.2625 0.5055 2.0457
#>
#> Coefficients:
#> Estimate Std. Error t value Pr(>|t|)
#> (Intercept) 9.5141 4.1838 2.274 0.0278 *
#> forty -0.7118 0.8472 -0.840 0.4052
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> Residual standard error: 0.766 on 45 degrees of freedom
#> Multiple R-squared: 0.01545, Adjusted R-squared: -0.006432
#> F-statistic: 0.706 on 1 and 45 DF, p-value: 0.4052
#>