Other packages > Find by keyword >

MDEI  

Implementing the Method of Direct Estimation and Inference
View on CRAN: Click here


Download and install MDEI package within the R console
Install from CRAN:
install.packages("MDEI")

Install from Github:
library("remotes")
install_github("cran/MDEI")

Install by package version:
library("remotes")
install_version("MDEI", "1.0")



Attach the package and use:
library("MDEI")
Maintained by
Marc Ratkovic
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-05-04
Latest Update: 2023-05-04
Description:
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) . 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.
How to cite:
Marc Ratkovic (2023). MDEI: Implementing the Method of Direct Estimation and Inference. R package version 1.0, https://cran.r-project.org/web/packages/MDEI. Accessed 08 Aug. 2026.
Previous versions and publish date:
1.0 (2023-05-04 10:30), (2026-07-09 08:09)
Other packages that cited MDEI R package
View MDEI citation profile
Other R packages that MDEI depends, imports, suggests or enhances
Complete documentation for MDEI
Functions, R codes and Examples using the MDEI R package
Full MDEI package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

box  
Write Reusable, Composable and Modular R Code
A modern module system for R. Organise code into hierarchical, composable, reusable modules, and us ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
Morpho  
Calculations and Visualisations Related to Geometric Morphometrics
A toolset for Geometric Morphometrics and mesh processing. This includes (among other stuff) mesh d ...
Download / Learn more Package Citations See dependency  
skewt  
The Skewed Student-t Distribution
Density, distribution function, quantile function and random generation for the skewed t distributio ...
Download / Learn more Package Citations See dependency  
FastGaSP  
Fast and Exact Computation of Gaussian Stochastic Process
Implements fast and exact computation of Gaussian stochastic process with the Matern kernel using fo ...
Download / Learn more Package Citations See dependency  
productplots  
Product Plots for R
Framework for visualising tables of counts, proportions and probabilities. The framework is called ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,752

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA