InfoTrad: An R package for estimating the probability of informed trading

Abstract:

The purpose of this paper is to introduce the R package InfoTrad for estimating the proba bility of informed trading (PIN) initially proposed by Easley et al. (1996). PIN is a popular information asymmetry measure that proxies the proportion of informed traders in the market. This study provides a short survey on alternative estimation techniques for the PIN. There are many problems documented in the existing literature in estimating PIN. InfoTrad package aims to address two problems. First, the sequential trading structure proposed by Easley et al. (1996) and later extended by Easley et al. (2002) is prone to sample selection bias for stocks with large trading volumes, due to floating point exception. This problem is solved by different factorizations provided by Easley et al. (2010) (EHO factorization) and Lin and Ke (2011) (LK factorization). Second, the estimates are prone to bias due to boundary solutions. A grid-search algorithm (YZ algorithm) is proposed by Yan and Zhang (2012) to overcome the bias introduced due to boundary estimates. In recent years, clustering algorithms have become popular due to their flexibility in quickly handling large data sets. Gan et al. (2015) propose an algorithm (GAN algorithm) to estimate PIN using hierarchical agglomerative clustering which is later extended by Ersan and Alici (2016) (EA algorithm). The package InfoTrad offers LK and EHO factorizations given an input matrix and initial parameter vector. In addition, these factorizations can be used to estimate PIN through YZ algorithm, GAN algorithm and EA algorithm.

Cite PDF Tweet

Authors

Affiliations

Duygu Çelik

 

Murat Tiniç

 

Published

May 15, 2018

Received

Mar 5, 2017

DOI

10.32614/RJ-2018-013

Volume

Pages

10/1

31 - 42

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2018-013.zip

CRAN packages used

InfoTrad, FinAsym, PIN, nloptr

CRAN Task Views implied by cited packages

Finance, Optimization

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Çelik & Tiniç, "The R Journal: InfoTrad: An R package for estimating the probability of informed trading", The R Journal, 2018

    BibTeX citation

    @article{RJ-2018-013,
      author = {Çelik, Duygu and Tiniç, Murat},
      title = {The R Journal: InfoTrad: An R package for estimating the probability of informed trading},
      journal = {The R Journal},
      year = {2018},
      note = {https://doi.org/10.32614/RJ-2018-013},
      doi = {10.32614/RJ-2018-013},
      volume = {10},
      issue = {1},
      issn = {2073-4859},
      pages = {31-42}
    }