Closed vnery5 closed 2 weeks ago
Passed the weights argument to the underlying estimators in event_study.
event_study
Exception is Roth and Sant'Anna, which do not allow for weights.
Thanks for submitting a PR. Could you add a check at the top of the function with
if (!(is.null(weights) || is.character(weights))) { stop("Argument `weights` must be `NULL` or a character string") }
Passed the weights argument to the underlying estimators in
event_study
.Exception is Roth and Sant'Anna, which do not allow for weights.