Multilevel Model
Contents
Description
When clusters of data are expected to vary in different ways, a multilevel model may be more appropriate than a simple model.
Example
model <- nlme::lme(Sale_Price ~ Lot_Area, random = ~ 1 | Neighborhood, data = modeldata::ames)