Web Appendix to Components of bull and bear markets: bull corrections and bear rallies

Similar documents
Extracting bull and bear markets from stock returns

Components of bull and bear markets: bull corrections and bear rallies

Components of bull and bear markets: bull corrections and bear rallies

Package bbdetection. September 8, 2017

Turning points of Financial and Real Estate Market

Turning points of the Financial and the Real Estate Market Ranoua Bouchouicha

Do Stock Returns Rebound After Bear Markets? An Empirical Analysis From Five OECD Countries

Volatility Models and Their Applications

Research Memo: Adding Nonfarm Employment to the Mixed-Frequency VAR Model

Investing through Economic Cycles with Ensemble Machine Learning Algorithms

Forecasting recessions in real time: Speed Dating with Norwegians

Predicting Bear and Bull Stock Markets with Dynamic Binary Time Series Models

Bulls and Bears: Lessons from some European Countries

Bayesian Estimation of the Markov-Switching GARCH(1,1) Model with Student-t Innovations

Sample Size Calculations for Odds Ratio in presence of misclassification (SSCOR Version 1.8, September 2017)

Relevant parameter changes in structural break models

Automated Options Trading Using Machine Learning

How to Identify and Predict Bull and Bear Markets?

A SIMPLE FRAMEWORK FOR ANALYSING BULL AND BEAR MARKETS

A Regime-Switching Relative Value Arbitrage Rule

Characterising the financial cycle: don t loose sight of the medium-term!

Budget Management In GSP (2018)

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples

BELARUSIAN BUSINESS CYCLE IN CROSS-COUNTRY COMPARISON: INDUSTRY AND AGGREGATE DATA

Duration Dependence in Stock Prices: An Analysis of Bull and Bear Markets

ASYMMETRIC RESPONSES OF CAPM - BETA TO THE BULL AND BEAR MARKETS ON THE BUCHAREST STOCK EXCHANGE

Combining State-Dependent Forecasts of Equity Risk Premium

Lecture 2 Describing Data

Lecture 8: Markov and Regime

The Characteristics of Stock Market Volatility. By Daniel R Wessels. June 2006

Lecture 9: Markov and Regime

Financial Econometrics Notes. Kevin Sheppard University of Oxford

ESTIMATION OF UTILITY FUNCTIONS: MARKET VS. REPRESENTATIVE AGENT THEORY

Market Risk Analysis Volume II. Practical Financial Econometrics

Statistics 431 Spring 2007 P. Shaman. Preliminaries

A Principal Component Approach to Measuring Investor Sentiment in Hong Kong

Web Appendix. Are the effects of monetary policy shocks big or small? Olivier Coibion

2

Understanding the Sources of Macroeconomic Uncertainty

Properties of the estimated five-factor model

DATA SUMMARIZATION AND VISUALIZATION

State Switching in US Equity Index Returns based on SETAR Model with Kalman Filter Tracking

A Simple Approach to Balancing Government Budgets Over the Business Cycle

NONLINEAR RISK 1. October Abstract

Volume 31, Issue 2. Gold and financial assets: Are there any safe havens in bear markets?

A Markov Chain Monte Carlo Approach to Estimate the Risks of Extremely Large Insurance Claims

An Online Algorithm for Multi-Strategy Trading Utilizing Market Regimes

Tests for Two ROC Curves

B usiness recessions, as a major source of

Journal of Economics and Financial Analysis, Vol:1, No:1 (2017) 1-13

2 Exploring Univariate Data

Heterogeneous Hidden Markov Models

KLAUS GROBYS. The Review of Finance and Banking Volume 04, Issue 1, Year 2012, Pages S print ISSN , online ISSN

A Compound-Multifractal Model for High-Frequency Asset Returns

Graphical and Tabular Methods in Descriptive Statistics. Descriptive Statistics

Estimation of the Markov-switching GARCH model by a Monte Carlo EM algorithm

Lecture 2: Forecasting stock returns

Weekly Hedonic House Price Indices and the Rolling Time Dummy Method: An Application to Sydney and Tokyo

Comments on Hansen and Lunde

How useful are historical data for forecasting the long-run equity return distribution?

CSC Advanced Scientific Programming, Spring Descriptive Statistics

Graphic-1: Market-Regimes with 4 states

A Markov switching regime model of the South African business cycle

Chapter 7. Inferences about Population Variances

Application of MCMC Algorithm in Interest Rate Modeling

Monte Carlo Simulation (General Simulation Models)

Measuring U.S. Business Cycles: A Comparison of Two Methods and Two Indicators of Economic Activities. (With Appendix A) Francis W.

Dependence Structure and Extreme Comovements in International Equity and Bond Markets

University of Pretoria Department of Economics Working Paper Series

yuimagui: A graphical user interface for the yuima package. User Guide yuimagui v1.0

Basic Procedure for Histograms

Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime-Switching Approach

Likelihood-based Optimization of Threat Operation Timeline Estimation

Although the U.S. economy is in its eighth year of expansion

Short-selling constraints and stock-return volatility: empirical evidence from the German stock market

(High Dividend) Maximum Upside Volatility Indices. Financial Index Engineering for Structured Products

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam

An analysis of momentum and contrarian strategies using an optimal orthogonal portfolio approach

Market Risk Analysis Volume I

Lecture Note 6 of Bus 41202, Spring 2017: Alternative Approaches to Estimating Volatility.

Solving dynamic portfolio choice problems by recursing on optimized portfolio weights or on the value function?

In the book Candlesticks, Fibonacci,

Advanced Studies in International Economic Policy Research Kiel Institute for the World Economy Düsternbrooker Weg 120 D Kiel/Germany

Monetary Economics Measuring Asset Returns. Gerald P. Dwyer Fall 2015

A Nonlinear Approach to the Factor Augmented Model: The FASTR Model

MS&E 448 Final Presentation High Frequency Algorithmic Trading

Group-Sequential Tests for Two Proportions

Growth Rate of Domestic Credit and Output: Evidence of the Asymmetric Relationship between Japan and the United States

A Stochastic Price Duration Model for Estimating. High-Frequency Volatility

Equity, Vacancy, and Time to Sale in Real Estate.

XLSTAT TIP SHEET FOR BUSINESS STATISTICS CENGAGE LEARNING

Random Variables and Probability Distributions

Market Risk Analysis Volume IV. Value-at-Risk Models

A comment on Christoffersen, Jacobs and Ornthanalai (2012), Dynamic jump intensities and risk premiums: Evidence from S&P500 returns and options

Dating business cycles in India

Financial Cycles and Business Cycles: Some Stylized Facts

Pakes (1986): Patents as Options: Some Estimates of the Value of Holding European Patent Stocks

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

Forecasting Macedonian Business Cycle Turning Points Using Qual Var Model 1

Composite Coincident and Leading Economic Indexes

Transcription:

Web Appendix to Components of bull and bear markets: bull corrections and bear rallies John M. Maheu Thomas H. McCurdy Yong Song 1 Bull and Bear Dating Algorithms Ex post sorting methods for classification of stock returns into bull and bear phases are called dating algorithms. Such algorithms attempt to use a sequence of rules to isolate patterns in the data. A popular algorithm is that used by Bry and Boschan (1971) to identify turning points of business cycles. Pagan and Sossounov (23) adapted this algorithm to study the characteristics of bull/bear regimes in monthly stock prices. First a criterion for identifying potential peaks and troughs is applied; then censoring rules are used to impose minimum duration constraints on both phases and complete cycles. Finally, an exception to the rule for the minimum length of a phase is allowed to accommodate sharp movements in stock prices. There are alternative dating algorithms or filters for identifying turning points. For example, the Lunde and Timmermann (24) (LT) algorithm identifies bull and bear markets using a cumulative return threshold of 2% to locate peaks and troughs moving forward. They define a binary market indicator variable I t which takes the value 1 if the stock market is identified by their algorithm to be in a bull state at time t and if it is in a bear state. The classification of our data into bull and bear regimes using these two filters is found in Figure 1. The shaded portions under the cumulative return denote bull markets while the white portions of the figure are the bear markets. The exact dates for the bull and bear regimes can be found in Table 1. There are several features to note. First, the sorting of the data is broadly similar but with important differences. For example, during the 193s the BB approach finds many more switches between market phases than does the LT algorithm. More recently, both identify 1987-12 as a trough but the subsequent bull phase ends in 199-6 for LT but 2-3 for BB. The average bear duration is similar (66 weeks) while the average bull Department of Economics, University of Toronto and RCEA, jmaheu@chass.utoronto.ca Rotman School of Management, University of Toronto & CIRANO, tmccurdy@rotman.utoronto.ca CenSoC, University of Technology, Sydney, ysong1@gmail.com 1

duration is quite different, 117. weeks (BB) versus 166.7 (LT). In other words, the different parameters and assumptions in the filtering methods can result in a different classification of market phases. Although the ex post dating algorithms can filter the data to locate different regimes, they cannot be used for forecasting or inference. In addition, since the sorting rule focuses on the first moment, it does not characterize the full distribution of returns. The latter is required if we wish to derive features of the regimes that are useful for measuring and forecasting risk. Also, as noted above, ex post dating algorithms sort returns into a particular regime with probability zero or one. However, the data provides more information allowing one to estimate probabilities associated with particular states. Nevertheless, the dating algorithms are still very useful. For example, we use the LT algorithm to sort data simulated from our candidate parametric models in order to determine whether the latter can match commonly perceived features of bull and bear markets. The Pagan and Sossounov (23) adaptation of the Bry-Boschan (BB) algorithm can be summarized as follows: 1. Identify the peaks and troughs by using a window of 8 months. 2. Enforce alternation of phases by deleting the lower of adjacent peaks and the higher of adjacent troughs. 3. Eliminate phases less than 4 months unless changes exceed 2%. 4. Eliminate cycles less than 16 months. Window width and phase duration constraints will depend on the particular series and will obviously be different for smoothed business cycle data than for stock prices. Sossounov (23) provide a detailed discussion of their choices for these constraints. Pagan and The Lunde and Timmermann (24) dating algorithm defines a binary market indicator variable I t which takes the value 1 if the stock market is in a bull state at time t and if it is in a bear state. The stock price at the end of period t is labelled P t. Our application of their dating algorithm can be summarized as: use a 6-month window to locate the initial local maximum or minimum. Suppose we have a local maximum at time t, in which case we set P max t = P t. 1. Define stopping-time variables associated with a bull market as 2. One of the following happens: τ max (Pt max, t I t = 1) = inf{t + τ : P t +τ Pt max } τ min (Pt max, t I t = 1) = inf{t + τ : P t +τ.8pt max } 2

If τ max < τ min, bull market continues, update the new peak value Pt max +τ max = P t +τ max and set I t +1 = I t +τ max = 1. Update t = t + τ max still as local maximum and continue with step 1 above. If τ max > τ min, we find a trough at time t + τ min and we have been in a bear market from t + 1 to t + τ min. Set I t +1 = = I t +τ min =. Record the value Pt min +τ min = P t +τ min and update t = t + τ min as local minimum. Go to step 3 below since t is a local minimum now. When t is a local minimum: 3 Bear market stopping times are 4 One of the following happens: τ min (Pt min, t I t = ) = inf{t + τ : P t +τ Pt min } τ max (Pt min, t I t = ) = inf{t + τ : P t +τ 1.2Pt min } If τ min < τ max, bear market continues, update the new trough value, P min P t +τ min step 3. t +τ min = and set I t +1 = = I t +τ min =. Update t = t + τ min and continue with If τ min > τ max we find a peak at time t +τ max and we have been in a bull market from t +1 to t +τ max. Set I t +1 = = I t +τ min = 1.Record the value P max t +τ max = P t +τ max and update t = t + τ max as a local maximum. Go to 1 above since t is a local maximum now. This process is repeated until the last data point. All periods with I t = 1 are in bull regime and I t = are in bear regime. 2 Results Figure 2 displays the density of each of the 4 states of the MS-4. The differences in the illustrated densities are in accord with the parameter estimates. Differences in the spreads of the densities are most apparent but the locations are also different. There is no suggestion from these plots that states 1 and 2 are the same or that states 3 and 4 are the same, as a two-state Markov-switching model would assume. Integrating state 1 and 2 gives the bear regime and doing the same for states 3 and 4 produces the bull regime. These densities are shown in Figure 3. The bear regime has a mean slightly below but with a much larger variance than the bull regime. The implied 3

unconditional density of returns is a mixture of these two regimes and displayed in the middle of the figure. The Markov-switching models specify a latent variable that directs low frequency trends in the data. As such, the regime characteristics from the population model are not directly comparable to the dating algorithms of Section 1. Instead, we consider the dating algorithm as a lens to view both the S&P5 data and data simulated from our preferred MS-4 model. Using parameter draws from the Gibbs sampler, we simulate return data from the model and then apply the LT dating algorithm to those simulated returns. This is done many times and the average and.7 density intervals of these statistics are reported in Table 2 along with the statistics from the S&P5 data. Although our model provides a richer 4 state description of bull and bear markets it does account for all of the data statistics derived from the LT dating algorithm. 2.1 Identification of Historical Turning Points in the Market 2.1.1 198-1985 In Figure 4, the market displays several moves between the bull market state and the bull correction state before a short-term move into a bear market in August of 1982. Once again the transition from a bull to bear market is through a bull correction state. However, the bear market that emerges has state 1 that lasts only about 4 weeks. This is followed by a bear rally that results in increased prices accompanied with substantial volatility. The bear rally turns into a bull market in late April of 1983, thereafter are periods of the bull market state and bull corrections. References Bry, G., and C. Boschan (1971): Cyclical Analysis of Time Series: Selected Procedures and Computer Programs. NBER, New Yor. Lunde, A., and A. G. Timmermann (24): Duration Dependence in Stock Prices: An Analysis of Bull and Bear Markets, Journal of Business & Economic Statistics, 22(3), 253 273. Pagan, A. R., and K. A. Sossounov (23): A simple framework for analysing bull and bear markets, Journal of Applied Econometrics, 18(1), 23 46. 4

Table 1: BB and LT Dating Algorithm Turning Points Troughs Peaks Troughs Peaks BB a LT b BB LT BB LT BB LT 1985-2 194-6 194-11 1885-4 1942-5 1942-5 1943-7 1886-12 1943-12 1946-5 1946-5 1888-6 189-6 189-6 1948-2 1948-2 1948-6 189-12 189-12 1892-3 1892-3 1949-6 1952-12 1893-8 1893-8 1895-9 1895-9 1953-9 1956-7 1956-7 1896-8 1896-8 1897-9 1957-12 1957-12 1959-7 1898-3 1899-4 196-1 1961-12 19-7 192-9 192-9 1962-7 1962-7 1966-2 1966-2 193-1 193-1 196-1 1966-1 1966-1 1968-12 1968-12 196-1 197-6 197-6 1971-4 197-11 197-11 199-8 199-8 1971-12 1973-1 1973-1 191-8 1912-1 1974-1 1974-1 1976-9 1914-12 1914-12 1916-11 1916-11 1978-3 1978-9 1917-12 1917-12 1919-7 1919-7 198-4 198-11 198-11 1921-6 1921-6 1929-9 1929-9 1982-8 1982-8 1983-6 1929-11 193-4 1984-8 1987-8 1987-8 1932-6 1932-6 1932-9 1987-12 1987-12 199-6 1933-3 1933-7 1933-7 199-1 2-3 2-3 1933-1 1934-2 22-1 22-1 27-1 27-1 1935-3 1935-3 1937-3 1937-3 29-3 29-3 21-1 21-1 1938-4 1938-4 1938-11 1939-4 1939-1 1939-1 a BB: Bry and Boschan algorithm using Pagan and Sossounov parameters b LT: Lunde and Timmermann algorithm 5

Table 2: Dating-algorithm filtering of data and simulated data S&P MS-4 Avg. number of bears 29 31.7 (22, 42) a Avg. bear duration 63.1 55.9 (4.5, 74.7) Avg. bear amplitude b -45. -43.4 (-52.7, -35.8) Avg. bear return -.71 -.8 (-1.8, -.57) Avg. bear std 3.16 3.15 (2.6, 3.73) Avg. number of bulls 28 31.4 (22, 42) Avg. bull duration 166.7 158.5 (13., 235.3) Avg. bull amplitude 66.4 6.2 (46.3, 8.) Avg. bull return.4.39 (.31,.48) Avg. bull std 2.53 2.42 a 7% density interval b Aggregate return over one regime (1.97, 2.91) 6

18852 189812 19121 19271 19411 19549 19687 19825 19963 1 2 3 4 5 6 7 BB decomposition 1 2 3 4 5 6 7 LT decomposition Figure 1: LT and BB dating algorithms 7

density..5.1.15.2.25.3.35 s=1 s=2 s=3 s=4 1 5 5 1 Figure 2: MS-4-States, State Densities density..5.1.15.2.25.3 Bear Bull Unconditional 1 5 5 1 Figure 3: MS-4-States, Regime Densities 8

Return RV..2.4.6.8 1. State Probabilities 32 34 36 38 Log price Index 1 2 3 4 5 RV s=1 s=2 s=3 s=4 1981 19811 19819 19827 19835 19843 19851 198512..2.4.6.8 1. Bull Probabilities Figure 4: MS-4, 198-1985 9