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.5)civ_0.1.0.9000.zip(r-4.4)civ_0.1.0.9000.zip(r-4.3)
civ_0.1.0.9000.tgz(r-4.5-any)civ_0.1.0.9000.tgz(r-4.4-any)civ_0.1.0.9000.tgz(r-4.3-any)
civ_0.1.0.9000.tar.gz(r-4.5-noble)civ_0.1.0.9000.tar.gz(r-4.4-noble)
civ_0.1.0.9000.tgz(r-4.4-emscripten)civ_0.1.0.9000.tgz(r-4.3-emscripten)
civ.pdf |civ.html
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:

4.00 score 2 stars 5 scripts 196 downloads 1 exports 69 dependencies

Last updated 12 months agofrom:e37be8d1d7. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 16 2025
R-4.5-winOKFeb 16 2025
R-4.5-macOKFeb 16 2025
R-4.5-linuxOKFeb 16 2025
R-4.4-winOKFeb 16 2025
R-4.4-macOKFeb 16 2025
R-4.3-winOKFeb 16 2025
R-4.3-macOKFeb 16 2025

Exports:civ

Dependencies:abindAERbackportsbootbroomcarcarDataCkmeans.1d.dpclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandkcmeanslabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangsandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

Get Started

Rendered fromciv.Rmdusingknitr::rmarkdownon Feb 16 2025.

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