Академический Документы
Профессиональный Документы
Культура Документы
Quantitative Finance
Publication details, including instructions for authors and subscription information:
http://www.tandfonline.com/loi/rquf20
To cite this article: Haiqiang Chen , Terence Tai-Leung Chong & Xin Duan (2010) A principal-component approach to
measuring investor sentiment, Quantitative Finance, 10:4, 339-347, DOI: 10.1080/14697680903193389
Taylor & Francis makes every effort to ensure the accuracy of all the information (the “Content”) contained
in the publications on our platform. However, Taylor & Francis, our agents, and our licensors make no
representations or warranties whatsoever as to the accuracy, completeness, or suitability for any purpose of
the Content. Any opinions and views expressed in this publication are the opinions and views of the authors,
and are not the views of or endorsed by Taylor & Francis. The accuracy of the Content should not be relied
upon and should be independently verified with primary sources of information. Taylor and Francis shall
not be liable for any losses, actions, claims, proceedings, demands, costs, expenses, damages, and other
liabilities whatsoever or howsoever caused arising directly or indirectly in connection with, in relation to or
arising out of the use of the Content.
This article may be used for research, teaching, and private study purposes. Any substantial or systematic
reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any
form to anyone is expressly forbidden. Terms & Conditions of access and use can be found at http://
www.tandfonline.com/page/terms-and-conditions
Quantitative Finance, Vol. 10, No. 4, April 2010, 339–347
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
xOther composite measures have also been studied in the literature. For example, the El Paso index of coincident economic activity
compiled by the Federal Reserve Bank is based on non-agricultural employment, unemployment rate, inflation-adjusted wages and
inflation-adjusted retail sales. Weymark (1998) constructs an exchange market pressure index (EMP) to measure the exchange
market pressure.
Quantitative Finance
ISSN 1469–7688 print/ISSN 1469–7696 online ß 2010 Taylor & Francis
http://www.informaworld.com
DOI: 10.1080/14697680903193389
340 Feature
13000
Index
7000
1998 1999 2000 2001 2002 2003 2004 2005 2006
Time
0.1
Return
0
−0.1
Figure 1. The daily Hang Seng Index and its return series.
high arbitrage costs exhibit low subsequent returns if the 2. Stock market sentiment
initial investor sentiment is high. Wang et al. (2006) study
two sentiment indicators based on the surveys of the 2.1. Variables of interest
American Association for Individual Investors and
Observations of daily prices and turnover of the Hang
Investors Intelligence and show that the sentiment mea-
Seng Index from January 1998 to August 2006 are
sures are affected by the realized volatility and returns.y
obtained from DataStream. The return series, which is
In this paper, we endeavour to construct a comprehen-
defined as the log difference of the index, is plotted in
sive market sentiment measure for the Hong Kong
figure 1.
stock market. The method is similar to Baker and A new measure of market sentiment based on the
Wurgler (2006), who study the sentiment of the US principal component of the following factors will be
stock market using monthly data. Compared to the US developed.
stock market, the Hong Kong stock market is much
smaller and its market sentiment is easily affected by
events occurring in China and other Asian countries. In 2.1.1. Turnover. The market sentiment can be observed
our paper, daily data are used in order to capture the from the turnover of the market. Ying (1966) finds that a
rapid change of sentiment. Factors under consideration small turnover is typically followed by a fall in price while
include the short-selling volume, the Hong Kong a large turnover is associated with a rise in price. In
Inter-bank Offered Rate (HIBOR), Relative Strength general, the turnover is high in bull markets and low in
Index (RSI), Money Flow Index (MFI), the performances bear markets (Karpoff 1987). Thus, the turnover infor-
of the US and the Japanese equity markets, and market mation is an important component of our sentiment
turnover (Liu 2006). The stock market sentiment index is measure. We define a turnover ratio as follows:
defined as the first principal component obtained from a
VMA10t
Principal Component Analysis (PCA). The new measure Ravt ¼ 100 , ð1Þ
is applied to classify the market states of Hong Kong VMA250t
using a threshold model framework. The out-of-sample where VMA250t is the average turnover for the past 250
forecasting performance of our model is evaluated and a trading days, while VMA10t is the average turnover for
profitable sentiment based trading rule is proposed. the past 10 days.z The Rav series is shown in figure 2.
The paper is organized as follows. Section 2 constructs
a new sentiment index via the principal-component
approach. A threshold model is estimated in section 3 2.1.2. Short selling. Figlewski (1981) studies the rela-
to uncover the underlying states of the Hong Kong stock tionship between the level of short interest and subse-
market. Section 4 evaluates the out-of-sample forecasting quent stock returns. He argues that abnormal returns are
performance and the profitability of our trading rule. often due to temporary sentiment brought about by
Section 5 is the conclusion. short-selling activities around the event dates. Thus, we
yOther studies on market sentiment include Baker and Stein (2004), Qiu and Welch (2004), Bodurtha et al. (1995), Barberis et al.
(1998), Clarke and Statman (1998) and Cornelli et al. (2006).
zThe 10-day average is used for smoothing, while the 250-day average is usually used to differentiate between bull and bear markets.
Feature 341
Turnover
40000
250 average line
0
1998 1999 2000 2001 2002 2003 2004 2005 2006
Time
2
Rav
1
0
Time
0.2
HIBOR
0.1
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
0.0
yThe estimates reported in equation (7) are obtained by converting the original estimates from the standardized model, which is
estimated by applying the PCA to the standardized variables subject to the constraint that the vector of the estimates is of unit
length.
Feature 343
80
RSI
40
0
1998 1999 2000 2001 2002 2003 2004 2005 2006
80 Time
MFI30
40
0
Time
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
Table 1. Descriptive statistics of factors. Note that the turnover variable is positively related to
market sentiment. Both the RSI and MFI positively affect
Mean Median SD
the sentiment index. The HIBOR is negatively associated
Rav 1.118 1.006 0.368 with the sentiment index. An increase in the short-selling
RSI 52.51 52.39 18.26 activities will lower the market sentiment. The perfor-
MFI 53.44 54.17 11.17
HIBOR 0.030 0.031 0.021
mance of the US and Japanese markets has a positive
SR 0.037 0.033 0.021 relationship with the Hong Kong stock market sentiment.
SP 0.0001 0.000 0.012 The sentiment index is plotted in figure 7.
JAP 0.0002 0.000 0.014
3
2
1
0
SMS
−1
−2
−3
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
−4
However, there is no definitive method in the literature where yt is defined as 100 ln(Pt/Pt1), and SMSt1 is the
on how to obtain the market cycles. Fabozzi and threshold variable. For forecasting purposes, SMSt1 is
Francis (1977) and Kim and Zumwalt (1979) define a constructed from the past data at time t. fi()
bull market as a period when returns in any given are well-defined functions such that fi() 6¼ fj () for i 6¼ j,
month exceed a certain threshold value. Recently, the i’s are finite-dimensional parameters, it denotes
Pagan and Sossounov (2003) define the bull and bear noise terms and 1, . . . , n are threshold values. According
states based on cumulative price changes. Lunde and to the results in the previous section, the SMS varies
Timmermann (2004) obtain the bull and bear states via approximately from 4 to 4. Two threshold values are
a filter that tracks the movements between local peaks detected in this range using the method of Tsay (1998).
and troughs. In this paper, we use our new sentiment Thus, the model can be written as follows:
8
measure to define the stock market cycle of Hong >
> a0 þ a1 yt1 þ a2 yt2
Kong. The following multivariate threshold model >
>
>
> þ þ ap1 ytp1 þ 1t if SMSt1 1
>
>
(Tsay 1998, Bai et al. 2007) using the stock market >
< þ y þ y
sentiment index as the threshold variable will be 0 1 t1 2 t2
yt ¼
estimated to capture the nonlinear movement of the > þ þ p2 ytp2 þ 2t if 1 5 SMSt1 2
>
>
>
stock index.y >
> 0 þ 1 yt1 þ 2 yt2
>
>
8 >
:
> f1 ðyt1 ,yt2 ,.. .; 1t j1 Þ, if SMSt1 1 þ þ p3 ytp3 þ 3t if 2 5 SMSt1 :
>
>
< f ðy ,y ,.. .; j Þ, if 5SMS ð9Þ
2 t1 t2 2t 2 1 t1 2
yt ¼ ð8Þ
>
> ... We apply the model to the daily Hang Seng Index. The
>
:
fn ðyt1 ,yt2 ,.. .; nt jn Þ, if n 5SMSt1 : sample period is from 26 January 1998 to 21 August 2006.z
yA growing body of studies has examined the nonlinearity of stock prices. For example, Tong (1983) applies the STAR model to the
movement of the IBM stock price. Li and Lam (1995) investigate the asymmetric behaviour of stock prices in bear and bull markets
by using a threshold type ARCH model. Recently, Shively (2003) employs a three-regime threshold random-walk model to explain
the movements of stock market indices.
zThe first 250 observations are used to construct the moving average, while the last 200 observations are for the out-of-sample
forecast evaluation. The number of observations for estimation is 1666.
Feature 345
19
17
15
13
11
9
7 HSI
Index
SMS
3
1
−1
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
−3
−5
−7
−10
Figure 8. Hang Seng Index and market sentiment Index from 1999 to 2006.
Table 2. The threshold test result. Both threshold values are significant at the 5% level
Threshold value 0.92 1.47 since the observed test values are larger than their
Observed test value 16.47 27.01 bootstrap critical values. Based on the estimation results,
Bootstrap critical value 9.94 16.58 the stock market is classified into three regimes. A com-
**significant at the 5% level. parison of our sentiment index and the Hang Seng Index
is shown in figure 8. The two extreme market states
determined by the threshold values are shaded. It can be
The estimation result is as follows: seen from figure 8 that when the Hang Seng Index is rising
yt (falling), the value of the sentiment index is generally high
8 (low).
>
> 0:13 0:094yt1
>
>
>
> 0:037yt2
>
>
>
> þ 0:09yt3 þ 1t if SMSt1 0:92
>
>
>
> 0:05 þ 0:1yt1 4. Predictive ability
>
>
>
>
> þ 0:0005yt2
>
>
< þ 0:067y The significance of our results is demonstrated via the out-
t3
¼ of-sample forecasting performance of the threshold model
>
> þ 0:02yt4
>
> and the profitability of a sentiment-based trading rule.
>
> 0:053yt5 þ 0:05yt6
>
>
>
> þ 2t if 0:925 SMSt1 1:47
>
> 4.1. Forecasting evaluation criteria
>
>
>
> 0:17 þ 0:05yt1
>
> Consider a sample size of T ¼ m þ n. We use a rolling
>
> 0:18yt2
>
: sample {ytmþ1, . . . , yt} of size m to estimate model param-
0:12yt3 þ 3t if 1:475SMSt1 :
eters, and then generate a sequence of one-step-ahead
ð10Þ ytþ1 gT1
forecasts fb t¼m . We compare the out-of-sample fore-
To test whether there are threshold effects, the likelihood casts of our model with the martingale model, AR model,
ratio test of Hansen (2000) is performed. The test results and the multivariate threshold AutoRegressive (TAR)
are reported in table 2. model of Tsay (1998) in terms of the Mean Squared
346 Feature
Table 3. The forecasting results.
indices: the Hang Seng HK Largecap Index and the Hang
Models MSFE MAFE Seng HK Smallcap Index. The former is constructed from
the top 15 stocks based on market capitalization, while
Martingale 0.98 0.68
the latter is compiled from companies ranked 51st or
AR model 0.93 0.69
Tsay’s TAR 1.55 0.68 below. Table 4 reports the MFTR of our sentiment-based
TAR_SMS 0.26 0.68 trading rule.
Note that our trading strategy achieves a higher profit
than the buy-and-hold strategy. Recall that yt is defined
Table 4. Trading-rule profits.
as 100 ln(Pt/Pt1), so the result implies that the daily
Trading strategy MFTR profit of our trading rule is 0.135%, as compared to
0.085% of the buy-and-hold strategy. Note also that
SMS based trading rule (HSI) 0.135
SMS based trading rule (Largecap) 0.090
small stocks are more sensitive to market sentiment than
SMS based trading rule (Smallcap) 0.139 large stocks. The corresponding MFTR for the Hang
Buy-and-hold 0.085 Seng HK Smallcap Index is 0.139%, while that for the
Largecap Index it is only 0.09%.
5. Conclusions
Downloaded by [Moskow State Univ Bibliote] at 14:43 16 February 2014
Fabozzi, F.J. and Francis, J.C., Stability tests for alphas and Qiu, L. and Welch, I., Investor sentiment measures. Working
betas over bull and bear market conditions. J. Finan., 1977, Paper 10794, 2004 (National Bureau of Economic Research
32, 1093–1099. (NBER)).
Fan, J.Q. and Yao, Q., Nonlinear Time Series, pp. 313–393, 2003 Shively, P.A., The nonlinear dynamics of stock prices. Quart.
(Springer-Verlag: New York). Rev. Econ. Finan., 2003, 43, 505–517.
Figlewski, S., The informational effects of restrictions on short Swaminathan, B., Time varying expected small firm returns and
sales: some empirical evidence. J. Finan. & Quant. Anal., 1981, closed-end fund discounts. Rev. Finan. Studies, 1996, 9,
16, 463–476. 845–887.
Hansen, B.E., Sample splitting and threshold estimation. Tong, H., Threshold Models in Nonlinear Time Series Analysis,
Econometrica, 2000, 68, 575–603. Lecture Notes in Statistics, Vol. 21, 1983 (Springer-Verlag:
Hong, Y.M. and Lee, T.W., Inference on predictability of New York).
foreign exchange rates via generalized spectrum and Tsay, R.S., Testing and modeling multivariate threshold models.
nonlinear time series models. Rev. Econ. Statist., 2003, 85, J. Amer. Statist. Assoc., 1998, 93, 231–240.
1048–1062. Wang, Y.H., Keswani, A. and Taylor, S.J., The relationships
Karpoff, J.M., The relation between price changes and between sentiment, returns and volatility. Int. J. Forecasting,
trading volume: a survey. J. Finan. & Quant. Anal., 1987, 2006, 22, 109–123.
22, 109–126. Weymark, D.N., A general approach to measuring exchange
Kim, M.K. and Zumwalt, J.K., An analysis of risk in bull market sentiment. Oxford Econ. Papers, 1998, 50, 106–121.
and bear markets. J. Finan. & Quant. Anal., 1979, 14, Ying, C.C., Stock market prices and volumes of sales.
1015–1024. Econometrica, 1966, 34, 676–685.