Sparse_PanelEstimate: Sparse_PanelEstimate

View source: R/Sparse_PanelEstimate.R

Sparse_PanelEstimateR Documentation

Sparse_PanelEstimate

Description

Estimate DiD estimator for Sparse_PanelMatch object with bootstrapped standard errors

Usage

Sparse_PanelEstimate(data, n_iterations = 1000, alpha = 0.05)

Arguments

data

A SparsePanelMatch object.

n_iterations

The number of iterations to use for bootstrapping (defaults to 1000).

alpha

The alpha level to use when calculating the confidence intervals (defaults to 0.05).

Value

A SparsePanelEstimate object.

Examples

MatchedData <- Sparse_PanelMatch(data = CMP, time = "date", unit = "party", treatment = "wasingov", outcome = "sdper103", treatment_lags = 3, outcome_leads = 0, time_window_in_months = 60, match_missing = TRUE, covs = c("pervote", "lag_sd_rile"), qoi = "att", refinement_method = "mahalanobis", size_match = 5, use_diagonal_covmat = TRUE)
Sparse_PanelEstimate(data = MatchedData, n_iterations = 1000, alpha = 0.05)

MatteoTiratelli/SparsePanelMatch documentation built on March 9, 2023, 3:45 p.m.