did_compute_weights: Compute Weighting Matrix via Bootstrap

View source: R/did-std.R

did_compute_weightsR Documentation

Compute Weighting Matrix via Bootstrap

Description

Compute Weighting Matrix via Bootstrap

Usage

did_compute_weights(formula, dat_did, var_cluster, is_panel, option)

Arguments

formula

Formula.

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.

option

A list of options.

Value

A list of double DID weights.


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