View source: R/cross_sectional.R
| car_by_group | R Documentation |
Performs a t-test (two groups) or ANOVA (3+ groups) to test whether CARs differ significantly across groups.
car_by_group(task, group_var = "group", car_window = NULL)
task |
A fitted EventStudyTask. |
group_var |
Name of the grouping variable. Defaults to "group" (the standard group column in EventStudyTask). |
car_window |
Optional two-element vector for CAR window. |
A list with test results and group-level summary statistics.
Other eventstudy-statistics:
ARTTest,
BHARTTest,
BMPTest,
CARTTest,
CSectTTest,
CalendarTimePortfolioTest,
GeneralizedSignTest,
KolariPynnonenTest,
MultiEventStatisticsSet,
PatellZTest,
RankTest,
SignTest,
SingleEventStatisticsSet,
StatisticsSetBase,
TestStatisticBase,
adjust_p_values(),
bootstrap_test(),
car_quantiles(),
cross_sectional_regression(),
model_diagnostics(),
pretrend_test(),
simulate_event_study(),
validate_task()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.