scieee AI-readable full text Open interactive document viewer

A Structural Approach for Testing Causality

Asghar, Zahid

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Asghar, Zahid Article A Structural Approach for Testing Causality International Econometric Review (IER) Provided in Cooperation with: Econometric Research Association (ERA), Ankara Suggested Citation: Asghar, Zahid (2011) : A Structural Approach for Testing Causality, International Econometric Review (IER), ISSN 1308-8815, Econometric Research Association (ERA), Ankara, Vol. 3, Iss. 2, pp. 1-12 This Version is available at: https://hdl.handle.net/10419/238795 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc-nd/4.0/ International Econometric Review (IER) 1 A Structural Approach for Testing Causality Zahid Asghar Quaid-i-Azam University, Islamabad ABSTRACT The ever present possibility of confounding factors creates difficulties in identifying causal effects on the basis of observational data. A large number of approaches to resolve this difficulty have been proposed; see Zaman (2010) for a recent survey. One involves using a “natural experiment,” where nature acts like an experimenter in changing the setting of a key variable, allowing us to differentiate between „treatment‟ and „control‟ observations. This idea has been used by Hendry and Ericsson (1991), Hoover (2001), and Keane (2010) in rather complex settings. This paper presents an elementary version of this structural approach for detecting causality in the simplest possible setting. The structural method is able to detect contemporaneous causality. We illustrate the uses of this technique on a simulated data set, and also apply it to the export-led growth hypothesis for India and energy-growth data for Shanghai. Key words: Structural Causality, Granger Causality, Extra-statistical Information, Export led Growth JEL Classifications: C, C5, C59 1. INTRODUCTION An econometric model can be used mechanically to summarize data, or to predict the future, by extrapolating from existing correlations within the data. A much deeper and more difficult problem arises if we wish to predict the results of interventions. This requires separating correlations from causation, which is simultaneously most important and most slippery particularly in observational studies. For example, we observe that education, life expectancy, and GNP per capita are all increasing together. Are all three driven by some unobserved factor X which causes growth, or is one of the factors the cause of the other two? Policy decisions hinge crucially on isolating the causal factors, and being able to differentiate these from mere correlations. Though in the early part of the twentieth century causal analysis was a basic organizing principle in animating the development of econometrics, yet causal language is absent from our standard econometrics textbooks. Hoover (2004) in his article “Lost Causes,” describes and explains how causality dropped out of economic discourse. Causality re-entered the scene after Granger introduced a notion of causality based on the predictability of one series by another. Though it is well known that Granger-Causality is not detecting causality (Madala and Kim, 2000:188-189; Hoover, 2001:150-155), yet various authors continue to rely on this technique and validate causality claims for time series data. There are many others who switch from association to causation while making interpreting their results. Granger himself  Zahid Asghar, Quaid-i-AzamUniversity, Islamabad, (email: g.za[email protected]m). Special thanks to the Managing Editor, and the referees of IER, for their detailed comments on several rounds of earlier versions of this draft. I am grateful to Ms. Amena Urooj, Assistant Professor, PIDE, Islamabad for her help in editing this draft. Asghar-A Structural Approach for Testing Causality 2 never claimed this as a test of causality and warns that many authors have evolved somewhat unclear and incorrect form of his definition as they have not looked at the original papers. Pagan (1989) remarks about Granger causality that „there was a lot of high powered analysis of this topic, but I came away from a reading of it with the feeling that it was one of the most unfortunate turnings for econometrics in the last two decades, and it has probably generated more nonsense results than anything else during that time.‟ Nevertheless, one positive aspect of Granger causality is that it reinvigorates the issue of causality in economics in the last couple of decades. Causality is now explicitly discussed in some econometrics books (e.g. Mostly Harmless Econometrics: An Empiricist's Companion by Joshua D. Angrist and Jörn-Steffen Pischke, 2009). Hoover (2001) “Causality in Macroeconomics” provides an in-depth analysis of causality in economics. After explaining the importance of causality in macroeconomics he surveys current approaches to causality, exogeneity and the Lucas critique. He also discusses the structural procedure for detecting causality by using extra-statistical information in an econometric model. This is the approach we adopt in the present paper. For readers interested in techniques going beyond the discussion in this paper, Pearl (2009) is an important reference. Pearl uses Directed Acyclical Graphs (DAGs) to invoke asymmetries between cause and effect to uncover the causal relationships in contemporaneous time. Such causality is generally left uncovered in Granger causality. Pearl‟s approach is an attempt to infer causal relations from observational data. In addition, Zaman (2010) provides a useful survey of causality in econometric models. He points out various examples where simple regression results apparently show causal relations but when analyzed outside the range of conventional econometric techniques causal claims did not hold. Zaman (2010) seems in close agreement with Freedman (1991) who has advised us to use shoe leather – meaning real world information not easily reducible to numbers or statistics – to discover causal conclusions. In a nutshell, the basic idea is to look for events where nature played the role of the experimenter – structural changes occurred due to exogenous causes. Judging this exogeneity requires real world knowledge going outside the system under study. Evaluating the effects of such exogenous events can allow us to discern causal laws from observational data. In section 2 we discuss the procedure for testing structural causality in the simplest possible setting. Then we illustrate by applying this procedure to 3 examples. Section 3 studies an artificial example with simulated data to illustrate the mechanics of the structural approach. In section 4, we apply the approach to a real world data set studying the causal relation between exports and growth in India. Our results provide some support for the export led growth hypothesis. Section 5 studies the relation between energy and growth for Shanghai. Here our approach leads to suggests that causal directions cannot be determined because of lack of structural change. The final section provides concluding remarks. 2. METHOD FOR DETECTING STRUCTURAL CAUSALITY We will now explain the basis of the method for detecting structural causality. Let (X,Y) be a sequence of observations with i.i.d. distribution N(µ,). Such a sequence of observations can be generated in three different ways: International Econometric Review (IER) 3 Method 1: Let (V,W) be i.i.d. N(0,I2). Since  is a 2 x 2 positive definite matrix, it is possible to decompose it as =UU‟. We can generate (X,Y) from (V,W) via the linear transformation:                  W V U Y X  Then X, Y will be jointly normal according to the prescribed distribution. If this is how the world generates this data, then X, Y are jointly caused by hidden variables V and W. Neither variable causes the other. Method 2: Generate X from its marginal distribution X~N(µ1,11). Generate Y from its conditional distribution Y|X~N(µ2+21 21 2(X-µ1),11–12 21 221). This can also be written as a regression model   bYaY If this is how the real world generates (X,Y) then X is the cause of Y and changes in X will lead to changes in Y but not the other way around. Method 3: Generate Y from its marginal and X from its conditional. In this case, Y is the cause of X. All three methods will lead to data with exactly the same distribution, so all three are observationally equivalent. This shows why it is difficult to evaluate causality from observational data. Suppose, however, that structural change takes place. The mean and variance of the marginal distribution of X change. Now the three models will behave differently. In the first model, the relation between X and (V,W) must change since mean and variance of X has changed. So the equation X=U11V+ U12W will change in parameters U11, U12. In the second model, the parameters of the distribution of X will change, but there will be no change in the regression model which describes the conditional distribution of Y given X. In the third model, first suppose that the structural change does not affect the marginal distribution of Y. Then a relationship of the type   dYcX cannot remain stable, but must shift to accommodate the shift in the distribution of X. So estimates of this relationship will show structural change. Even if the structural shift affects the distribution of Y, such shifts would also typically create instability in the conditional distribution of X given Y. Thus looking at which of the two conditional distributions remains stable can give us a clue about the direction of causality between X and Y if there are structural shifts. An interesting corollary of this argument is that it is impossible to detect causality if there are no structural shifts – both causal directions, as well as simultaneous determination – are observationally equivalent. This approach for testing causality requires investigation of the underlying economic mechanism not only on theoretical grounds but also in historical prospective. We need to find shifts in distributions which are due to exogenous causes. This requires extra statistical information such as shift in government policies, minutes of the Central Bank‟s monetary policy etc. From this historical information, it may be possible to infer that the intervention was not caused by the variable under study. In such cases, the intervention is like the treatment effect created by an experimenter. Hoover (2001) mentions that this intervention should be traced in historical perspective and then statistical tests should also be carried out to validate whether intervention is there. Hoover (2001) and Freedman (1991) seems to be in Asghar-A Structural Approach for Testing Causality 4 close agreement over this issue. Freedman also pointed out that determining causal direction requires an in depth knowledge of the problem at hand. If the time of intervention in one variable is being determined, then further analysis, by considering conditional and marginal distributions of the variable, is possible. The mechanism to find causal direction proceeds as follows:  Apply some statistical test (e.g. Chow Test) to verify that intervention.  If chronological intervention is supported by statistical tests then apply regression on two data sets separately.  The stable conditional distribution will be probably the true causal relation.  If such interventions exist for both of the variables at a particular time period then we cannot find causal direction by such tests. 3. ILLUSTRATIVE EXAMPLE: SIMULATED DATA Now we apply the concept of section 2 on a simulated series. Causality has been tested between two variables X and Y where Xi=1+ei and Yi=2+0.8*Xi+ϵi. Both random errors ei and ϵi are N(0,1) and covariance is zero between these two error terms. Now we have generated 100 observations on X and Y, and from this observed sample we cannot make a decision whether X is causing Y or vice versa. This is because, as we have argued in the previous section, the causal model above is observationally equivalent to one in which (X,Y) are bivariate normal and jointly simultaneously determined. It is also observationally equivalent to one in which Y is determined first, and then X is drawn from the conditional distribution of X|Y, making X causally dependent on Y. However, if there is any structural change in any one of the variables, it may be possible to determine causality. Of the two conditional distributions, the one which reflects the true causal relationship would remain stable, while the other one would display shifting parameters. To observe the behavior of these probability distributions we have changed the values of second half of the X variable, Xi=1+ei where ei ~N(0,1) and Xi+50=3+ei+50 where ei+50~N(0,1) for i=1,2,…,50. Now we analyze the behavior of the two regressions through simulated data using models 2 and 3. Figure 3.1 shows the regression of Y on X for the full sample, before and after the intervention. The two regressions before and after the interventions shows no significant differences. Figure 3.2 shows the regression of X on Y for the full sample, before and after the intervention. We observe significant shift in the two regressions before and after the intervention. The stability of the regression of Y on X, together with the structural change in X suggests that the causal direction is from X to Y. Lack of stability in the other direction shows that the reverse causality does not hold. International Econometric Review (IER) 5 Figure 3.1 Regression of Y on X Notes: Yp1 is the regression equation of Y on X before and after the break Figure 3.2 Regression of X on Y Notes: Xp1 is the regression equation of X on Y before and after the break 4. STRUCTURAL CAUSALITY TEST FOR EXPORT-GROWTH DATA FOR INDIA There is little consensus on the nature of relationship between exports and national output. A central question in this debate is whether strong economic performance is export led or growth driven. This question of determining causal pattern between export and growth is very important for policy makers‟ decisions about the appropriate growth and development strategies and policies. Many arguments have been put forth to support export led growth (ELG) hypothesis theoretically. From a demand side perspective, it is assumed that sustained demand growth in a small domestic economy cannot be maintained permanently since domestic demand exhausts very soon. Export markets, on the other hand, are limitless and hence there is no need for any restriction on output. Thus export can serve as a catalyst for income growth, as a component of aggregate demand. Many other arguments have been given in support of ELG. At the same time, opponents have put forth many counter-arguments. For example, increase -2 -1 0 1 2 3 4 5 6 7 8 -3 -2 -1 0 1 2 3 4 5 6 Yp1=1.76+0.96X (before the break) YP1=1.56+0.89X (after the break) Y X -3 -2 -1 0 1 2 3 4 5 6 -2 -1 0 1 2 3 4 5 6 7 8 Xp1=0.76+0.53Y (after the break) Xp1=-0.85+0.6125Y (before the break) Y X Asghar-A Structural Approach for Testing Causality 6 in real GDP could lead to realization of economies of scale and cost reduction that could, in turn, boost exports. An attempt to resolve this controversy has been made using empirical work. There are several studies which investigate whether strong association between export and economic growth can be translated into causal relationship or vice versa. Since Granger causality (GC) is the most commonly tools used for studying causal direction between export and economic growth for time series data, we provide a discussion and comparison. Strictly speaking, GC is not comparable with the method under discussion. GC relies on timing and the possibility of predicting one series from lagged values of the other for decisions about causality. The examples of sections 2 and 3 have contemporaneous causality – lagged values of X and Y contain no information about future values. In such cases, GC would not detect any causality, while the structural method would work, as illustrated. The structural method can detect timing effects. To match the GC methodology, we could look at the regression of Y on lagged values of X as well as the regression of X on lagged values of Y. If one of these regressions captures a causal effect, its coefficients will remain stable through a period of structural change. Of course, if there is no structural change, then both regressions will remain stable, and the structural method will be unable to detect causal effects. An example of this type is given in section 5. For the sake of comparison with the structural technique, we illustrate the use of GC on Indian data for exports and growth. Our primary conclusion is the extreme sensitivity of the GC results to choice of sample period, as well as the specification of lag order. We have used yearly data for India (1955-2002) on GDP, export, unit value of export and imports, and GDP deflator from International Financial Statistics (ifs.apdi.net).The variables we have used are real export and real GDP. Y is used for real GDP which is obtained as the ratio of GDP to GDP deflator and X (real export) is obtained as the ratio of export value of goods and services to the unit value of export. All the data are annual and variables are used in natural log form. For India, Table 4.1 and 4.2 present the GC results by Toda and Yamamoto (1995, TY) procedure for two different sample ranges. The basic idea of TY approach is to artificially augment the correct order of the VAR model by maximal order of integration, say dmax. Once we indentify and estimate a VAR model with (dmax+k) order, we apply the standard Wald test, exclude the coefficients of last lagged vector dmax, on the remaining k parameters to find out whether X GC Y or vice versa. To represent the GDP-export model in the VAR system TY version of GC test has the following form. max max 0 1 2 1 2 1 1 1 1 1 dd nm t i t i i t i j t j j t j t i i n j j m Y X X Y Y                           (4.1) max max 0 1 2 1 2 2 1 1 1 1 dd kl t i t i i t i j t j j t j t i i k j j l X X X Y Y                           (4.2) Where Xt log of real export and Yt is the log of real GDP. The initial lag length n, m, k and l are chosen using AIC and SC criterion. Where  t and  t are the error terms. From Eq (4.1), GC from Xt (export) to Yt (GDP) implies  1i ≠ 0 i; Similarly in Eq (4.2) Yt (GDP) Granger cause Xt (export), if  1j ≠ 0 j. TY proves that Wald statistic used converges in distribution to a  2, no matter whether the process is stationary or non-stationary and whether it is cointegrated or not. Export seems to cause economic growth both at lag length (2,2) and (3,3) at 5% level of significance in Table International Econometric Review (IER) 7 4.2 but in Table 4.1 it is not significant at 5%. AIC and SC are used for lag length selection but the two criteria provide different lag lengths. Our results based on GC test for the case of India are given in Table 4.1: Causal Direction Lag Length p-value AIC SC X  Y (2,2) 0.0547 -4.23 -4.03 X  Y (2,3) 0.1346 -4.24 -3.99 X  Y (2,4) 0.3361 -4.17 -3.88 X  Y (3,3) 0.097 -4.2662 -3.98 X  Y (1,3) 0.1049 -4.2661 -4.06 Table 4.1 Results for India 1955-2002. These results show that minor changes in specification can lead to different outcomes for the GC test. Similarly, if we change the sample to eliminate the last four years, we get the following results in Table 4.2: Causal Direction Lag Length p-value AIC SC X  Y (2,2) 0.0317 -4.187 -3.9806 X  Y (2,3) 0.0653 -4.201 -3.9504 X  Y (3,3) 0.0437 -4.2390 -3.9465 Table 4.2 Results for India 1955-1998. This shows the sensitivity of the GC test to minor changes in (model) specification. From these results it is hard to come to any definite conclusion about causality from the GC test. This is also reflected in the literature, in which different authors come to different conclusions. For example Love and Chandra (2004) find bi-directional causality between real export and real income for India, export led growth for Pakistan, and non-causality for Sri Lanka. Love and Chandra (2005) find export led growth causality for India and no relationship between export and economic growth for Pakistan and Sri Lanka. They have used the same statistical procedure in both of these papers. We now illustrate the use structural causality approach to determine the direction of causality. If we investigate the two observed series historically, there are three major events in Indian history, i.e., 1965 war, 1979 economic crisis and 1990 economic crisis. We have applied Chow structural breakpoint test on all these three points but results do not indicate significant structural change in real GDP. For export data we think opening of Indian economy for foreign investment in early 1990s and hence economic growth. Although results of these policies might have materialized in mid 1990s and onward, but due to data constraint we have applied Chow structural breakpoint test at 1990 (Table 4.2) and find that there is structural change. Therefore, we split data into two parts, i.e., 1955-1989 and 1990-2002. Variables Test statistic 5% critical value Levels First difference Levels First difference Y 1.260816(0) -8.158184(0) -2.9178 -2.9190 X 2.996876(0) -7.030767(0) -2.9178 -2.9190 Table 4.3 ADF test India (1955-2002). Notes: X and Y represent the log of real exports and log of real GDP respectively. Figures in parenthesis represent the number of lags that is included in ADF test. Asghar-A Structural Approach for Testing Causality 8 ADF test results (Table 4.3) indicate that both GDP and export series are non-stationary at level and stationary at first difference, so we have used series in first difference form. The Chow test confirms the existence of a structural break at 1990. Now we will examine the stability of the two regressions that is of Y on X and that of X on Y. Year 1990 1979 1965 Export 0.018 0.274 0.3751 GDP 0.089 0.498 0.769 Table 4.4 Chow Breakpoint Test. Distributions Year Results GDP Conditional 1955-2002 DY=0.483DY(−1)+ 0.2039DX(−1) (0.115) (0.056) 1955-1989 DY=0.410DY(−1)+0.2189DX(−1) (0.0778) (0.1426) 1990-2002 DY=0.7083DY(−1)+0.0946 DX(−1) (0.2238) (0.0926) Export Conditional 1955-2002 DX=1.0564 DY(−1)+0.0.1533 DX(−1) (0.2943) (0.1437) 1955-1989 DX=0.700DY(−1) −0.0001DX(−1) (0.318657) (0.174) 1990-2002 DX=2.4148DY(−1)−0.1126DX(−1) (0.7665) (0.3172) Table 4.5 Characterization of the two Regressions. Notes: where DY is the first difference of the real GDP, DX is the first difference of the real export. DY(−1) and DX(−1) denote the first lag of the DY and DX. Figure 4.3 Fitted values of DX on DY(-1) and DX(-1). Notes: X1F is for the complete sample, X2F is the for the sample period 1955−1989, X3F is for the sample period 1990−2002 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 55 60 65 70 75 80 85 90 95 00 X1F X2F X3F