How to do Weighted Least Squares for simple regressionHi, 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!
Re: How to do Weighted Least Squares for simple regressionI 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.