<< Chapter < Page Chapter >> Page >

Parameter estimation

For each currency, k and week t , θ k , t = ( α k , t , β k , t , γ k , t ) . Estimates θ ^ k , t were based on a moving 26 week window of data. For example, α k , t = ( α k , t , 1 , , α k , t , 9 ) were estimated from Y t - 1 Y t - 26 and X t - 1 X t - 26 (when volatility covariates were included). The partial log-likelihood function is

l ( α k , T , β k , T , γ k , T Y k , X k ) = t = T - 26 T j = 1 J y k t j l o g P ( Y k , t = j ) = t = 1 T j = 1 J y k t j [ F ( α k t j - ( β k t j T Y k , t - 1 , l k + γ k , t T X k , t - 1 , l k ) ) - F ( α k t , j - 1 - ( β k t j T Y k , t - 1 , l k + γ k , t T X k , t - 1 , l k ) ) ]

Parameters, θ ^ k , t = ( α k , t , β k , t , γ k , t ) were estimated using a version of the Nelder and Mead algorithm on the penalized problem:

θ ^ k , t = argmax α k , t , β k , t , γ k , t l ( α k , t , β k , t , γ k , t ) + λ j = 2 J - 1 arctan ( α k , t , j - α k , t , j - 1 )

The penalization λ j = 2 J - 1 arctan ( α k , t , j - α k , t , j - 1 ) ensures the constraint α k , t , j > α k , t , j - 1 is maintained in the solution.

The α s where initialized with the quantiles of the L o g i s t i c ( 0 , 1 ) distribution I could not use a data based initialization such as the method of moments to initialize the optimization since ξ s are not observed. . Table 1 lists initial and estimated value of α k , 27 for each k .

Lag estimation

For each 26 week window, the lag order l k of each currency k was determined by building nested models 0 l k 7 and comparing adjacent models using the partial likelihood ratio test.

λ N = - 2 l ( θ ^ 1 , N ) - l ( θ ^ 2 , N ) , θ ^ 1 Θ 1 , θ ^ 2 Θ 2 , Θ 1 Θ 2

For example, at t = 26 , we wish to estimate the lag for P ( Y k , 27 = 1 | F t - 1 ) . Models to be tested are,

  1. M k , 0 ξ k , 27 = ϵ 27 .
  2. M k , 1 ξ k , 27 = β k , 26 T y k , 26 + γ k , 26 T x 26 + ϵ 27
  3. M k , 2 ξ k , 27 = β k , 26 T y k , 26 + β k , 25 T y k , 25 + γ k , 26 T x 26 + γ k , 25 T x 25 + ϵ 27
  4. M k , 7 ξ k , 27 = β k , 26 T y k , 26 + + β k , 20 T y k , 20 + γ k , 26 T x 26 + + γ k , 20 T x 20 + ϵ 27

Due to the computation time required to compute the lag for each window (parameters up to lag seven had to be estimated) for each window (over all instruments). On my pc it took over 10 hours. , I chose to keep the lag order of each instrument fixed to that obtained from the first window, ([ t = 1 , t = 26 ]).These estimates are shown in Table 2. Since l E U R = 0 when volatility is included as predictor, I set l E U R 2 .

With the lags estimated from the first six months, the appropriate model M k , i , i = 1 , , 7 , k = 1 , , 10 , for each instrument is identified. Then, after each week t , the one-step transition probability estimates P ^ ( Y k , t = j | F t - 1 ) , are estimated by estimating parameters ( α k , t , β k , t , γ k , t ) from the past 26 weeks of rank and volatility data then estimate ξ k , t using model M k , i . Finally estimate

P ^ ( Y k , t = j | F t - 1 ) = F ( α ^ j - ξ ^ k , t ) - F ( α ^ j - 1 - ξ ^ k , t )

. These steps are summarized in Figure 1.

Steps to obtaining transition estimates

For the periodic transition probability model let P h k ( t , j ) represent the transition probability of currency k being in ranking j at week t. Obtain P ^ h k ( t , j ) from P ^ k , j , t = P ^ ( Y k , t = j | F t - 1 ) , t = 27 , , 250 as follows. Estimate h k as the dominant frequency obtained from spectral analysis of { P ^ k , j } . Suppose the sequence { P ^ k , j } is of length N . Let M = N h k

P ^ h k ( j ) = 1 M i = 0 ; t = 27 + i h k M ( P ^ k , j , t , , P ^ k , j , ( t + h k ) )

Then for some week t , if s = t mod ( h k ) , then

P ^ h k ( j , t ) = P ^ h k ( j , s ) s = 0 , 1 , , h k - 1

The flow chart in Figure 2 summarizes the steps followed to obtain the P ^ h k ( j , t ) estimates.

Steps to obtaining periodic transition estimates

Results

Figures 3, 4, 5 and 6 show the estimated transition probabilities for YEN and the AUD from week 27 to week 127. From Figures 5 and 6 we observe that for AUD, on average P ^ ( Y k , t = 1 | F t - 1 ) and P ^ ( Y k , t = 10 | F t - 1 ) tend to have lowest value over the most weeks than any of the other ranking categories. This result matches intuition; if a currency has higher odds of yielding the most (least) return over a long period, more market players will buy (sell) the instrument exerting an upward (downward) pressure on its price thereby reshuffling rankings (and ranking probabilities). However, the estimated transition probabilities for the YEN contradict this assumption (see Figure 5). P ^ ( Y k , t = 10 | F t - 1 ) tended to be much higher on average than P ^ ( Y k , t = 1 | F t - 1 ) , which tended to be least. Overall, Figures 36 highlight two shortcomings: the requirements:

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, The art of the pfug. OpenStax CNX. Jun 05, 2013 Download for free at http://cnx.org/content/col10523/1.34
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'The art of the pfug' conversation and receive update notifications?

Ask