auto_gaussian function

Auto-Gaussian family for CAR models

Auto-Gaussian family for CAR models

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.

Returns

An object of class family

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)

See Also

stan_car

  • Maintainer: Connor Donegan
  • License: GPL (>= 3)
  • Last published: 2024-12-04