Package: localIV 0.3.2

localIV: Estimation of Marginal Treatment Effects using Local Instrumental Variables

In the generalized Roy model, the marginal treatment effect (MTE) can be used as a building block for constructing conventional causal parameters such as the average treatment effect (ATE) and the average treatment effect on the treated (ATT). Given a treatment selection equation and an outcome equation, the function mte() estimates the MTE via the semiparametric local instrumental variables method or the normal selection model. The function mte_at() evaluates MTE at different values of the latent resistance u with a given X = x, and the function mte_tilde_at() evaluates MTE projected onto the estimated propensity score. The function ace() estimates population-level average causal effects such as ATE, ATT, or the marginal policy relevant treatment effect.

Authors:Xiang Zhou [aut, cre]

localIV_0.3.2.tar.gz
localIV_0.3.2.zip(r-4.7-any)localIV_0.3.2.zip(r-4.6-any)localIV_0.3.2.zip(r-4.5-any)
localIV_0.3.2.tgz(r-4.6-any)localIV_0.3.2.tgz(r-4.5-any)
localIV_0.3.2.tar.gz(r-4.7-any)localIV_0.3.2.tar.gz(r-4.6-any)
localIV_0.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
localIV/json (API)

# Install 'localIV' in R:
install.packages('localIV', repos = c('https://xiangzhou09.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/xiangzhou09/localiv/issues

Datasets:
  • toydata - A Hypothetical Dataset for Illustrative Purpose

On CRAN:

Conda:

3.48 score 6 stars 9 scripts 338 downloads 6 exports 77 dependencies

Last updated from:4d0aeb2cf6. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK128
source / vignettesOK322
linux-releaseOK169
macos-releaseOK129
macos-oldrelOK113
windows-develOK76
windows-releaseOK98
windows-oldrelOK84
wasm-releaseOK161

Exports:acemtemte_atmte_localIVmte_normalmte_tilde_at

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdigestdoBydplyrfarverforecastFormulafracdiffgenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmaxLikmgcvminqamiscToolsmodelrmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sampleSelectionsandwichscalesSparseMstringistringrsurvivalsystemfittibbletidyrtidyselecttimeDateurcautf8vctrsVGAMviridisLitewithrzoo