multichannel_example_fit {dynamite} | R Documentation |
Model Fit for the Simulated Multivariate Panel Data
Description
A dynamitefit
object obtained by running dynamite
on the
multichannel_example
dataset as
set.seed(1) library(dynamite) f <- obs(g ~ lag(g) + lag(logp), family = "gaussian") + obs(p ~ lag(g) + lag(logp) + lag(b), family = "poisson") + obs(b ~ lag(b) * lag(logp) + lag(b) * lag(g), family = "bernoulli") + aux(numeric(logp) ~ log(p + 1)) multichannel_example_fit <- dynamite( f, data = multichannel_example, time = "time", group = "id", chains = 1, cores = 1, iter = 2000, warmup = 1000, init = 0, refresh = 0, thin = 5, save_warmup = FALSE )
Note the small number of samples due to size restrictions on CRAN.
Usage
multichannel_example_fit
Format
A dynamitefit
object.
Source
Script in https://github.com/ropensci/dynamite/blob/main/data-raw/multichannel_example_fit.R
See Also
Example models
categorical_example
,
categorical_example_fit
,
gaussian_example
,
gaussian_example_fit
,
gaussian_simulation_fit
,
multichannel_example
[Package dynamite version 1.5.2 Index]