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 12 Oct. 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

cglasso  
Conditional Graphical LASSO for Gaussian Graphical Models with Censored and Missing Values
Conditional graphical lasso estimator is an extension of the graphical lasso proposed to estimate th ...
Download / Learn more Package Citations See dependency  
SLEMI  
Statistical Learning Based Estimation of Mutual Information
The implementation of the algorithm for estimation of mutual information and channel capacity from e ...
Download / Learn more Package Citations See dependency  
ggparliament  
Parliament Plots
Simple parliament plots using 'ggplot2'. Visualize election results as points in the architectural l ...
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  
gwavr  
Get Water Attributes Visually in R
Provides methods to Get Water Attributes Visually in R ('gwavr'). This allows the user to point and ...
Download / Learn more Package Citations See dependency  

29,000

R Packages

247,686

Dependencies

76,729

Author Associations

29,001

Publication Badges

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