ddid_boot: Bootstrap

View source: R/did-std.R

ddid_bootR Documentation

Bootstrap

Description

Bootstrap

Usage

ddid_boot(fm_prep, dat_did, id_cluster_vec, var_cluster, is_panel, lead)

Arguments

dat_did

Panel data.

var_cluster

A variable used for clustering standard errors.

is_panel

A boolean argument to indicate if data is in the panel format or the repeated cross-section format.

lead

A vector of lead parameters.

Value

A list of DID and sDID estimates.


naoki-egami/DIDdesign documentation built on June 4, 2024, 2:59 p.m.