Description Usage Arguments Value
Returns a data.frame with appropriate pre/post indicators for a change in some indepdent variable.
1 2 | AddIndicators(df, num.periods.post, num.periods.pre, independent.variable,
grouping.variable, epsilon = 0.01)
|
df |
data frame |
num.periods.post |
how many post-change indicators are needed |
num.periods.pre |
how many pre-change indicators are needed |
independent.variable |
the indepenent variable |
grouping.variable |
the experimental units (e.g., states, cities, people) |
epsilon |
minimally detectable change in var.name |
A dataframe with indicators added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.