项目作者: waissbluth

项目描述 :
Bootstrapped skewness-adjusted t-test
高级语言: R
项目地址: git://github.com/waissbluth/skewttest.git
创建时间: 2015-10-24T16:54:04Z
项目社区:https://github.com/waissbluth/skewttest

开源协议:

下载


Bootstrapped skewness-adjusted t-test

Implementation in R of the Bootstrapped Skewness-Adjusted t-test for testing long run mean abnormal returns as in “Improved Methods for Tests of Long-Run Abnormal Stock Returns“ by Lyon et al (1999).

Installation

  1. install_github('waissbluth/skewttest')
  2. library('skewttest')
  3. # Read the docs:
  4. ?skewt.test

Usage

  1. # Generate 100 samples from a gamma distribution
  2. x <- rgamma(100,2,1)
  3. # Perform a skewed t-test
  4. skewt.test(x, mu=2)
  5. # Compare to traditional t-test
  6. t.test(x, mu=2)

Author

Nicolás Waissbluth

License

GNU General Public License v3.0