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
Choose Language Hide Translation Bar
fever
Level III

generalized least squares?

I'm looking to run a generalized least squares (GLS) model to replace my OLS model. I believe the residuals of the OLS model have spatial autocorrelation (I'm not positive, but the map definitely looks so). I read that GLS models correct for autocorrelation (any kind?) of residuals. I don't see GLS as an option under the Generalized Regression platform. I don't have Arc or QGIS, R, or SAS. Suggestions?

3 REPLIES 3
statman
Super User

Re: generalized least squares?

You mean GLM?  Start here:

https://www.jmp.com/support/help/en/16.2/?os=mac&source=application#page/jmp/generalized-linear-mode...

 

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

Re: generalized least squares?

Thanks, but no, the generalized least squares (GLS) is different from generalize linear models (GLM) as I understand it: https://stats.stackexchange.com/questions/272336/what-is-the-difference-between-generalized-linear-m...

 

peng_liu
Staff

Re: generalized least squares?

You may want to check out Mixed Models and Random Effect Models 

Note: If you click the corClasses link in the top answer on that StackExchange page, it leads you to a R package "nlme", for "Linear and Nonlinear Mixed Effects Models".

Now look at the description of "Classical Linear Mixed Model" on Mixed Models and Random Effect Models . Here is a screenshot of the formula. For such data, observations are not independent. The model allows modeling the correlation among observations.

peng_liu_0-1660659582096.png