demo/wage1.R

## Simple illustration with two numeric and two categorical predictors

library(ma)

data(wage1)
attach(wage1)
model <- lm.ma(lwage ~ female + married + educ + exper,
               compute.deriv=TRUE,
               parallel=TRUE)

apply(coef(model),2,summary)
plot(model)
plot(model,plot.deriv=TRUE)

summary(model)
JeffreyRacine/R-Package-ma documentation built on May 7, 2019, 10:35 a.m.