calculate_ase_interventional_probabilities: Calculate Asymptotic Standard Errors of Interventional...

View source: R/calculate_ase_interventional_probabilities.R

calculate_ase_interventional_probabilitiesR Documentation

Calculate Asymptotic Standard Errors of Interventional Probabilities

Description

Calculates the asysmptotic covariance matrix, the aysmptotic standard errors, and the approximate z-values of the interventional probabilities for a specific interventional level and a specific range (lower_bounds, upper_bounds) of the outcome variables.

Usage

calculate_ase_interventional_probabilities(
  model,
  x,
  intervention_names,
  outcome_names,
  lower_bounds,
  upper_bounds,
  verbose
)

Arguments

model

internal_list or object of class causalSEM

x

interventional levels

intervention_names

names of interventional variables

outcome_names

names of outcome variables

lower_bounds

numeric with lower bounds

upper_bounds

numeric with upper bounds

verbose

verbosity of console outputs

Value

Asysmptotic covariance matrix, the aysmptotic standard errors, and the approximate z-values of the the interventional interventional probabilities for a specific interventional level and a specific range (lower_bounds, upper_bounds) of the outcome variables. (see Corollaries, 10, 11 in Gische and Voelkle, 2021).

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.