calculate_ase_interventional_means: Calculate Asymptotics of Interventional Mean

View source: R/calculate_ase_interventional_means.R

calculate_ase_interventional_meansR Documentation

Calculate Asymptotics of Interventional Mean

Description

Calculates the asysmptotic covariance matrix, the aysmptotic standard errors, and the approximate z-values of the of the interventional means for a specific interventional level.

Usage

calculate_ase_interventional_means(
  model = NULL,
  x = NULL,
  intervention_names = NULL,
  outcome_names = NULL,
  verbose = NULL,
  use_model_values = FALSE
)

Arguments

model

Object of class causalSEM.

x

Numveric vector of interventional levels.

intervention_names

Character vector of names of interventional variables.

outcome_names

Character vector of names of outcome variables.

verbose

Integer number setting verbosity of console outputs.

use_model_values

Logical indicating if values stored in model object should be used (TRUE).

Value

The asymptotic covariance matrix, the asymptotic standard errors, and the approximate z-values of the the interventional means for a specific interventional level. See, for example, Theorem 9 and Corollaries 10 and 11 in Gische and Voelkle (2021).

References

Gische, C., Voelkle, M.C. (2022) Beyond the Mean: A Flexible Framework for Studying Causal Effects Using Linear Models. Psychometrika 87, 868–901. https://doi.org/10.1007/s11336-021-09811-z


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