Utilities for fast and stable estimation of the probability of informed trading (PIN) in the model introduced by Easley et al. (2002) <doi:10.1111/1540-6261.00493> are implemented. Since the basic model developed by Easley et al. (1996) <doi:10.1111/j.1540-6261.1996.tb04074.x> is nested in the former due to equating the intensity of uninformed buys and sells, functions can also be applied to this simpler model structure, if needed. State-of-the-art factorization of the model likelihood function as well as most recent algorithms for generating initial values for optimization routines are implemented. In total, two likelihood factorizations and three methodologies for starting values are included. Furthermore, functions for simulating datasets of daily aggregated buys and sells, calculating confidence intervals for the probability of informed trading and posterior probabilities of trading days' conditions are available.
Version: | 1.2.2 |
Depends: | R (≥ 3.1) |
Imports: | stats, fastcluster, lubridate, ggplot2, reshape2, scales, parallel, Rcpp (≥ 0.12.9) |
LinkingTo: | Rcpp |
Suggests: | knitr, rmarkdown, formatR, utils |
Published: | 2018-11-18 |
Author: | Andreas Recktenwald [aut, cre] |
Maintainer: | Andreas Recktenwald <arecktenwald85 at gmail.com> |
BugReports: | https://github.com/anre005/pinbasic/issues |
License: | GPL-3 | file LICENSE |
URL: | https://github.com/anre005/pinbasic/ |
NeedsCompilation: | yes |
Materials: | README NEWS |
In views: | Finance |
CRAN checks: | pinbasic results |
Reference manual: | pinbasic.pdf |
Vignettes: |
pinbasic: An R Package for Fast and Stable Estimation of Static Models for the Probability of Informed Trading |
Package source: | pinbasic_1.2.2.tar.gz |
Windows binaries: | r-devel: pinbasic_1.2.2.zip, r-release: pinbasic_1.2.2.zip, r-oldrel: pinbasic_1.2.2.zip |
macOS binaries: | r-release: pinbasic_1.2.2.tgz, r-oldrel: pinbasic_1.2.2.tgz |
Old sources: | pinbasic archive |
Please use the canonical form https://CRAN.R-project.org/package=pinbasic to link to this page.