Stats help - Linear Model fitting in R

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
aerot89
Messages
4
Reaction score
0
I have this residual vs fitted values plot in R, and it should show a scatter of points with constant variance and mean 0. The mean 0 part seems to hold, but there is quite a clear diamond shape for the variance...

I have tried raising the response variable to a power <1 and a log transformation, along with transforming all of the parameter types but all to no avail.

Any help would be greatly appreciated. Anyone have any tips as how to try and improve this...

Thanks

QpY3Z.png
 
Physics news on Phys.org
How many explanatory variables do you have? What are you trying to model? Are you restricting your intercept to a value of zero? From the clear linear trend in your residual plot, a response transformation will not help your situation. What is the R code that you are using?