Does A Real Exchange Rate Have A Mean Reverting Property?: e Be The Logarithm of Exchange Rate of A Country and PP Be

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 14

STAT421 (Final Report for term project) Ryu, Deockhyun Nov.

27, 2001

Does a real exchange rate have a mean reverting property?


1. Introduction
In international economics, the Purchasing Power Parity (hereafter PPP) is a well-known theory. It states that the real exchange rate (nominal exchange rate adjusted for differences in national price level) tends toward PPP in the very long
* run. Let et be the logarithm of exchange rate of a country and pt , pt be

logarithms of price level of base country and the country, respectively. Then the real exchange rate xt is xt = et ( pt pt ) Whether PPP holds in the long run or not is equivalent to whether real exchange rate is stationary or not. More specifically we equate this hypothesis to whether or not the real exchange rate is a random walk. Thus in the literature of economics, the test of PPP is same as the test of stationarity for real exchange rate. Consider the following simple AR(1) model. xt = xt 1 + t where t is white noise with mean 0 and finite variance. If we reject the null hypothesis of = 1 , then we can say that xt is stationary and has a property of mean reversion. Thus, we can say the PPP theory holds in the long run. In this paper, we want to examine this property with the real exchange rate of British Pound via US dollar.
*

2. Description about data


As defined in the above, we need three time series, a countrys nominal exchange rate, price level (Consumer Price Index, CPI), and CPI for base country (here, USA). The data were taken from International Financial Statistics (IFS) CD-ROM from International Monetary Fund (IMF). The period we consider is 1973:1-1998:12. Thus the length is 312. After the Bretton Woods system collapsed in 1973, the exchange rate regime shifted from fixed rate system to floating rate system. Thus, it is interesting to test PPP theory over those periods. We consider the monthly data and annual data. For annual data, we take this from Lothian and Taylor (1996). The annual data is running from 1791 to 1990.

3. Preliminary analyses
We begin by examining a few basic plots for each of the data sets; time series plot, estimated ACF, PACF, and the histogram of the time series. First, below are the basic plots of monthly exchange rate. The exponential decay of ACF and a basically zero PACF after the first lag seems to indicate AR(1) process. But, from the time series plot, we guess this is not a stationary because the mean is not same over the sub period. Also the PACF at lag 1 is almost 1 as well as the ACF. Thus, we need to stationary version of this data and from figure 2 we know that first difference is stationary. Below (figure 3, 4 ) are basic plots of annual data. It shows similar pattern with monthly data. It seems non-stationary. Thus we need also first differencing.

Figure 1. The basic plot of monthly data

The Monthly Real Exchange rate


-0.4 80

Histogram

-0.8

-1.2

-1.6

Jan 1975

Jan 1985 Time in months

Jan 1995

0 -1.6

20

40

60

-1.2

-0.8 rerm

-0.4

Series : rerm
Partial ACF 0.4 0.8 0.8

Series : rerm

ACF 0.4

0.0

0.0

0.5

1.0 1.5 Lag (in months)

2.0

0.0 0.0

0.5

1.0 1.5 Lag (in months)

2.0

From the figure 2, we know that first differencing make the series as stationary. In glance, the differenced series seems MA(2) from ACF or AR(16) from PACF.

Figure 2. The basic plot of first difference of monthly data

First Difference of monthly data


0.10 80

Histogram

0.0

-0.10

Jan 1975

Jan 1985 Time in months

Jan 1995

0 -0.15

20

40

60

-0.05

0.0 drerm

0.05

0.10

0.15

Series : drerm
Partial ACF 0.0 0.10 0.8

Series : drerm

ACF 0.4

0.0

0.5

1.0 Lag (in months)

1.5

2.0

-0.10 0.0

0.0

0.5

1.0 Lag (in months)

1.5

2.0

Figure 3. The basic plot of annual data

T Y he early R al E e xchang rate e


-1.8 -1.6 -1.4 -1.2 10 20 30 40 50

H gram isto

1800

1850

1900 Tim in years e

1950

0 -2.0

-1.8

-1.6 rery

-1.4

-1.2

S eries : rery
Partial ACF 0.4 0.8 0.8

S eries : rery

ACF 0.4

0.0

10 15 Lag (in years)

20

0.0 0

10 15 Lag (in years)

20

Figure 4. The basic plot of first difference of annual data

First Difference of yearly data


10 20 30 40 50 60 0.2

Histogram

-0.2

0.0

1800

1850

1900

1950

0 -0.3

-0.2

-0.1

0.0 drery

0.1

0.2

Time in years

Series : drery
1.0 Partial ACF -0.1 0.0 0.1

Series : drery

0.2

ACF

0.6

-0.2

10 15 Lag (in years)

20

-0.2 0

10 15 Lag (in years)

20

From the preliminary analyses of data, it seems that the PPP does not hold for the real exchange rate of British pound in monthly and annual data set. The next step is to confirm this result by statistical method. We will estimate the coefficients of AR(1) model for those two series. Thus we can tell more correctly whether the PPP theory holds or not.

4. Estimation and Unit root test


4.1 Estimation

We estimate the AR(1) coefficient to evaluate the PPP hypothesis. We consider AR(1) model with and without constant term. Consider the following models; Model 1: rerm(t)=a+b*rerm(t-1)+w(t) Model 2: rerm(t)= Model 4: rery(t)= bb*rerm(t-1)+v(t) dd*rery(t-1)+d(t) Model 3: rery(t)=c+d*rery(t-1)+e(t)

Where rerm and rery denote monthly and yearly real exchange rates, respectively. And w(t), v(t), e(t) and d(t) are white noise. The table1 shows the results of estimation. We estimate these models by Gauss. For the more complete regression results, please see the appendix 2. From the table 1, it seems that every AR(1) coefficients are close to 1, i.e., the real exchange rate seems to follow random walk irrespective of its frequency. But we should be cautious of this. As stated in next section, the judgement will be deferred after the unit root test.
< Table 1. Regression results for real exchange rate > Variable Model 1 Model 2 Model 3 Model 4 Constant AR(1)variable AR(1)variable Constant AR(1)variable AR(1)variable Coefficient -0.00679512 0.985912 0.993931 -0.161493 0.897915 0.998878 Standard error 0.00444419 0.00573372 0.00232135 0.0508652 0.0319532 0.00319828 t-Ratio -1.52899 171.950 428.170 -3.17492 28.1009 312.317

4.2 Unit root test

It is well known that the use of data characterized by unit roots has the potential to lead to serious errors in inferences. Thus, instead of using conventional t-statistics, Dickey-Fuller propose an appropriate set of critical values for testing the hypothesis that AR(1) coefficient equals 1 in AR(1) regression when there truly is a unit root by Monte Carlo methods. The hypothesis may be carried out with a conventional t test, but with a revised set of critical values. A few of the values from the Dickey-Fuller tables are reproduced in Table 2.

For example, consider the model 1

rerm(t)= -0.00679512+0.985912*rerm(t-1) (0.00444) (0.00573372)

Standard errors are in parenthesis. We have a null hypothesis that the AR(1) coefficient equals 1, i.e. H: b=1. By simple calculation, we get the conventional t
t=(0.985912-1)/0.00573372=-2.00

Based on the conventional critical point of 1.96, we would reject the hypothesis of a unit root. But the value from table 2 for 311 observations would be roughly 3.12 (for 5% size test). So the hypothesis of a unit root is decidedly not rejected. That means the real exchange rate shows random walk with drift and the PPP hypothesis does not hold. The annual data is same. Consider model 4. By doing same t test, we can get 0.35 of t-statistics (=(0.998878-1)/0.003198). It clearly shows that the annual model also cannot reject the null of random walk.
< Table 2. Critical Values for the Dickey-Fuller Test > Sample Size 25 AR model 0.01 0.025 0.0975 0.99 AR model w/constant 0.01 0.025 0.0975 0.99 -3.75 -3.33 0.34 0.72 -3.58 -3.22 0.29 0.66 -3.51 -3.17 0.26 0.63 -3.33 -3.12 0.23 0.60 -2.66 -2.26 1.70 2.16 -2.62 -2.25 1.66 2.08 -2.60 -2.24 1.64 2.03 -2.58 -2.23 1.62 2.00 50 100

5. Conclusion

We studied the dynamic process of real exchange rate by simple AR(1) process. As expected in preliminary data analyses, we could know that the real exchange rate is not stationary but first order difference stationary. And we confirm the first glance judgement by conducting Dickey Fuller Unit root test. From the unit root test, we can say the real exchange rate shows random walk not mean-reverting process. This implies the PPP theory does not hold over the British pound via. American dollar. But we have several drawbacks. First, the models that we choose are all linear. There are many articles arguing nonlinearity or nonlinear adjustment of real exchange rate. The potential nonlinear models used in recent literature are Threshold Auto-Regression (TAR), Exponetianl Transition Auto-Regression (ESTAR) and Logistic Transition Auto-Regression (LSTAR). Second, we did not consider the serial correlation in our model. Then, we conduct the different unit root test, for example, Augmented Dickey-Fuller (ADF) test. Finally, the frequency of data we consider is too low. The problem is that we cannot find the higher frequency price data though we can have very high frequency exchange rate data.

References Shumway, Robert H. and David S.Stoffer (2000), Time Series Analysis and its Application. New York:Spring-Verlag Greene, William (2000), Econometric Analysis, 4th Edition. Prentice Hall

< Appendix 1: S-plus code > ################################################################ # Data retrieving ################################################################ rerm_scan("d:\\dhryu\\stat421\\reruk.txt") rery_scan("d:\\dhryu\\stat421\\uk_lt.txt") rerm<-rts(rerm, start=c(1973,1), end=c(1998,12), units="months", frequency=12) rery<-rts(rery, start=1791, end=1990, units="years", frequency=1) nm<-length(rerm) ny<-length(rery) drerm<-diff(rerm) drery<-diff(rery) ndm<-length(drerm) ndy<-length(drery) ndm ndy ################################################################ # Basic time series plot ################################################################

prettyplot<-function(x,y) { graphseet() par(mfrow=c(x,y)) } prettyplot(2,2) ts.plot(rerm) title(" The Monthly Real Exchange Rate \n 1973:1-1998:12")

ts.plot(drerm) title(" The Plot of first difference: monthly") ts.plot(rery) title(" The Yearly Real Exchange Rate \n 1791-1990") ts.plot(drery) title(" The Plot of first difference: yearly") # Some basic plots of the data prettyplot(2,2) ts.plot(rerm) title("The Monthly Real Exchange rate") hist(rerm) title("Histogram") acf(rerm) acf(rerm, type="partial") prettyplot(2,2) ts.plot(rery) title("The Yearly Real Exchange rate") hist(rery) title("Histogram") acf(rery) acf(rery, type="partial") prettyplot(2,2) ts.plot(drerm) title("First Difference of monthly data") hist(drerm) title("Histogram") acf(drerm) acf(drerm, type="partial") prettyplot(2,2) ts.plot(drery) title("First Difference of yearly data") hist(drery) title("Histogram")

10

acf(drery) acf(drery, type="partial")

################################################################ # Model estimation by linear AR(1) model: gauss code ################################################################ new; format 8,6; output file=stat1.out reset; load data[312,1] = reruk.txt; n=rows(data); k=cols(data); y=data[2:312,1]; y=y[.,1]; xx=data[1:311,1]; x=xx[.,1]; x=ones(n-1,1)~x; k=cols(x); @ (a)-1 Basic Regression:calculate OLS estimates & Summary of statistis @ b df e s2 r2 ar2 = inv(x'x)*x'y; = n-k; = y-x*b; = (e'e)/df; = 1-(e'e)/((y-ybar)'(y-ybar)); = 1-((n-1)/df)*(1-r2);

ssr = e'e; ybar = sumc(y)/n;

/* Preliminary calculation for LR,LM statistics */ ix iix = inv(x'x); = x*inv(x'x)*x';

11

@ (a)-2 Calculate covariance matrix, standard errors, and t-ratios c = s2*inv(x'x);

se = sqrt(diag(c)); tr = b./se; pv = 2*cdftc(abs(tr),df); /* print result */ "degree of freedom = " df ; "number of observation = " n; "standard error of regression = " sqrt(s2); "Sum of squared residuals = " ssr; "R-squared = " r2 ; "Adjusted R-squared = " ar2;

t = "Coeff" ~ "Estimate" ~ "S.E." ~ "t-ratio" ; Print $t; format 8,6; d = Seqa(1,1,k)~b~se~tr; Print d; ""; "Covariance Matrix"; t = "b1" ~"b2" ; print $t; ""; c[1,1]; c[2,1:2]; end;

12

< Appendix 2: Regression results> Model 1: degree of freedom = 310.000 312.000

number of observation =

standard error of regression = 0.0316625 Sum of squared residuals = 0.310779 R-squared = 0.989625 Adjusted R-squared = 0.989591 Coeff Estimate S.E. 0.00444419 0.00573372 t-ratio -1.52899 171.950

1.00000 -0.006795 2.00000 0.985912

Covariance Matrix b1 1.97509e-05 2.33098e-05 3.28756e-05 Model 2: degree of freedom = 311.000 312.000 b2

number of observation =

standard error of regression = 0.0317305 Sum of squared residuals = 0.313122 R-squared = 0.989546 Adjusted R-squared = 0.989546 Coeff Estimate 1.00000 0.993931 Covariance Matrix b1 5.38866e-06 Model 3: S.E. 0.00232135 t-ratio 428.170

13

degree of freedom =

187.000 189.000

number of observation =

standard error of regression = 0.0681804 Sum of squared residuals = 0.869282 R-squared = 0.809087 Adjusted R-squared = 0.808066 Coeff 1.00000 2.00000 Estimate -0.161493 0.897915 S.E. 0.0508652 0.0319532 t-ratio -3.17492 28.1009

Covariance Matrix b1 0.00258727 0.00161752 0.00102101 b2

Model 4: degree of freedom = 188.000 189.000

number of observation =

standard error of regression = 0.0698075 Sum of squared residuals = 0.916140 R-squared = 0.798796 Adjusted R-squared = 0.798796 Coeff Estimate S.E. 0.00319828 t-ratio 312.317 1.00000 0.998878 Covariance Matrix b1 1.02290e-05

14

You might also like