Other packages > Find by keyword >

bbdetection  

Identification of Bull and Bear States of the Market
View on CRAN: Click here


Download and install bbdetection package within the R console
Install from CRAN:
install.packages("bbdetection")

Install from Github:
library("remotes")
install_github("cran/bbdetection")

Install by package version:
library("remotes")
install_version("bbdetection", "1.0")



Attach the package and use:
library("bbdetection")
Maintained by
Valeriy Zakamulin
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-04-01
Latest Update: 2021-04-01
Description:
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.
How to cite:
Valeriy Zakamulin (2021). bbdetection: Identification of Bull and Bear States of the Market. R package version 1.0, https://cran.r-project.org/web/packages/bbdetection. Accessed 23 Jul. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited bbdetection R package
View bbdetection citation profile
Other R packages that bbdetection depends, imports, suggests or enhances
Complete documentation for bbdetection
Functions, R codes and Examples using the bbdetection R package
Some associated functions: bb.dating.states . bb.plot . bb.summary.stat . djiad . djiam . run_dating_alg . run_filtering_alg . setpar_dating_alg . setpar_filtering_alg . sp500d . sp500m . 
Some associated R codes: RcppExports.R .  Full bbdetection package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

fitscape  
Classes for Fitness Landscapes and Seascapes
Convenient classes to model fitness landscapes and fitness seascapes. A low-level package with whic ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
gfcanalysis  
Tools for Working with Hansen et al. Global Forest Change Dataset
Supports analyses using the Global Forest Change dataset released by Hansen et al. gfcanalysis was ...
Download / Learn more Package Citations See dependency  
MixSIAR  
Bayesian Mixing Models in R
Creates and runs Bayesian mixing models to analyze biological tracer data (i.e. stable isotopes, fa ...
Download / Learn more Package Citations See dependency  
ODS  
Statistical Methods for Outcome-Dependent Sampling Designs
Outcome-dependent sampling (ODS) schemes are cost-effective ways to enhance study efficiency. In OD ...
Download / Learn more Package Citations See dependency  

27,889

R Packages

239,283

Dependencies

74,019

Author Associations

27,890

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA