Attached is a sample of real estate sales and house sizes. If you build a model predicting price as a function of size, there is clear evidence of nonconstant variance. So, I created a weight column to do a weighted least squares regression. However, the residual pattern never changes - I tried weights = 1/size, then size squared, cubed, etc. The residual pattern appears exactly the same until I use the 5th power of the size - then the residuals become zero and the fit is perfect. I don't understand why 5th and higher powers on the residuals result in a perfect fit (though I suspect it is because the weights become so small that the regression line just becomes the mean price line and the errors are being ignored due to the tiny weights). But my real question is why the residual pattern remains unchanged even with weights of 1/size4.
In the attached data table, I put the script for the original, unweighted regression model. There are also scripts for the weighted regressions using the inverse of the 4th and 5th powers of the house size.