Stats: Simple Linear Regression

Click For Summary

Homework Help Overview

The discussion revolves around a simple linear regression problem, specifically focusing on the relationship between the age of a bus and its maintenance cost. The original poster seeks assistance with parts (c) and (d) of the assignment after completing earlier sections.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster questions whether the simple linear regression model is correctly represented and seeks clarification on the roles of the variables involved. Some participants provide alternative formulations of the regression model and discuss the relationship between the model parameters and statistical outputs from R.

Discussion Status

Participants are actively exploring the implications of their calculations and the statistical outputs. There is a focus on understanding the relationship between the variables and the interpretation of correlation coefficients. Guidance has been offered regarding the equivalence of maximum likelihood estimates and least squares estimates.

Contextual Notes

There are references to specific parts of the homework that remain unresolved, particularly parts (c) and (d). The original poster has provided a link to an external resource, indicating a search for additional information.

Ted123
Messages
428
Reaction score
0

Homework Statement



[PLAIN]http://img822.imageshack.us/img822/4421/statsii.jpg

The Attempt at a Solution



Done parts (a) and (b). How do I do parts (c) and (d)?

Is the simple linear regression model just Y_i=\beta_0+\beta_1 X_i + \varepsilon_i where \varepsilon_i \stackrel {\text{i.i.d.}}{\sim} N(0,\sigma^2)

Does X_i respresent the age of the bus and Y_i the maintenance cost?
 
Last edited by a moderator:
Physics news on Phys.org
a simple linear regression model would be
M = b.A + c + e
where e is a normally distributed error term centred on zero
 
lanedance said:
a simple linear regression model would be
M = b.A + c + e
where e is a normally distributed error term centred on zero

In part (c) the MLEs of \beta_0 and \beta_1 are the same as the least squares estimates of the intercept and the slope (from part (b)).

I've calculated the values of a and b in the least squares regression line using the definitions. Is there any way of getting these from the R output?

The correlation coefficient in part (a) is 0.9340776458684332 (can get this from R output - square root of the 'mutiple R-squared' value) and this implies there is a strong positive linear correlation.

What can I say about whether X and Y are related in part (d)?
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
Replies
7
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
9K