Package: Rfuzzydid 1.3.0

Rfuzzydid: Fuzzy Difference in Differences

Differences in differences is a methodology to measure the impact of a treatment by comparing a control group, which remains untreated at two different time periods, with a treatment group, which receives the treatment at the later date. In many cases, this approach is used in situations where the intervention doesn't fully apply the treatment to the entire treatment group but rather increases the treatment rate. In response to such fuzzy scenarios, de Chaisemartin and D'Haultfoeuille (2018) <doi:10.1093/restud/rdx049> introduce estimands capable of identifying local average and quantile treatment effects under various assumptions. This R package computes the estimators they are proposing.

Authors:Kevin Michael Frick [aut, cre]

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

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

Bug tracker:https://github.com/kmfrick/rfuzzydid/issues

Pkgdown/docs site:https://kmfrick.github.io

On CRAN:

Conda:

5.08 score 6 scripts 320 downloads 1 exports 22 dependencies

Last updated from:3ebdfa3b85. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE131
source / vignettesOK208
linux-releaseNOTE155
macos-releaseNOTE159
macos-oldrelNOTE167
windows-develNOTE88
windows-releaseNOTE89
windows-oldrelNOTE98
wasm-releaseOK125

Exports:fuzzydid

Dependencies:backportsbroomclicpp11dplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr

Fuzzy difference-in-differences with Rfuzzydid
Purpose | Choosing an estimator | Basic R workflow | Reading the main options | Treatment categories | Partial identification | Covariates | Inference | Translating from Stata | Practical checklist | References

Last update: 2026-07-21
Started: 2026-05-15

Stata Parity: Replicating Stata fuzzydid in R
Introduction | Simulated Data Example | Basic Estimation | Wald-DID, Wald-TC, and Wald-CIC | Extracting Results Programmatically | Core Stata Parity Check | Key Parity Points | 1. User-Controlled Bootstrap Seed | 2. Design Restrictions | 3. Partial Identification Bounds | 4. Equality Tests | Covariate Adjustment | Parametric Adjustment with modelx | Nonparametric Adjustment with Sieves | LQTE Estimation | Multi-Period Designs | Bootstrap Diagnostics | References

Last update: 2026-07-21
Started: 2026-03-05

Replicating Duflo (2001) with Rfuzzydid
Introduction | Data Preparation | Loading the Data | Constructing the Analysis Sample | Constructing Group Variables | Two-Arm Estimation | Arm 1: Districts with Increasing Education (g* = 1 vs g* = 0) | Arm 2: Districts with Decreasing Education (g* = -1 vs g* = 0) | Aggregating Results | Comparison with Stata | References

Last update: 2026-06-19
Started: 2026-03-05

Readme and manuals

Help Manual

Help pageTopics
coef.fuzzydidcoef.fuzzydid
confint.fuzzydidconfint.fuzzydid
formula.fuzzydidformula.fuzzydid
fuzzydidfuzzydid
glance.fuzzydidglance.fuzzydid
nobs.fuzzydidnobs.fuzzydid
plot.fuzzydidplot.fuzzydid
print.fuzzydidprint.fuzzydid
summary.fuzzydidsummary.fuzzydid
tidy.fuzzydidtidy.fuzzydid
vcov.fuzzydidvcov.fuzzydid