Learn R Programming

staggR (version 0.1.1)

summary.sdid_mdl: Summarize an sdid model

Description

Summarize an sdid model

Usage

# S3 method for sdid_mdl
summary(object, ...)

Value

An object of class summary.sdid_mdl.

Arguments

object

A sdid_mdl object.

...

Passed through.

Examples

Run this code
# Fit a staggered difference-in-differences model
sdid_hosp <- sdid(hospitalized ~ cohort + yr + age + sex + comorb,
                  df = hosp,
                  intervention_var  = "intervention_yr")
# Summarize the results
summary(sdid_hosp)

Run the code above in your browser using DataLab