pinbasic: Fast and Stable Estimation of the Probability of Informed Trading (PIN)

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.1.0
Depends: R (≥ 3.1)
Imports: stats, fastcluster, lubridate, ggplot2, reshape2, scales, parallel, Rcpp (≥ 0.12.9)
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, formatR, utils
Published: 2017-03-02
Author: Andreas Recktenwald [aut, cre]
Maintainer: Andreas Recktenwald <a.recktenwald at>
License: GPL-3 | file LICENSE
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.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: pinbasic_1.1.0.tgz
OS X Mavericks binaries: r-oldrel: pinbasic_1.1.0.tgz
Old sources: pinbasic archive


Please use the canonical form to link to this page.