Package: civ 0.1.0.9000

civ: Categorical Instrumental Variables

Implementation of the categorical instrumental variable (CIV) estimator proposed by Wiemann (2023) <arxiv:2311.17021>. CIV allows for optimal instrumental variable estimation in settings with relatively few observations per category. To obtain valid inference in these challenging settings, CIV leverages a regularization assumption that implies existence of a latent categorical variable with fixed finite support achieving the same first stage fit as the observed instrument.

Authors:Thomas Wiemann [aut, cre]

civ_0.1.0.9000.tar.gz
civ_0.1.0.9000.zip(r-4.7)civ_0.1.0.9000.zip(r-4.6)civ_0.1.0.9000.zip(r-4.5)
civ_0.1.0.9000.tgz(r-4.6-any)civ_0.1.0.9000.tgz(r-4.5-any)
civ_0.1.0.9000.tar.gz(r-4.7-any)civ_0.1.0.9000.tar.gz(r-4.6-any)
civ_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
civ/json (API)
NEWS

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

Bug tracker:https://github.com/thomaswiemann/civ/issues

On CRAN:

Conda:

4.18 score 3 stars 5 scripts 172 downloads 1 exports 73 dependencies

Last updated from:e37be8d1d7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK159
source / vignettesOK181
linux-release-x86_64OK149
macos-release-arm64OK106
macos-oldrel-arm64OK164
windows-develOK173
windows-releaseOK81
windows-oldrelOK83
wasm-releaseOK125

Exports:civ

Dependencies:abindAERbackportsbootbroomcarcarDataCkmeans.1d.dpclicolorspacecowplotcpp11DerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2gluegtableisobandkcmeanslabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

Get Started

Rendered fromciv.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2023-12-08
Started: 2023-10-27