calculate_ase_interventional_density: Calculate Asymptotics of the Interventional pdf

View source: R/calculate_ase_interventional_density.R

calculate_ase_interventional_densityR Documentation

Calculate Asymptotics of the Interventional pdf

Description

Calculates the asysmptotic variance, the aysmptotic standard error, and the approximate z-value of the interventional probability density function (pdf) for a specific interventional level and a specific value in the range of a univariate outcome variable.

Usage

calculate_ase_interventional_density(
  model,
  x,
  y,
  intervention_names,
  outcome_names,
  verbose
)

Arguments

model

An object of class causalSEM (e.g., the output of the intervention_effect() function)

x

interventional levels

y

values within the range of the outcome variable

intervention_names

names of interventional variables

outcome_names

names of outcome variables

verbose

verbosity of console outputs

Value

A list containing the asysmptotic covariance matrix, the aysmptotic standard errors, and the approximate z-value of the the interventional pdf for a specific interventional level and a specific value in the range of the outcome variable. (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.