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 09 Jun. 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

linemap  
Line Maps
Create maps made of lines. The package contains one function: linemap(). linemap() displays a map m ...
Download / Learn more Package Citations See dependency  
handyplots  
Handy Plots
Several handy plots for quickly looking at the relationship between two numeric vectors of equal len ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
wheatmap  
Incrementally Build Complex Plots using Natural Semantics
Builds complex plots, heatmaps in particular, using natural semantics. Bigger plots can be assembled ...
Download / Learn more Package Citations See dependency  
Formula  
Extended Model Formulas
Infrastructure for extended formulas with multiple parts on the right-hand side and/or multiple res ...
Download / Learn more Package Citations See dependency  
stdReg  
Regression Standardization
Contains functionality for regression standardization. Four general classes of models are allowed; g ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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