Last chance! 50% off unlimited learning
Sale ends in
Aircraft Data, deals with 23 single-engine aircraft built over the years 1947-1979, from Office of Naval Research. The dependent variable is cost (in units of $100,000) and the explanatory variables are aspect ratio, lift-to-drag ratio, weight of plane (in pounds) and maximal thrust.
data(aircraft, package="robustbase")
A data frame with 23 observations on the following 5 variables.
X1
Aspect Ratio
X2
Lift-to-Drag Ratio
X3
Weight
X4
Thrust
Y
Cost
# NOT RUN {
data(aircraft)
summary( lm.airc <- lm(Y ~ ., data = aircraft))
summary(rlm.airc <- MASS::rlm(Y ~ ., data = aircraft))
aircraft.x <- data.matrix(aircraft[,1:4])
c_air <- covMcd(aircraft.x)
c_air
# }
Run the code above in your browser using DataLab