Skip to content
Prev 170409 / 398503 Next

Website, book, paper, etc. that shows example plots of distributions?

This is probably the right time to issue a warning about the error of  
making transformations on the dependent variable before doing your  
analysis. The classic error that newcomers to statistics commit is to  
decide that they want to "make their data normal". The assumptions of  
most regression methods is that the *errors* need to have the desired  
relationship between means and variance, and not that the dependent  
variable be "normal". Many times the apparent non-normality will be  
"explained" or "captured" by the regression model. Other methods of  
modeling non-linear dependence are also available.

I found Harrell's book "Regression Modeling Strategies" to be an  
excellent source for alternatives. My copy of V&R's MASS is only the  
second edition but chapters 5 & 6 in that edition on linear models  
also had examples of using QQ plots on residuals. Checking that text's  
website I see that chapters 6 at least is probably similar. They  
include the scripts from their chapters along with the MASS package  
(installed as part of the VR bundle). My copy is entitled "ch06.r" and  
resides in the scripts subdirectory:
/Library/Frameworks/R.framework/Versions/2.8/Resources/library/MASS/ 
scripts/ch06.R