Using R Software for Statistical Analysis: difficulty 4

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

A student fits fit <- lm(score ~ hours, data = study) on observational data from 40 students, where score is an exam mark out of 100 and hours is self-reported weekly study hours ranging from 3 to 22. The output of summary(fit) includes:

(Intercept) 52.40 Std. Error 3.05 hours 3.18 Std. Error 0.62 t value 5.13 Pr(>|t|) 8.84e-06 Multiple R-squared: 0.41

(a) Interpret the slope and the intercept in the units of the problem. (b) Compute the predicted score for a student reporting 10 hours. (c) Compute an approximate 95% confidence interval for the slope, using a critical value of 2.024. (d) State precisely what the p-value and the R-squared value do and do not establish here.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Using R Software for Statistical Analysis Questions: