Factiv
An R package for analyzing factorial experiments with noncompliance
Install / Use
/learn @mattblackwell/FactivREADME
factiv: Analyzing Factorial Experiments with Noncompliance
factiv is an R package to estimate causal effects in factorial experiments with noncompliance on multiple factors. It implements the methodology of Blackwell (2017) and Blackwell and Pashley (2020).
To install the package, you can use the remotes package:
remotes::install_github("mattblackwell/factiv")
There are two main functions in the package, iv_factorial, which performs superpopulation-based inference, and iv_finite_factorial, which performs finite-population inference for the factorial effects using the Fieller method described in Blackwell and Pashley (2020). You can use these functions in the following manner:
library(factiv)
data(newhaven)
superpop <- iv_factorial(turnout_98 ~ inperson + phone | inperson_rand +
phone_rand, data = newhaven)
finite <- iv_finite_factorial(formula = turnout_98 ~ inperson + phone |
inperson_rand + phone_rand, data = newhaven)
Related Skills
OpenMetadata
9.7kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
A2V
1.2kA2V: Next-Gen AI Value Compute Protocol.
korean-law-mcp
1.1k89 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Quality Assurance
Validates story implementations through testing, code review, and quality gate assessment. Uses testing skill for execution, checks standards compliance, and creates quality gate decisions (PASS/CONCERNS/FAIL/WAIVED).
