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 05 Jun. 2026.
Previous versions and publish date:
1.0 (2023-05-04 10:30)
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

envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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