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.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'))

Peer review:

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

On CRAN:

4.48 score 2 stars 5 scripts 174 downloads 1 exports 68 dependencies

Last updated 9 months agofrom:e37be8d1d7. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 2024

Exports:civ

Dependencies:abindAERbackportsbootbroomcarcarDataCkmeans.1d.dpclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandkcmeanslabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangsandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

Get Started

Rendered fromciv.Rmdusingknitr::rmarkdownon Nov 18 2024.

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