Skip to content

crseEventStudy

A Robust and Powerful Test of Abnormal Stock Returns in Long-Horizon Event Studies

v1.2.2 · Feb 23, 2022 · BSD_3_clause + file LICENSE

Description

Based on Dutta et al. (2018) <doi:10.1016/j.jempfin.2018.02.004>, this package provides their standardized test for abnormal returns in long-horizon event studies. The methods used improve the major weaknesses of size, power, and robustness of long-run statistical tests described in Kothari/Warner (2007) <doi:10.1016/B978-0-444-53265-7.50015-9>. Abnormal returns are weighted by their statistical precision (i.e., standard deviation), resulting in abnormal standardized returns. This procedure efficiently captures the heteroskedasticity problem. Clustering techniques following Cameron et al. (2011) <doi:10.1198/jbes.2010.07136> are adopted for computing cross-sectional correlation robust standard errors. The statistical tests in this package therefore accounts for potential biases arising from returns' cross-sectional correlation, autocorrelation, and volatility clustering without power loss.

Downloads

CRAN

350

Last 30 days

12100th

935

Last 90 days

3.7K

Last year

Trend: +28.7% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

27

Last 90 days

113

Last year

Trend: -90% (30d vs prior 30d)

autoCRAN

0

Last 7 days

4

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

529

Files

22

Compiled share

0%

Has compiled src

No

Language breakdown

R 221 (41.8%)Tests 90 (17%)Docs 218 (41.2%)

API

Exported functions

3

Internal functions

3

Recent export changes

v1.0+3 crseEvent, sar, asr

Testing & CI

Has tests

Yes

Test-to-code ratio

0.41

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5

System requirements

C++ standard

License

BSD_3_clause + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2018-11-15

Latest release

2022-02-23

Avg cadence

298 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0: 490 LOCv1.1: 497 LOCv1.2: 529 LOCv1.2.1: 529 LOCv1.2.2: 529 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies sandwich crseEventStudy

Version History

6 tracked
new 1.2.2 Mar 10, 2026
updated 1.2.2 ← 1.2.1 diff Feb 22, 2022
updated 1.2.1 ← 1.2 diff Jan 10, 2021
updated 1.2 ← 1.1 diff Aug 19, 2019
updated 1.1 ← 1.0 diff Feb 12, 2019
new 1.0 Nov 14, 2018