Behavioral Research Data Analysis with R by Yuelin Li & Jonathan Baron
Author:Yuelin Li & Jonathan Baron
Language: eng
Format: epub
Publisher: Springer New York, New York, NY
6.2.2 Checking Model Distributional Assumptions
A plot of model residuals against fitted values shows a problem in the model. Figure 6.2 shows that diamonds 116, 131, and 279 are outliers. They are identified automatically in a residual plot. The observed prices of these diamond stones greatly exceed the model’s predicted prices. The model underestimates the observed price of these larger stones with D and E color and VVS1 clarity (see the fitted column below). Diamonds of these characteristics are sold at a premium price, much higher than the fitted values of the model. The values of these residuals clearly depart from what are expected if they are normally-distributed.
Fig. 6.2Plots of model residuals. On the left is a residuals vs. fitted value plot to identify outliers of the model’s prediction, plotted with the plot.lm(lm1, which = 1) command. On the right is a plot of observed quantiles of the residuals against the theoretical quantiles of a standard normal distribution, plotted with plot.lm(lm1, which = 2). A dotted line is added showing where the observed quantiles should be if they follow a standard normal distribution. The two plots identifies outliers of model assumptions
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Weapons of Math Destruction by Cathy O'Neil(5015)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(3996)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(2745)
Descartes' Error by Antonio Damasio(2718)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(2674)
TCP IP by Todd Lammle(2615)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2460)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2399)
The Book of Numbers by Peter Bentley(2392)
The Tyranny of Metrics by Jerry Z. Muller(2383)
The Great Unknown by Marcus du Sautoy(2170)
Once Upon an Algorithm by Martin Erwig(2135)
Easy Algebra Step-by-Step by Sandra Luna McCune(2104)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2081)
Lady Luck by Kristen Ashley(2058)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2018)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(1977)
All Things Reconsidered by Bill Thompson III(1950)
Secrets of Creation, Volume 1: The Mystery of the Prime Numbers by Watkins Matthew(1852)