Which statistical software will allow entry of a regression weight in polynomial regression?
If we factor heteroscedastic estimated residuals into random and nonrandom factors, we can use a nonrandom factor that is the predicted y, say y*, raised to gamma, the coefficient of heteroscedasticity. This gives us a regression weight of the predicted y raised to twice the negative of gamma. These two expressions are attached.
The following provides information on estimating gamma, the coefficient of heteroscedasticity:
https://www.researchgate.net/publication/333642828_Estimating_the_Coefficient_of_Heteroscedasticity
See Brewer, K.R.W.(2002), Combined survey sampling inference: Weighing Basu's elephants, Arnold: London and Oxford University Press, especially pages 111, and 87, 130, 137, 142, and 203.
Here is a spreadsheet to use in selecting a coefficient of heteroscedasticity:
https://www.researchgate.net/publication/333659087_Tool_for_estimating_coefficient_of_heteroscedasticityxlsx
This is found under the following project:
https://www.researchgate.net/project/OLS-Regression-Should-Not-Be-a-Default-for-WLS-Regression
So, for example, if the coefficient of heteroscedasticity is 0.5, then using a preliminary estimate of y*, say y_hat, the two choices of G.S. Maddala, then the estimated regression weight is 1/y_hat.
SAS PROC REG allows the regression weight here to be entered as "w" (no quotes) for most linear regressions, but I think you might have to go to SAS PROC GLM for quadratic regression.
I do not know which software, and better to know, but I don't, which programs within them, will perform polynomial regression, and will they handle entry of regression weight w.
I would appreciate hearing what you know about which statistical software include weighted least squares polynomial regression. I would like to be able to tell people where they can find it and use the above.
Thank you.