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 22 Sep. 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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
cnum  
Chinese Numerals Processing
Chinese numerals processing in R, such as conversion between Chinese numerals and Arabic numerals a ...
Download / Learn more Package Citations See dependency  
heatmaply  
Interactive Cluster Heat Maps Using 'plotly' and 'ggplot2'
Create interactive cluster 'heatmaps' that can be saved as a stand- alone HTML file, embedded in 'R ...
Download / Learn more Package Citations See dependency  
spider  
Species Identity and Evolution in R
Analysis of species limits and DNA barcoding data. Included are functions for generating important s ...
Download / Learn more Package Citations See dependency  
Countr  
Flexible Univariate Count Models Based on Renewal Processes
Flexible univariate count models based on renewal processes. The models may include covariates and ...
Download / Learn more Package Citations See dependency  
jointseg  
Joint Segmentation of Multivariate (Copy Number) Signals
Methods for fast segmentation of multivariate signals into piecewise constant profiles and for gene ...
Download / Learn more Package Citations See dependency  

28,720

R Packages

247,686

Dependencies

75,677

Author Associations

28,721

Publication Badges

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