CRAN/E | MDEI

MDEI

Implementing the Method of Direct Estimation and Inference

Installation

About

Causal and statistical inference on an arbitrary treatment effect curve requires care in both estimation and inference. This package, implements the Method of Direct Estimation and Inference as introduced in "Estimation and Inference on Nonlinear and Heterogeneous Effects" by Ratkovic and Tingley (2023) doi:10.1086/723811. The method takes an outcome, variable of theoretical interest (treatment), and set of variables and then returns a partial derivative (marginal effect) of the treatment variable at each point along with uncertainty intervals. The approach offers two advances. First, a split-sample approach is used as a guard against over-fitting. Second, the method uses a data-driven interval derived from conformal inference, rather than relying on a normality assumption on the error terms.

Key Metrics

Version 1.0
R ≥ 3.6.0
Published 2023-05-04 359 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks MDEI results

Downloads

Yesterday 6 0%
Last 7 days 124 -33%
Last 30 days 609 -1%
Last 90 days 1.733 +10%
Last 365 days 6.210

Maintainer

Maintainer

Marc Ratkovic

ratkovic@princeton.edu

Authors

Marc Ratkovic

aut / cre

Dustin Tingley

ctb

Nithin Kavi

aut

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-develnot available

x86_64

r-releasenot available

x86_64

r-oldrelnot available

x86_64

Depends

R ≥ 3.6.0

Imports

grDevices
MASS
ranger
Rcpp ≥ 1.0.6
splines2

LinkingTo

Rcpp
RcppArmadillo