cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Ella
Level III

Very High R square and significant lack of fit problem

Hi,

I made custom design for 7 factors with a model containing main effects, interractions and 2 order powers. Number of sample size is 150. I see that 3 of factors are important and made model for these 3 variables.

However i faced with significant lack of fit problem and 0.99 R^2 value.

I searched a lot about the reasons of this situation but i could not find a clear answer.

Do you have an idea about it, what causes this problem?   

Kind regards.

 

11 REPLIES 11
modelFit
Level II

Re: Very High R square and significant lack of fit problem

@Ella It seems to me that you have unmodeled mean structure remaining in the residuals. By the looks of it you fit f(X) = a + bX + e and by observation, the model f(X) = a + b1X + b2X^2 + e may provide a better fit? What do you residual look like if you run the latter model?

statman
Super User

Re: Very High R square and significant lack of fit problem

Just to re-iterate, R-square by itself must be interpreted carefully.  R-square will always increase as you add DF's to the model.  But the point of creating a model is to include only the useful terms (active and significant).  So you should look at the delta between the R-square and the R-square adjusted.  As the delta increases, it is an indicator your model is over specified.

Looking at your residuals, there is an indication of a non-linear effect.  Your model should consider perhaps adding a quadratic effect as suggested by @modelFit 

"All models are wrong, some are useful" G.E.P. Box

Recommended Articles