| adjust_p_values | R Documentation |
Computes adjusted p-values for AAR and CAAR test statistics across the
event window, correcting for the multiple comparisons problem. Supports
all methods available in p.adjust.
adjust_p_values(task, method = "BH", stat_name = "CSectT", group = NULL)
task |
A fitted EventStudyTask with |
method |
Adjustment method passed to |
stat_name |
Name of the multi-event test statistic to adjust.
Must match a column name in |
group |
Optional group name to filter. If NULL, adjusts all groups. |
A tibble with columns from the original test statistic result plus
p_raw_aar, p_adj_aar, p_raw_caar, p_adj_caar.
Other eventstudy-statistics:
ARTTest,
BHARTTest,
BMPTest,
CARTTest,
CSectTTest,
CalendarTimePortfolioTest,
GeneralizedSignTest,
KolariPynnonenTest,
MultiEventStatisticsSet,
PatellZTest,
RankTest,
SignTest,
SingleEventStatisticsSet,
StatisticsSetBase,
TestStatisticBase,
bootstrap_test(),
car_by_group(),
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.