Learn R Programming

dynamite (version 1.5.6)

gaussian_example_fit: Model Fit for the Simulated Data of a Gaussian Response

Description

A dynamitefit object obtained by running dynamite on the gaussian_example dataset as


set.seed(1)
library(dynamite)
gaussian_example_fit <- dynamite(
  obs(y ~ -1 + z + varying(~ x + lag(y)) + random(~1), family = "gaussian") +
    random_spec() + splines(df = 20),
  data = gaussian_example,
  time = "time",
  group = "id",
  iter = 2000,
  warmup = 1000,
  thin = 10,
  chains = 2,
  cores = 2,
  refresh = 0,
  save_warmup = FALSE,
  pars = c("omega_alpha_1_y", "omega_raw_alpha_y", "nu_raw", "nu", "L",
    "sigma_nu", "a_y"),
  include = FALSE
)

Note the very small number of samples due to size restrictions on CRAN.

Usage

gaussian_example_fit

Arguments

Format

A dynamitefit object.

See Also

Example models categorical_example, categorical_example_fit, gaussian_example, multichannel_example, multichannel_example_fit