Learn R Programming

robustbase (version 0.92-7)

education: Education Expenditure Data

Description

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.

Usage

data(education)

Arguments

Format

A data frame with 50 observations on the following 6 variables.

Source

P. J. Rousseeuw and A. M. Leroy (1987) Robust Regression and Outlier Detection; Wiley, p.110, table 16.

Examples

Run this code
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

Run the code above in your browser using DataLab