R Observatory
Search

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

install.packages("crseEventStudy")
CRAN 30-day downloads, method
332−30% down on the 30 days before, the worse direction
Test coverage, method
94%of lines run by tests

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.

Full 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.

Maintainer
Siegfried Köstlmeier
Latest release
23 Feb 2022
First release
15 Nov 2018

Compare with another package

More details
Releases
5
Needs compilation
No
Needs R
>= 3.5
Date
2022-02-22
LazyData
true
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("crseEventStudy")
APA
Köstlmeier, S., & Pynnonen, S. (2022). crseEventStudy: A Robust and Powerful Test of Abnormal Stock Returns in
Long-Horizon Event Studies (Version 1.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.crseEventStudy
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for crseEventStudy version 1.2.2 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.2.2
    Time taken
    30 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.2.2
    Time taken
    25 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.2.2
    Time taken
    21 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.2.2
    Time taken
    21 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    59 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.2.2
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    28 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    55 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    27 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    27 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.2.2
    Time taken
    12 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    32 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    59 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
338−32.3% down on the 30 days before, the worse directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

11,544 of 26,530

CRAN

332 downloads in the last 30 days

Rank
11,544 of 26,530
Change
−30% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−87.5% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−50% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

1 downloads in the last 30 days

Rank
5,617 of 7,575
Change
−88.9% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
0
Suggested by
0
Needs (3)
Installing it adds
2 packages, 2.1 MB of source
Of those, need compilation
1
Optional extras (1)
Functions
6
Public exports
3
Lines of R code
221
Median complexity
4.5
Functions (6)
Size and composition

Lines by kind (529)

KindLinesShare
R code22142%
Tests9017%
Documentation21841%

Lines by language

LanguageLinesShare
R31159%
Rd21841%

Languages are counted from file extensions.

Files
22
R functions
6
Object systems
S3: 2 methods
Complexity
Median
4.5
Mean
5.33
Highest
15
Median lines per function
24
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
6
Calls
2
Unconnected
2
Groups
2
Growth (5 releases)
Total lines by release
490 on 15 Nov 2018529 on 23 Feb 2022
Release changes

The tests ran and coverage was measured.

Lines run by tests
94%
Expressions run by tests
92.1%
Test cases
4
Exports named in tests
100%
Coverage by file (4)
Coverage run
Lines counted
116
Lines the tests ran
109
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
4
Lines of tests
90
Test lines per line of code
0.41
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Other documentation
README
No
Release notes file
No
Help pages
5
Lines of documentation
218
DatasetSizeColumns
demo_returnsTotal returns for E.ON AG and RWE AG760 × 3date, EON, RWE
demo_share_repurchasesAbnormal standardized returns for german stock repurchase announcements2,340 × 3code, date, ars

skoestlmeier / crseeventstudy on github.com

Stars
2
Forks
0
Open issues
0
Last commit
22 Feb 2022
Activity
Commits
31
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
28 Jul 2018
Licence file reads as
–
Development practices (6)
KindFound
Continuous integrationTravis CI (config file)
Governance and communityCode of conduct, Contributing guide, Issue templates, PR template
CRAN release processcran-comments.md

Method, repository practices

Across skoestlmeier

R releases
  • On CRAN
  • Release
VersionReleasedR
1.2.2 current23 Feb 20224.1.2
1.2.111 Jan 20214.0.3
1.220 Aug 20193.6.1
1.113 Feb 20193.5.2
1.015 Nov 20183.5.0