| bootstrap_test | R Documentation |
Computes bootstrap p-values for AAR and CAAR test statistics using the wild bootstrap approach. Per-firm random weights preserve the cross-sectional dependence structure while randomizing the sign of abnormal returns under the null hypothesis.
bootstrap_test(
task,
n_boot = 999L,
weight_type = "rademacher",
statistic = "both",
group = NULL,
seed = NULL
)
task |
A fitted EventStudyTask with abnormal returns computed. |
n_boot |
Number of bootstrap replications. Default 999. |
weight_type |
Type of bootstrap weights: |
statistic |
Which statistic to bootstrap: |
group |
Optional group name to filter. |
seed |
Optional seed for reproducibility. |
A tibble with columns: relative_index, observed_aar,
observed_caar, boot_p_aar, boot_p_caar.
Other eventstudy-statistics:
ARTTest,
BHARTTest,
BMPTest,
CARTTest,
CSectTTest,
CalendarTimePortfolioTest,
GeneralizedSignTest,
KolariPynnonenTest,
MultiEventStatisticsSet,
PatellZTest,
RankTest,
SignTest,
SingleEventStatisticsSet,
StatisticsSetBase,
TestStatisticBase,
adjust_p_values(),
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.