Regression - Diagnostic - Plot - Scale-Location extension
Jump to navigation
Jump to search
A chart of the square root of the absolute standardized residuals by fitted values. Also known as a Spread-Location or S-L plot.
Example
The following example shows the output from running this QScript on a Regression - Poisson Regression output.
Acknowledgements
Uses the plot.lm or plot.glm functions from the stats R package.
References
Belsley, D. A., Kuh, E. and Welsch, R. E. (1980). Regression Diagnostics. New York, NY: Wiley.
Code
includeWeb("QScript R Output Functions");
const menu_location = "Regression > Diagnostic > Plot > Scale-Location";
errorIfExtensionsUnavailableInQVersion(menu_location);
createDiagnosticROutputFromSelection(menu_location);