did_std: Implement the Double DID under the standard design

View source: R/did-std.R

did_stdR Documentation

Implement the Double DID under the standard design

Description

Implement the Double DID under the standard design

Usage

did_std(formula, data, id_unit, id_time, is_panel = TRUE, option)

Arguments

formula

Formula.

data

Panel data.

id_unit

A variable name for unit index. Required for panel data.

id_time

A variable name for time index.

is_panel

A boolean argument. Should be FALSE for the repeated cross-sectional data.

option

A list of option parameters.

Value

Double DID estimates.


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