Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Soniayoung
Level I

How to do Weighted Least Squares for simple regression

Hi, I'm new to JMP and I need some advice on how to run a WLS for a simple regression.

Other discussions say that I use Analyze > Fit Y by X > select another numerical column with the appropriate weights and click "Weight".

But what exactly do I put in the weight tab? Do I put the saved residuals or the x variable itself?

 

Sorry if this question is very elementary -- I'm having hard time navigating this software and my statistics class. Thank you! 

1 REPLY 1
Highlighted

Re: How to do Weighted Least Squares for simple regression

I suggest that you spend time with Help > Tutorials and the Help > JMP Documentation Library > Discovering JMP guide.

 

JMP uses the paradigm of 'analysis roles.' For example, the Y role is the dependent variable and X is the independent variable. The Weight role is used when a variable in your data table contains weights. So for every observation (row), you have a value for the dependent variable, the independent variable, and the weight.

 

There are many weighting schemes. For example, if the assumption of constant variance by linear regression is violated, then the reciprocal variance is a useful weight. Observations that exhibit greater variation are weighted less than observations with less variation.

Learn it once, use it forever!
Article Labels

    There are no labels assigned to this post.