fix two typos (#596)
This commit is contained in:
		
				
					committed by
					
						
						Hadley Wickham
					
				
			
			
				
	
			
			
			
						parent
						
							acb815d95f
						
					
				
				
					commit
					31b8ccf430
				
			@@ -111,7 +111,7 @@ ggplot(diamonds2, aes(color, lresid)) + geom_boxplot()
 | 
				
			|||||||
ggplot(diamonds2, aes(clarity, lresid)) + geom_boxplot()
 | 
					ggplot(diamonds2, aes(clarity, lresid)) + geom_boxplot()
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Now we see the relationship we expect: as the quality of the diamond increases, so to does it's relative price. To interpret the `y` axis, we need to think about what the residuals are telling us, and what scale they are on. A residual of -1 indicates that `lprice` was 1 unit lower than a prediction based solely on its weight. $2^{-1}$ is 1/2, points with a value of -1 are half the expected price, and residuals with value 1 are twice the predicted price.
 | 
					Now we see the relationship we expect: as the quality of the diamond increases, so too does its relative price. To interpret the `y` axis, we need to think about what the residuals are telling us, and what scale they are on. A residual of -1 indicates that `lprice` was 1 unit lower than a prediction based solely on its weight. $2^{-1}$ is 1/2, points with a value of -1 are half the expected price, and residuals with value 1 are twice the predicted price.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### A more complicated model
 | 
					### A more complicated model
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user