irudnyts / estudy2

An Implementation of Parametric and Nonparametric Event Study
http://irudnyts.github.io/estudy2/
14 stars 6 forks source link

Incorrect column name in CAR statistics results df: car_mean #16

Open keegangclarke opened 1 year ago

keegangclarke commented 1 year ago

When calculating the car_mean in car_parametric_tests, only the mean of the ARs are calculated - there is no cumulative summation.

e.g., for the calculation of car_mean in the car_lamb process, in car_parametric.R : car_mean <- mean(daily_lamb_statistics_tidy[, 4], na.rm = TRUE)

This takes the ARs from daily_lamb_statistics_tidy and calculates the mean. There is no accumulation of the ARs prior to calculating the mean, and therefore it is not a cumulative average abnormal return.

Thus all that is provided is the longitudinal mean of ARs. These ARs are already the cross-sectional averages (which is correct - might be clearer to change the name to AARs as is typical in literature i.e. Average Abnormal Returns). Thus it would be more useful to provide the CAAR (Cumulative Average Abnormal Return) by calculating it as: caar <- sum(daily_lamb_statistics_tidy[, 4], na.rm = TRUE)

irudnyts commented 1 year ago

@keegangclarke, thanks for the issue. I will look into it during the weekend. Can you please let me know if this is related to this issue? There was also confusion with names.