A dynamitefit object obtained by running dynamite on the
categorical_example dataset as
set.seed(1)
library(dynamite)
f <- obs(x ~ z + lag(x) + lag(y), family = "categorical") +
obs(y ~ z + lag(x) + lag(y), family = "categorical")
categorical_example_fit <- dynamite(
f,
data = categorical_example,
time = "time",
group = "id",
chains = 1,
refresh = 0,
thin = 5,
save_warmup = FALSE
)
Note the small number of samples due to size restrictions on CRAN.
categorical_example_fitA dynamitefit object.
Example models
categorical_example,
gaussian_example,
gaussian_example_fit,
gaussian_simulation_fit,
multichannel_example,
multichannel_example_fit