causl_model: Define a 'causl_model' object

causl_modelR Documentation

Define a causl_model object

Description

This defines a causl_model object, that can be used either for simulation or inference.

Usage

causl_model(
  formulas,
  family,
  pars,
  link,
  dat = NULL,
  method = "inversion",
  kwd = "cop",
  control = list()
)

Arguments

formulas

list of lists of formulas

family

families for variables and copula

pars

list of lists of parameters

link

list of link functions

dat

optional data frame of covariates

method

either "inversion" (the default), "inversion_mv", or "rejection"

kwd

word used for copula formula and parameters

control

list of options for the algorithm

Details

The components formulas and family must both be specified, and have matching lengths. If pars is specified, then the model can be used for simulation and inference, if not then only for inference. link is optional, and if not specified default links will be used.


rje42/causl documentation built on June 1, 2025, 2:50 p.m.