double_did_compute: Compute Point and Variance Estimates

View source: R/did-std.R

double_did_computeR Documentation

Compute Point and Variance Estimates

Description

Compute Point and Variance Estimates

Usage

double_did_compute(fit, boot, lead, se_boot)

Arguments

fit

A lift of fitted objects.

boot

An output from bootstrap.

lead

A vector of lead parameters.

se_boot

A boolean argument to indicate if standard errors are computed based on the bootstrap-based (i.e., empirical variance), or based on the asymptotic approximation.

Value

A list of estimates and weights.


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