Results 1 to 2 of 2

Math Help - Lack-of-Fit Test

  1. #1
    Newbie
    Joined
    Dec 2009
    Posts
    1

    Question Lack-of-Fit Test

    Any one know why there is no lack of fit (null hypothesis is simple linear regression is correct) when you have a sinewave ramping upward? There is lack of fit when you have a wave ramping upward. Thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member
    Joined
    Oct 2009
    Posts
    340
    If this is the LOF Test that involves partitioning SS(Residual) into SS(Lack of Fit) and SS(Pure Error), you can use that one to test for a lack-of-fit for any kind of model, it's just somewhat unusual to get enough reps at the same levels to make the test very effective when you have multiple predictors. If the model is, say

    Y_i = \beta_0 + \beta_1 X + \beta_2 \mbox{sin} (2 \pi X) + \epsilon_i<br />

    or something like that (I'm a little rusty on sinusoidal models, I know they usually have some other stuff going on) you could do a standard LOF test by partitioning SS(Residual) (or SSE/SS(Error)/whatever you want to feel like calling it). If we have C distinct levels of X and N total observations, we would have C - 3 degrees of freedom on SS(Lack of Fit), and N - C degrees of freedom on on SS(Pure Error), the intuition being that when you are looking at the deviations of the individual points from their local means, you have N points and must estimate C distinct means, and when looking at the deviations of the means from the predicted values, you have C means but must estimate, in this particular case, three parameters (the Betas).
    Last edited by theodds; December 18th 2009 at 12:03 AM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. UK maths postdocs (and lack thereof)
    Posted in the Math Forum
    Replies: 3
    Last Post: September 30th 2011, 05:45 AM
  2. lack of uniform convergence
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: September 1st 2011, 11:52 AM
  3. Simple DE....but lack of practice.
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: August 28th 2010, 07:33 AM
  4. Replies: 14
    Last Post: February 27th 2010, 03:53 PM

Search Tags


/mathhelpforum @mathhelpforum