The analysis of stochastic volatility models is vital due to its applications in the areas of high frequency finance. In a statistical perspective, methods for fitting stochastic volatility (SV) models have the potential for wider applications. But applications for the modeling and prediction of time-varying volatility on financial markets cannot be undermined. These models are fundamental tools in risk management, asset pricing and asset allocation. The appropriate fitting of models with stochastic volatility is one of the demanding problems in time series analysis.
Stochastic volatility models can be interpreted as non-linear state space models in which the unobserved state is the stochastically evolving log volatility of the process. Since data is characteristically observable only at discrete points in time, discrete-time formulations of SV models are important in empirical applications. In financial mathematics and financial economics, stochastic volatility is typically modeled in a continuous-time setting. This formulation proves beneficial for derivative pricing and portfolio optimization. Constant volatility models have been shown to provide an inferior fit of financial time series. A more practical approach to volatility modeling is provided by dynamic structures. Stochastic volatility models are propellers for the modeling and prediction of time-varying volatility on financial markets.
Derivative pricing and portfolio optimization have benefitted from continuous-time stochastic volatility models and thus have figured prominently in financial mathematics and financial economics. The data being only observable at discrete points in time, discrete-time formulations of SV models are essential. Estimation of volatility, the wide swings observed in daily, weekly or monthly exchange rates can be studied, by convention, using discrete-time process. The arbitrary shift of volatility of exchange rates from one state to another in a random fashion is the corner stone of the approach advocated in this paper.
One approach to modeling time-varying volatility comes from the stochastic volatility models. The mixture-of-distribution hypothesis (MDH) postulated by Clark  , efficiently supports SV models. According to this hypothesis, asset returns follow a mixture of normal distributions with a mixing process depending on the (unobservable) information arrival process. A characteristic feature of financial return series is revealed for a positively auto correlated mixing process, namely volatility clustering. The MDH proposed that asset return volatility follows its own stochastic process which is restructured by unobservable developments, in contrast to the other approach, an autoregressive conditional heteroscedasticity (ARCH) model introduced by Engle  , followed by its generalization (GARCH) by Bollerslev  and other dynamic versions. Here, given the available information set, the conditional variance is a function of past observations.
The two approaches differ in the structure of the volatility process. The former follows its own stochastic process, with potential dependence coming through the correlation structure between the series and the volatility processes while the latter assumes dependence on the previous realized shocks in the series.
The likelihood of SV models is not directly available making it more complex compared to the widely used (Generalized) ARCH model. This SV framework requires the use of simulation techniques, like simulated maximum likelihood, method of simulated moments or Markov Chain Monte Carlo (MCMC) techniques. Computational costs render SV models less popular in financial practice although increasing computer efficiency and progress of competent sampling techniques weaken this drawback to a great extent. The basic SV model has been found to be restrictive for many financial time series. In this context, the relationship between volatility and price/return has been studied extensively.
SV models provide an ideal framework to accommodate specific properties of financial return processes such as fat-tailedness, leverage effects and the occurrence of jumps.
Estimation of stochastic volatility models has been widely studied. Generalizations of these models include jumps in returns and in volatilities and/or fat tails in distributions. Extensions include Bayesian analysis of univariate stochastic volatility (SV) processes, as in Jacquier et al.,  and multivariate stochastic volatility models proposed by Harvey et al.,  .
Previous study by Rebonato  assumed that the instantaneous volatility of the forward rates was a deterministic function of time to maturity only. A model of the swaption market that consisted of a hidden Markov chain with a normal and excited state was the focus of this study. The original deterministic volatility model does not accurately describe a market that is in a temporary “excited” state. The study by White et al.  extended this model in which two volatility curves exist: an excited curve and a normal curve for the instantaneous forward volatility. The volatilities in the swaption matrix result from averaging over all possible paths along the Markov chain. At any given time, the market was in one of these states and the transitions between these states were governed by a hidden Markov chain. Previous studies have used Markov chain models to describe option prices, but this study in interest rates involved transitions between functions rather than level. This model was applied to a longer period of US dollars at-the-money swaption volatility market data.
The study by Hautsch et al.  reviewed the general framework of discrete-time stochastic volatility models (SV) and illustrated the major principles of corresponding Markov Chain Monte Carlo (MCMC) based statistical inference. A practical approach was provided and that was implemented in empirical applications and financial practice. The results were based on different SV specifications using returns on stock indices and foreign exchange rates. The model was unable to capture the distributional properties of the returns.
Park  investigated the relationship between volatility and herd behaviour, a mounting topic in financial economics. The study developed a herd-behaviour-sto- chastic-volatility model that explained herding in financial markets and considered a Markov Chain Monte Carlo method as a competent method for estimating the model. The study illustrated theoretically that herd behaviour lead to a high increase in volatility but not trading volume as opposed to information inputs that increased in both volatility and trading volume. Empirical application with high frequency data in the Korean equity market supported this theory. The study proposed a methodology for detecting trading days with herding. This was based on the theoretical results from the percolation model that was based on the hypothesis of information cascades due to flawed information and the concepts of realized volatility and realized bipolar variation.
Hahn et al.  estimated the parameters governing a continuous time Markov switching model with observations given at discrete times only. The states for drift, volatility and the generator matrix of the underlying Markov process based on discretely observed data were estimated.
The extent of liquidity risk due to co-movements was studied within each class of market capitalization by Beaupain et al.  . The analysis of liquidity co-movements was dependent on volatility regime states. On an average, the extent of liquidity co-movements was positively related to the market capitalization of the portfolio. Also liquidity co-movements were least intense among small caps and most intense among large caps. On a cross-sectional basis, the extent of class-wide liquidity co-movements was typically greater in quiet markets for both large and mid-caps.
Chun et al.  proposed a method for calibrating the local volatility surface that reduced the computational complexity associated with many models and price options with the volatility skew. A continuous time semi-closed form solution based on the Markov chain approximation of Kushner  was adopted which could explain diffusion or a jump-diffusion. The study showed that the out-of-sample options can be accurately priced for both cases without regularisation.
The superiority of MRS-GARCH models to GARCH type of models in terms of modelling and forecasting gold price volatility was investigated by Sopipan et al.  . The study forecast the volatility of gold prices using Markov Regime Switching GARCH (MRS-GARCH) models. The models allow volatility to follow different dynamics according to unobserved regime variables. The closing prices of gold to trade future contract were predicted.
In this paper we advocate a new approach based on the market sentiments to analyse financial data rather than the traditional approach based on volatility measures. The analysis of financial data based on the market sentiments rather than the volatility has been recently advocated by Rao and Moseki  . Rao and Moseki, defined a typical market sentiment on the basis of certain function of mean and standard error of the Domestic Company Indices of Botswana Stock Exchange. Based on this surmise, the market sentiments were classified into various states, whereby states were named according to the perceptions of the market player. A multinomial probability model was built to capture the uncertainties in market sentiments. Two asymptotically distribution-free tests, namely the chi-square and the likelihood ratio test of goodness of fit for the hypothesis of the symmetry in market sentiments were suggested. Later on, Rao and Moseki  advocated an alternative approach, namely, a Markov model approach to analyse stock market sentiments based on the constructs detailed in  . They examined stationarity of the transition probability matrix associated with the market sentiments in DCI of BSE. Following the works of  , Rao and Anjana  analysed market sentiments of exchange rates of major global currencies. The data considered in their analysis referred to the logarithm of the ratio of successive daily exchange rates as opposed to the daily DCI considered in  .
The objective of this paper is to apply Markov approach of  to analyse market sentiments associated with major global currencies. The approach advocated here will be of interest to researchers, exchange rate traders and financial analysts. Section 2, describes a Markov model for market sentiments. The section deals with a certain classification rule that generates market sentiment states for the exchange rate data. The method of construction of a transition probability matrix and derivation of steady state probabilities are also discussed. The application of the proposed model and the related weekly and monthly market sentiment analysis pertaining to exchange rate of major global currencies is carried out in Section 3. The exchange rates data were drawn from the Bank of Botswana’s Botswana Financial Statistics database. The six currencies considered in the analysis are Euro (EUR), British Pound (GBP), Special Drawing Rights (SDR), Japanese Yen (YEN), South African Rand (ZAR) and US Dollar (USD). All the exchange rates have been quoted in terms of Botswana Pula (BWP). The time series data refers to the working day exchange rates of the six stated currencies for 12 years starting from 2001 and ending with 2012. Section 4 concludes the paper.
2. A Markov Model for Exchange Rate Sentiments
In this section we develop the approach which lead to the construction of market sentiment states from the given time series data of exchange rate. From the so obtained sequence of exchange rate market sentiment states, we build a Markov Model which captures the movement of exchange rate phenomena in terms of the transition probabilities among the exchange rate states. Using the estimated transition probability matrix (TPM), we explore the behaviour of market sentiment states.
2.1. A Seven State Exchange Rate Sentiment Classification Rule
Suppose that the time series data, related to exchange rates of major global currencies for period of N working days is available on a day to day basis. As in Rao and Anjana  , we use the following notations and the associated classification rule: “N”―total number of days in a study period, “”―refers to the day, “W”―total number of weeks in a study period, “w”―refers to the week, “”―denotes the number of business days in a week. Here, varies between 1 and 5 in a typical FOREX market. The data considered for the analysis here refer to the logarithm of the ratio of the day’s exchange rate, with the previous day’s exchange rate, i.e., log return defined by
Let the average of, for the week w be given by
and the variance of, for the week w be given by
For the week, the weekly market sentiment of exchange rate is said to belong to
1) State, if
2) State, if
3) State, if
4) State, if (3)
5) State, if
6) State, if
7) State, if.
Rao and Anjana  named these seven states respectively as: the dread sentiment, the bearish sentiment, the decline sentiment, the calm sentiment, the incline sentiment, the greed sentiment, the bullish sentiment. It may be pointed out that states and reflect smiling sentiments with varying degree while, states and reflect frowning sentiments with varying degree.
2.2. A k-State Sentiment Model for Exchange Rates
We assume that volatility in foreign exchange rates can be described by a Markov-like model so that the weekly and monthly market sentiments can be classified into seven states based on the classification rule (3) discussed in the previous section. The assumption is valid since the weekly market sentiments constructs are designed such that immediate future market sentiment construct depends only on the current state construct and not on the past states. Suppose that for a given log return data, we have the generated weekly market sentiment states obtained according to the classification rule (3). We briefly indicate below the theory related to the exposition of properties of a finite Markov Chain and inferences related to the TPM of the Markov Chain. In general, given the k states, let
, denote the number of transitions from state i to j. Let
. Let be the one-step transition probability from the state i to state j and the TPM of the Markov Chain be given by
For a given initial state i and a number of trials, the sample of transition counts can be considered as a sample of size from a multinomial distribution with probabilities, such that. Then it is well known that (refer to Bhat  ) the maximum likelihood estimators of are given by
Once we estimate the transition probability matrix P by for the weekly market sentiments of foreign exchange rates, we can explore the salient features of the exchange rate sentiment states in terms of the properties of the finite Markov Chain. For example, it would be interesting to 1) classify the sentiment states 2) find the stationary distribution of states and 3) compute the mean recurrence time for each state. Suppose that the limits exist such that and are independent of the initial state j for an irreducible ergodic chain. Then the limiting probability distribution is identical to the stationary distribution of the given chain. We recall that the stationary distribution of the Markov chain is given by
Finally the expected value of the recurrence time for state “i” is given by
It may be pointed out that the theoretical discussion of the aforementioned concepts can be found in Isaacson & Madsen  and we shall give the necessary computations in the example to be discussed in section 3 below. Further, a second problem of interest would be to investigate whether the weekly or monthly exchange rate market sentiments are stationary over a certain study period say. Such a question can be addressed in terms of the estimation and associated hypothesis testing problem applied to finite Markov chains with stationary (time-homogeneous) transition probability matrices as detailed below.
Suppose that the weekly TPM corresponding to the year “t” be given by
. Then the assumption that the weekly market sentiments over the “T” years are stationary is equivalent to test of the null hypothesis
. A likelihood ratio test statistic for testing, the stationarity of the TPM, can be developed as follows:
Let be the one-step transition probability of a time-dependent Makov process, such that
Let be the number of transition from “i” to “j” during the t-th transition of a process The maximum likelihood estimates of can be obtained as
, where, (9)
Note that is the number of processes in state i at time. To test the null hypothesis versus the alternative for at least one t, using the standard notations, the likelihood ratio criterion is given by
Using straight forward simplifications it can be shown that,
and under the null hypothesis has a Chi-Square distribution with
degrees of freedom. If some of the’s are zeroes, then the summation in (9) is taken only over those pairs for which. Then the degrees of freedom of -statistics will be, where “d” is obtained by taking into account that some of the’s are zero.
3. Applications to Major Global Currency Exchange Rate Sentiments
The application of the proposed model and the analysis of related weekly and monthly exchange rate is considered in this section. The daily FOREX data were drawn from the Bank of Botswana’s Botswana Financial Statistics database. The six currencies considered for the purpose of analysis are Euro (EUR), Great Britain Pound (GBP), Special Drawing Rights (SDR), Japanese Yen (YEN), South African Rand (ZAR) and United States Dollar (USD). The data considered is for a 12 year period from January 2001 to December 2012. The computations leading to weekly and monthly log returns, classification of the log returns to the exchange rate sentiment states according to the rule (3), derivation of steady state distributions and likelihood ratio test are not reported in this paper; but readers interested in these elaborate computations may contact the first author. Given time series of exchange rates consisting of W weeks of the year, we compute transitions of exchange rate sentiment states using the rule (3) described in section 2.1. Let be the number of transitions from state
“i” to state “j” and be the total number of times the process visits the state “i”,. for a given year “t”. Note that. Then the maximum likelihood estimator of transition probabilities from state “i” to state “j” is given by.
3.1. Analysis of Weekly Exchange Rate Sentiments
The application of the proposed model and the related weekly and monthly analysis pertaining to FOREX rate is carried out in this section. The time series data refers to the working day exchange rates of the six stated currencies for 12 years starting from January of 2001 and ending with December of 2012. The data considered for the analysis here refer to the logarithm of the ratio of the day’s exchange rate, with the pre-
vious day’s exchange rate, i.e.,. The data are clustered
into 626 weeks, where each week consists of 5 working days, Monday through Friday. The movements in the exchange rates are classified into the seven states
based on the rule described by (3). The estimated transition probability matrix for the weekly data using sequence of states generated by the classification rule (3) is calculated using the formula (5) described in section 2.2. We elaborate the computational procedure of obtaining TPM and the subsequent analysis of exchange rate sentiments for the currency EURO, while for other currencies; we simply provide the summary finding in the form of a table. For the period 2001 to 2012, the weekly FOREX transition count matrix and the estimated TPM for Euro is exhibited in Table 1 and Table 2. The entries in the Table 2 are calculated using the formula (5). For example,
and so on.
Table 1. Weekly transition count matrix for EURO sentiments during 2001 to 2012.
Table 2. Weekly TPM for EURO sentiments during 2001 to 2012.
Following standard computations, (see for example, Isaacson & Madsen  ), it can be shown that the transition probability matrix given by is ergodic. Further, using the definition of ergodicity, it can be concluded that the Markov chain is 1) irreducible 2) persistently non-null and 3) aperiodic. The weekly expected recurrence time
for the seven states are given by
The practical interpretation is that the EURO exchange rate bounced back to dread sentiment state once in every 14.31 weeks and to the incline sentiment once in every 4.09 weeks and so on, during the study period 2001 to 2012.
Turning to the test of the hypothesis of stationarity of weekly EURO FOREX sentiments during the study period 2001 to 2012, the application of the likelihood ratio test statistic given by (11) for Euro exchange rate yields. Given the estimated TPM for the years 2001 to 2012, it can be shown that, under the alternative hypothesis, the number of parameters to be estimated is 243, while under the null hypothesis, the parameters to be estimated is 40. Thus the likelihood ratio test statistic has a chi-square distribution with 203 degrees of freedom. From the table of distribution, we get. This implies that the hypothesis of stationarity of EURO FOREX sentiments during the period 2001 to 2012 cannot be accepted even with 0.5% significance level. In Table 3, we provide the summary of stationary proba-
bilities and expected recurrence times for all the six currencies con-
sidered. It is clearly seen from Table 3 that across the six exchange rates considered, the mean recurrence time for dread sentiment is around 14 - 21 weeks, for calm sentiment
Table 3. Summary of weekly FOREX sentiments for the period 2001 to 2012.
it is around 4 - 5 weeks, for greed sentiment it is around 8 - 10 weeks and so on. Further, it is interesting to note that for all the FOREX currencies considered, mean recurrence time for states towards the dread sentiment is uniformly more than that of greed sentiment. Table 4 provides the summary of the likelihood ratio tests for the stationarity of FOREX sentiments. It is seen that the hypothesis of stationarity of exchange rate sentiments during the period 2001 to 2012 is rejected in all the cases. It is not surprising though, because of the fact that the period 2001 to 2012 witnessed a whole lot of economic crises such as US housing bubble which peaked in 2004, 2007-08 global economic crises triggered by US stock markets, European sovereign-debt crisis, among others.
3.2. Analysis of Monthly Exchange Rate Sentiments
In this section we proceed to analyse monthly exchange rate sentiments. The data are clustered into 144 months, where each month consists of 20 - 22 working days. We modify the formula (1), (2) and (3) for the monthly data and accordingly generate the transition count matrix and estimated TPM as displayed in Table 5 and Table 6.
As in section 3.2, based on the monthly data, stationary probability distribution
corresponding to the Markov chain can be constructed applying the algebraic method. For the currency EURO, the stationary probabilities are estimated as follows.
Table 4. Summary of likelihood ratio test for stationarity of weekly FOREX sentiments.
Table 5. Monthly transition count matrix for EURO sentiments during 2001 to 2012.
Table 6. Monthly TPM for EURO sentiments during 2001 to 2012.
Table 7. Summary of monthly FOREX sentiments for the period 2001 to 2012.
Table 8. Summary of likelihood ratio test for stationarity of monthly FOREX sentiments.
We can make the following inference from the stationary probabilities.
: The EURO exchange rate sentiment is gloomy for about 7% in a year, i.e., 0.84 months of the total 12 months.
: The EURO exchange rate sentiment declines for about 13% in a year, i.e., 1.56 months of the total 12 months.
: The EURO exchange rate sentiment is suggestive of normal activity for about 23% in a year, i.e., 2.76 months of the total 12 months.
The weekly expected recurrence time for the seven states is given by.
This implies that the EURO currency bounced back to dread sentiment state once in every 14.41 months and the bearish sentiment state once in every 16.08 months and so on. The application of the likelihood ratio test statistic (11) for EURO gives. Table 7 provides the summary of the stationary probabilities and expected recurrence times of monthly FOREX sentiments for all the six currencies considered. In Table 8, we provide the summary of the likelihood ratio tests for the stationarity of the monthly FOREX sentiment states.
4. Discussion and Conclusion
In this paper, we have revisited the analysis of exchange rate sentiments in six major global currencies during the year 2001 to 2012. The global currencies considered are Euro (EUR), Great Britain Pound (GBP), Special Drawing Rights (SDR), Japanese Yen (YEN), South African Rand (ZAR) and United States Dollar (USD). The data considered is for a 12 year period from January 2001 to December 2012. The weekly and monthly fluctuations in exchange rates are the key to the proposed analysis. The interdependence in the weekly and monthly average exchange rates is captured in terms of a Markov model. The state space of the finite dimensional Markov Chain is arrived at using a data driven classification rule. The states of the Markov model are ordinal in nature and are appropriately named based on the common perceptions witnessed in a stock market. The analysis of the data is carried out in two directions. In the first place, we consider the aggregate data from 2001 to 2012 and estimate the transition probability matrix for each of the six FOREX currencies considered. We derive the stationary probabilities of the seven exchange rate sentiments and estimate the expected recurrence time for the process to each of the seven states. The conclusions drawn from the weekly expected recurrence for the seven states are as follows: The EUR, GBP, SDR and YEN currency sentiments took longer time to return to the bearish state during the period 2001 to 2012. The USD currency sentiment took approximately the same time to return to the dread and bearish sentiments. In the case of ZAR currency, the time to return to the dread sentiment was the highest. For the monthly expected recurrence times, the states dread, bearish and greed sentiments witnessed longer time to return as compared to other sentiments for the currencies EUR, GBP and SDR. The dread sentiment indicated by state was the least visited state for YEN and USD while the states and for ZAR. Clearly, both the weekly and monthly FOREX sentiments turned out by highly speculative during the study period.
The second direction of the analysis is to examine the weekly and monthly exchange rate sentiments for each year of study from 2001 to 2012. This analysis is carried out by examining the stationarity of the estimated TPM for the weekly and monthly data. The analysis revealed that the pattern of transition from one sentiment state to another is altered from year to year.
 Bollerslev, T.A. (1987) A Conditional Heteroscedastic Time Series Model for Speculative Prices and Rates of Return. Review of Economics and Statistics, 69, 542-547.
 Jacquier, E., Polson, N.G. and Rossi, P.E. (2004) Bayesian Analysis of Stochastic Volatility Models with Fat-Tails and Correlated Errors. Journal of Econometrics, 122, 185-212.
 Rebonato, R. (2005) Forward-Rate Volatilities and the Swaption Matrix: Why Neither Time-Homogeneity Nor Time Dependence Will Do. International Journal of Theoretical and Applied Finance, 9, 705-746.
 Hautsch, N. and Ou, Y. (2008) Discrete-Time Stochastic Volatility Models and MCMC-Based Statistical Inference. Humboldt-Universitatzu Berlin, Germany, SFB 649 “Economic Risk” Discussion Paper 2008-063.
 Hahn, M. and Sass. J. (2009) Parameter Estimation in Continuous Time Markov Switching Models: A Semi-Continuous Markov Chain Monte Carlo Approach. Journal of Bayesian Analysis, 4, 63-68.
 Sopipan, N., Pairote, S. and Bhusana, P. (2012) Forecasting Volatility of Gold Price Using Markov Regime Switching and Trading Strategy. Journal of Mathematical Finance, 2, 121-131.