Identification of Bull and Bear States of the Market

Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan and Sossounov (2002, ) and the algorithm of Lunde and Timmermann (2004, ). The package also contains functions for printing out the dating of the Bull and Bear states of the market, the descriptive statistics of the states, and functions for plotting the results. For the sake of convenience, the package includes the monthly and daily data on the prices (not adjusted for dividends) of the S&P 500 stock market index.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bbdetection")

1.0 by Valeriy Zakamulin, 4 months ago


Browse source code at https://github.com/cran/bbdetection


Authors: Valeriy Zakamulin


Documentation:   PDF Manual  


GPL-3 license


Imports Rcpp, zoo, xtable, ggplot2

Linking to Rcpp


See at CRAN