create a family object for the auto-Gaussian CAR or SAR specification

auto_gaussian(type)

Arguments

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.

Value

An object of class family

See also

Examples

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)