| aar_results | R Documentation |
An R6 object that contains AAR results.
An R6 object that contains AAR results.
An R6 object that contains AAR results.
An R6 object that contains AAR results.
An R6 object that contains AAR results.
An R6 object that contains AAR results.
R6Class object.
R6Class object.
R6Class object.
plotThis method plots aar results.
plotThis method plots aar results.
plotThis method plots aar results.
aar_tblAAR results.
statistics_tblAAR test statistic results.
new()Class initialization
AARResults$new(aar_tbl, statistics_tbl)
aar_tblAAR result table.
statistics_tblTable with statistics.
print()Print key characteristics.
AARResults$print()
plot()Plots AAR results for each analysis group.
AARResults$plot( group = NULL, ci_statistics = NULL, p = 0.95, ci_type = "two-sided", xlab = "Event Window", ylab = "Averaged Abnormal Returns", facet = T, ncol = 4 )
groupSubset to your analysed groups, else all groups will be plotted.
ci_statisticsStatistic used for confidence intervals
pThe desired p-value
ci_typetype of CI band for ggplot2, available are band or ribbon.
xlabx-axis label
ylaby-axis label
facetshould each group get its own plot (default = T)
ncolnumber of facet columns
plot_cumulative()Plot Cumulative Abnormal Return. No test statistic is available.
AARResults$plot_cumulative( xlab = "Event Window", ylab = "Cumulative Averaged Abnormal Returns", facet = T, ncol = 4 )
xlabx axis lab
ylaby axis lab
facetShall the plot faceted by Group
ncolNumber of cols when faceting.
confidence_interval()Calculates Confidence band for given test statistic.
AARResults$confidence_interval( statistic = "Patell Z", p = 0.95, ci_type = "two-sided" )
statisticChosen test statistics for calculation.
pChosen p value.
ci_typeType of confidence interval.
plot_test_statistics()Plots a heatmap with test statistics on y axis and Day Relative to Event on x axis. Colorization is done according to significance according to given p.
AARResults$plot_test_statistics(p = 0.95, ci_type = "two-sided")
pChosen p value.
ci_typeCI type.
clone()The objects of this class are cloneable with this method.
AARResults$clone(deep = FALSE)
deepWhether to make a deep clone.
ar_tblAR result table. Class initialization
new()ARResults$new(ar_tbl)
ar_tblAR result table.
print()Print key characteristics.
ARResults$print()
plot()Plot abnormal returns in the event window of single or multiple firms.
ARResults$plot(firm = NULL, xlab = "", ylab = "Abnormal Returns", addAAR = F)
firmset this parameter if just a subset of firms should be plotted
xlabx-axis label of the plot
ylaby-axis label
addAARadd aar line
a ggplot2 object
clone()The objects of this class are cloneable with this method.
ARResults$clone(deep = FALSE)
deepWhether to make a deep clone.
car_tblCar result table Class initialization
new()CAResults$new(car_tbl)
car_tblCAR result table.
print()Print key characteristics.
CAResults$print()
clone()The objects of this class are cloneable with this method.
CAResults$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.