cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
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

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.