Giter Club home page Giter Club logo

crseeventstudy's Introduction

crseEventStudy

Overview

CRAN_Status_Badge Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed. Travis-CI Build Status Build status codecov Total Downloads License

crseEventStudy is an R package providing a standardized test for abnormal returns in long-horizon event studies that takes into account the cross-sectional correlation, autocorrelation, and heteroskedasticity of stock returns. The test is proposed in the paper A robust and powerful test of abnormal stock returns in long-horizon event studies by Anupam Dutta, Johan Knif, James W. Kolari and Seppo Pynnonen (2018, JempFin).

Key Features

Functions of crseEventStudy for testing abnormal stock returns in long-horizon event studies:

  • asr (abnormal standardizes returns)
  • crseEvent (clustered robust standard errors in long-horizon event studies)
  • sar (standardized abnormal returns)

Installation

# The easiest way to install crseEventStudy is to download via CRAN
install.packages("crseEventStudy")

# Alternatively, you can install the development version from GitHub
# install.packages("devtools")
devtools::install_github("skoestlmeier/crseEventStudy")

Notes

Standardized returns are defined as the ratio of log-returns and their standard deviation estimator. The method crseEvent is based on abnormal standardized returns and offers three implementations:

  • Abnormal standardized returns (ASR)

    Abnormal standardized returns are defined as the excess standardized returns relative to the standardized return of a matching control firm or relative to the average of standardized returns of a matching control portfolio.

  • Standardized abnormal returns (SAR)

    Standardized abnormal returns are defined as the excess event-return relative to a specific return of a matching control firm, and the remaining result subsequently divided by the standard variation of this excess return series. As stated on p. 3f. in Dutta et al. (2018, JempFin), the matching control-return should be a single firm return-series and not be a portfolio-return.

  • Continuously compounded abnormal returns (CCAR)

    Continuously compounded abnormal returns first consider their relative performance. First, the monthly continuously compounded return (i.e., log return) of the event stock is subtracted by the continuously compounded return of the control firm (or control portfolio). Second, this resulting excess return is divided by a robust standard deviation estimator for the excess return.

Contributing

Constributions in form of feedback, comments, code, bug reports or pull requests are most welcome. How to contribute:

  • Issues, bug reports, or desired expansions: File a GitHub issue.
  • Fork the source code, modify it, and issue a pull request through the project GitHub page.

Please read the contribution guidelines on how to contribute to this R-package.

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

crseeventstudy's People

Contributors

skoestlmeier avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.