calculate_jacobian_interventional_probabilities: Calculate Jacobian of the Probablity of an Interventional...

View source: R/calculate_jacobian_interventional_probabilities.R

calculate_jacobian_interventional_probabilitiesR Documentation

Calculate Jacobian of the Probablity of an Interventional Event

Description

Calculates Jacobian of the probability of a univariate interventional evenent. The probability is calculated for (i) a univariate outcome variable, (ii) a specific interventional level, and (iii )specific values of the lower and upper bound of the critical range of the outcome variable.

Usage

calculate_jacobian_interventional_probabilities(
  model,
  x = NULL,
  intervention_names = NULL,
  outcome_names = NULL,
  lower_bounds = NULL,
  upper_bounds = NULL,
  verbose = NULL
)

Arguments

model

internal_list or object of class causalSEM

x

interventional levels

intervention_names

names of interventional variables

outcome_names

name of outcome variable

lower_bounds

numeric with lower bound

upper_bounds

numeric with upper bound

verbose

verbosity of console outputs

Value

calculate_jacobian_interventional_probabilities returns the Jacobian of interventional probabilities (numeric matrices) as defined in Eq. 18a (p. 17)

References

Gische, C., Voelkle, M.C. (2021) Beyond the mean: a flexible framework for studying causal effects using linear models. Psychometrika (advanced online publication). https://doi.org/10.1007/s11336-021-09811-z


christian-gische/causalSEM documentation built on April 26, 2023, 10:36 p.m.