Education Expenditure Data, from Chatterjee and Price (1977, p.108). This data set, representing the education expenditure variables in the 50 US states, providing an interesting example of heteroscedacity.
A data frame with 50 observations on the following 6 variables.
Region (1=Northeastern, 2=North central, 3=Southern, 4=Western)
Number of residents per thousand residing in urban areas in 1970
Per capita personal income in 1973
Number of residents per thousand under 18 years of age in 1974
Per capita expenditure on public education in a state, projected for 1975
P. J. Rousseeuw and A. M. Leroy (1987) Robust Regression and Outlier Detection; Wiley, p.110, table 16.
data(education) education.x <- data.matrix(education[, 3:5]) summary(lm.education <- lm(Y ~ Region + X1+X2+X3, data=education)) ## See example(lmrob.M.S) # for how robust regression is used
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.