did_std_placebo: Run a placebo regression on the pretreatment outcome

View source: R/did-check-std.R

did_std_placeboR Documentation

Run a placebo regression on the pretreatment outcome

Description

Run a placebo regression on the pretreatment outcome

Usage

did_std_placebo(formula, data, lags, skip_standardize, show_warning = TRUE)

Arguments

formula

A formula generated by did_formula function.

data

An output from did_panel_data or did_rcs_data function.

lags

A vector of non-negative lag parameters.

skip_standardize

A logical value indicating whether to skip standardization.

show_warning

A logical value indicating whether to show warnings.

Value

A list of placebo effects (est), and standardized effects (est_std)


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