Learn R Programming

causaldrf (version 0.4.2)

Estimating Causal Dose Response Functions

Description

Functions and data to estimate causal dose response functions given continuous, ordinal, or binary treatments. A description of the methods is given in Galagate (2016) .

Copy Link

Version

Install

install.packages('causaldrf')

Monthly Downloads

243

Version

0.4.2

License

MIT + file LICENSE

Maintainer

Douglas Galagate

Last Published

September 29th, 2022

Functions in causaldrf (0.4.2)

iptw_est

The inverse probability of treatment weighting (iptw) estimator
bart_est

The BART estimator
get_ci

This calculates an upper and lower bound from bootstrap matrix
add_spl_est

The additive spline estimator
aipwee_est

Prediction with a residual bias correction estimator
hi_est

The Hirano and Imbens estimator
iw_est

The inverse weighting estimator (nonparametric method)
gam_est

The GAM estimator
ismw_est

The inverse second moment weighting (ismw) estimator
hi_sim_data

Simulated data from Hirano and Imbens (2004)
nmes_data

Data set containing data from the National Medical Expenditure Survey (NMES)
sim_data

Simulated data from Schafer and Galagate (2015)
wtrg_est

The weighted regression estimator
nw_est

The Nadaraya-Watson modified estimator
t_mod

A function to estimate conditional expected values and higher order moments
overlap_fun

This function creates an overlapping dataset
prop_spline_est

The propensity-spline prediction estimator
scalar_wts

This function calculates scalar weights for use in other models
reg_est

The regression prediction estimator