fill_in_asymptotics_interventional_density: Fill in Asymptotics for Density Function of Interventional...

View source: R/fill_in_asymptotics_interventional_density.R

fill_in_asymptotics_interventional_densityR Documentation

Fill in Asymptotics for Density Function of Interventional Distributions

Description

Fill in asymptotics for density function of interventional distributions. Asymptotic values are computed pointwise over a grid of 200 values in the range [-3*SD, 3*SD] of the univariate outcome variable. The asysmptotic standard errors and the approximate z-values of the interventional density function for a specific interventional level are computed pointwise over the grid.

Usage

fill_in_asymptotics_interventional_density(internal_list)

Arguments

internal_list

A list with various information extracted from the model.

Value

The inputted internal_list with slot interventional_distribution$density_function ..$ase ..$z-values filled in with a list (one named entry for each variable). Each list element in ..$ase contains a matrix with two columns and 200 rows: [1] "x": generated x values (-3*SD ... 3*SD) [2] "ase": asymptotic standard errors Each list element in ..$z_values contains a matrix with two columns and 200 rows: [1] "x": generated x values (-3*SD ... 3*SD) [2] "z_values": asymptotic standard errors

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.