Displaying 1 result from an estimated 1 matches for "_standardized_".
2013 Oct 15
1
Q-Q plot scaling in plot.lm(); bug or thinko?
...the model is exactly correct ... although if the
weights are all the same, it doesn't change the linearity of the
Q-Q plot, but it does seem confusing if one is explicitly comparing
expected to observed ...
The help page says
> The ?S-L?, the Q-Q, and the Residual-Leverage plot, use
> _standardized_ residuals which have identical variance (under the
> hypothesis). They are given as R[i] / (s * sqrt(1 - h.ii)) where
> h.ii are the diagonal entries of the hat matrix
An example (in R markdown):
```{r}
set.seed(101)
n <- 1000 ## number of observations
N <- 100 ## binomial sampl...