did_sad: Function to implement DDID under the Staggered Adoption...

View source: R/did-sad.R

did_sadR Documentation

Function to implement DDID under the Staggered Adoption Design

Description

Function to implement DDID under the Staggered Adoption Design

Usage

did_sad(formula, data, id_subject, id_time, option)

Arguments

formula

A formula indicating outcome and treatment.

data

A long form panel data.

id_subject

A character variable indicating subject index.

id_time

A character variable indicating time index.

Value

Double DID estimates.


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