cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-7438%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EFit%20Model%3A%20Square%20Transformation%20vs%202nd%20Order%20Polynomial%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7438%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%3EI%20am%20using%20the%20Fit%20Model%20platform%20in%20JMP%20to%20create%20a%20simple%20standard%20least%20squares%20fit%20with%20one%20model%20effect.%26nbsp%3B%20I%20noticed%20that%20using%20the%20square%20transformation%20on%20the%20effect%20gives%20a%20different%20fit%20than%20using%20the%202nd%20order%20polynomial%20of%20that%20effect%20(after%20removing%20the%20first%20order%20term%20to%20leave%20only%20the%202nd%20order%20term).%26nbsp%3B%20JMP%20gives%20a%20warning%20about%20leaving%20the%201st%20order%20term%20out%20of%20the%20model%2C%20but%20I%20continued%20with%20the%20analysis%20which%20gives%20a%20significantly%20different%20result.%26nbsp%3B%20What%20is%20the%20difference%20in%20the%20two%20approaches%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7441%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Fit%20Model%3A%20Square%20Transformation%20vs%202nd%20Order%20Polynomial%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7441%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIf%20you%20search%20the%20help%20index%20for%20%22Center%20Polynomials%22%20you%20will%20find%20this%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20class%3D%22body%22%3E%3CA%20name%3D%22315335%22%20target%3D%22_blank%22%3E%3C%2FA%3ECauses%20any%20continuous%20term%20involved%20in%20an%20effect%20with%20degree%20greater%20than%20one%20to%20be%20centered%20by%20its%20mean.%20This%20option%20is%20checked%20by%20default%2C%20except%20when%20a%20term%20involved%20in%20the%20effect%20is%20assigned%20the%20Mixture%20Effect%20attribute%20or%20has%20the%20Mixture%20column%20property.%20Terms%20with%20the%20Coding%20column%20property%20are%20centered%20midway%20between%20their%20specified%20High%20and%20Low%20values.%3C%2FP%3E%3CP%20class%3D%22body%22%3E%3CA%20name%3D%22315336%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3CSTRONG%3ECentering%20is%20useful%20is%20making%20regression%20coefficients%20more%20interpretable%20and%20in%20reducing%20collinearity%20between%20model%20effects%3C%2FSTRONG%3E.%20(my%20emphasis)%3C%2FP%3E%3CP%20class%3D%22body%22%3E%3C%2FP%3E%3CP%20class%3D%22body%22%3EIf%20you%20search%20Google%20for%20%22Center%20Variables%22%20you%20can%20find%20additional%20discussion%20on%20this%20topic.%3C%2FP%3E%3CP%20class%3D%22body%22%3E%3C%2FP%3E%3CP%20class%3D%22body%22%3EMichael%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7440%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Fit%20Model%3A%20Square%20Transformation%20vs%202nd%20Order%20Polynomial%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7440%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EI%20like%20your%20answer%2C%20but%20I%20have%20wondered%3A%26nbsp%3B%20WHY%20center%20the%20polynomials%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-7439%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Fit%20Model%3A%20Square%20Transformation%20vs%202nd%20Order%20Polynomial%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-7439%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIn%20the%20model%20dialog%20for%20the%202nd%20degree%20polynomial%20with%20the%20linear%20term%20removed%2C%20click%20the%20red%20triangle%20next%20to%20Model%20Specification%20and%20uncheck%20%22Center%20Polynomials%22.%20Then%20your%20results%20will%20agree%20with%20the%20other%20model%20you%20made.%20The%20model%20predictions%20will%20be%20the%20same%20whether%20centered%20or%20not.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EMichael%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
kcros
Level I

Fit Model: Square Transformation vs 2nd Order Polynomial

I am using the Fit Model platform in JMP to create a simple standard least squares fit with one model effect.  I noticed that using the square transformation on the effect gives a different fit than using the 2nd order polynomial of that effect (after removing the first order term to leave only the 2nd order term).  JMP gives a warning about leaving the 1st order term out of the model, but I continued with the analysis which gives a significantly different result.  What is the difference in the two approaches?

1 ACCEPTED SOLUTION

Accepted Solutions
mpb
mpb
Level VII

Re: Fit Model: Square Transformation vs 2nd Order Polynomial

In the model dialog for the 2nd degree polynomial with the linear term removed, click the red triangle next to Model Specification and uncheck "Center Polynomials". Then your results will agree with the other model you made. The model predictions will be the same whether centered or not.

Michael

View solution in original post

3 REPLIES 3
mpb
mpb
Level VII

Re: Fit Model: Square Transformation vs 2nd Order Polynomial

In the model dialog for the 2nd degree polynomial with the linear term removed, click the red triangle next to Model Specification and uncheck "Center Polynomials". Then your results will agree with the other model you made. The model predictions will be the same whether centered or not.

Michael

Steven_Moore
Level VI

Re: Fit Model: Square Transformation vs 2nd Order Polynomial

I like your answer, but I have wondered:  WHY center the polynomials?

Steve
mpb
mpb
Level VII

Re: Fit Model: Square Transformation vs 2nd Order Polynomial

If you search the help index for "Center Polynomials" you will find this:

Causes any continuous term involved in an effect with degree greater than one to be centered by its mean. This option is checked by default, except when a term involved in the effect is assigned the Mixture Effect attribute or has the Mixture column property. Terms with the Coding column property are centered midway between their specified High and Low values.

Centering is useful is making regression coefficients more interpretable and in reducing collinearity between model effects. (my emphasis)

If you search Google for "Center Variables" you can find additional discussion on this topic.

Michael