| summary.fdid | R Documentation |
Summary Method for FDID Objects
## S3 method for class 'fdid'
summary(object, ...)
object |
An object of class |
... |
Additional arguments (not used). |
Prints a summary of the fdid object.
Rivka Lipkovitz, Enhan Liu
data(fdid)
mortality$uniqueid <- paste(mortality$provid, mortality$countyid, sep = "-")
mortality$G <- ifelse(mortality$pczupu >= median(mortality$pczupu, na.rm = TRUE), 1, 0)
s <- fdid_prepare(
data = mortality, Y_label = "mortality",
X_labels = c("avggrain", "lnpop"),
G_label = "G", unit_label = "uniqueid", time_label = "year"
)
result <- fdid(s, tr_period = 1958:1961, ref_period = 1957)
summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.