get_ci {causaldrf}R Documentation

This calculates an upper and lower bound from bootstrap matrix

Description

This function takes a matrix containing the bootstrapped coefficients from a parametric ADRF estimator and returns upper and lower 95 percent confidence lines.

Usage

get_ci(grid_val,
       coef_mat,
       degree)

Arguments

grid_val

is the vector of grid values on treat axis

coef_mat

contains the bootstrapped parameter estimates.

degree

is 1 for linear and 2 for quadratic outcome model

Value

get_ci returns upper and lower 95 percent confidence lines.


[Package causaldrf version 0.4.2 Index]