+ Reply to Thread
Results 1 to 5 of 5

Thread: Correcting lack of fit

  1. #1
    Points: 17, Level: 1
    Level completed: 33%, Points required for next Level: 33

    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Correcting lack of fit



    I have a very simple data set with a single regressor that has all negative values. The data set provides no context, only values.

    When testing the linear regression model for lack of fit in SAS, the F-value is over 500 and p-value is <.0001. I am using an alpha of .05.

    What would be the best way to proceed when faced with this kind of situation?

  2. #2
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: Correcting lack of fit

    Have you examined the residuals and/or the scatterplot? Can you identify any potential sources of lack of fit? Can you see a higher order polynomial that might provide a better fit? How large is your sample size?
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  3. The Following User Says Thank You to Dason For This Useful Post:

    zicke01 (10-21-2012)

  4. #3
    Points: 17, Level: 1
    Level completed: 33%, Points required for next Level: 33

    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Correcting lack of fit

    Quote Originally Posted by Dason View Post
    Have you examined the residuals and/or the scatterplot?
    The residuals appear quadratic and the scatter plot has oscillation.

    Can you identify any potential sources of lack of fit?
    Other than it appearing to be a non-linear relationship, no.

    Can you see a higher order polynomial that might provide a better fit?
    It appears as though a quadratic model or sine function might fit, but I'm not sure how I'd proceed with this.

    How large is your sample size?
    The sample size is 82.

    By the way, I'm mainly posting here to double check my original conclusion that the linear model is worthless and that there is no reason to test for the assumptions since we need to develop a better model.

  5. #4
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: Correcting lack of fit

    Well I wouldn't call it 'worthless' but if you see a clear quadratic trend then by all means don't go checking the assumptions for the model you fit and instead fit a quadratic model.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  6. The Following User Says Thank You to Dason For This Useful Post:

    zicke01 (10-21-2012)

  7. #5
    Points: 17, Level: 1
    Level completed: 33%, Points required for next Level: 33

    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Correcting lack of fit


    Quote Originally Posted by Dason View Post
    Well I wouldn't call it 'worthless' but if you see a clear quadratic trend then by all means don't go checking the assumptions for the model you fit and instead fit a quadratic model.
    The problem is that this is an exam question that is then followed up with checking the assumptions and the construction of confidence intervals for the model.

    I'm trying to convince myself that I'm better off explaining how the model isn't worth checking and that some transformation is necessary because that shows a better grasp of the material than just mindlessly testing a poor model, but that would essentially leave the question "unanswered" as far as demonstrating the tests for assumptions and confidence intervals go.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats