create a family object for the auto-Gaussian CAR or SAR specification
auto_gaussian(type)
Optional; either "CAR" for conditionally specified auto-model or "SAR" for the simultaneously specified auto-model. The type is added internally by stan_car
or stan_sar
when needed.
An object of class family
cp = prep_car_data(shape2mat(georgia))
fit <- stan_car(log(rate.male) ~ 1,
data = georgia,
car_parts = cp,
family = auto_gaussian(),
chains = 2, iter = 700) # for speed only
print(fit)