Friday, 20 June 2008
Technology imports in Africa
I've been trying to apply the comments in Tuesday's post on technology imports to an African setting. The aim would be to promote commitment to internal technological development and usage of foreign knowledge in all circumstances. I am not sure how to achieve such a goal, but South East Asia and communist countries' experiences suggest that it is possible.
Bias in the misspecified AR model under common estimation techniques
Growth data split by country is commonly used in estimating parameters in growth models. The estimation techniques often assume that the model takes a particular form, so it is interesting to find out what happens when the assumed model is incorrect.
I've been running Monte Carlo tests on a misspecified AR model. The true generating process is lny(t)=a(i)*lny(t-1) + b(i) +N(0,V) for a and b fixed in time but varying by countries with starting incomes separated by 1000 from 1000 upwards. a is tested for various values - by turns, uniform over (0,1) for each country, uniform over (-1,1), evenly spread by country over 0 and 1, and correlated with starting income. b is adjusted either to give a starting growth rate of six percent or to give a growth rate in U(0%,10%). The normal variance V is adjusted to give less than an extra 10% variation in the data most of the time (so V equals 0.047). The misspecified model is lny(t)=a*lny(t-1)+b+c(i) error, with c time invariant and country variant, and a and b both constants.
Repeated Monte Carlo data were generated for different numbers of countries and time periods, and the estimates were made for each panel. The estimates were made by GMM-SYS, Arellano-Bond, and within group OLS. The model looks good according to the statistics commonly used in each estimation technique. The estimates of a are high. For the U(0,1) data, they are near 1 in GMM-SYS, around 0.7-0.8 in A-B, and between 0.8 and 0.85 in within group.
What happens is that countries with low AR parameter approach their maximum income quickly, and their main variation is random fluctuation, so after a while their data looks like it could be generated by a pure AR=1 process with no constant. The high AR data continues to display variation over a longer period. I suspect this is why the pooled data AR estimates are close to one for all the estimation methods.
Since the standard capital + education Solow model tends to display little variation in its key parameters and comparatively low explanatory power, models based on specifications like lny(t)=a*lny(t-1)+d*country education rate+e*country saving rate+c(i) is actually quite similar to the original misspecified model with the two rate terms taking the place of the constant term. High growth countries with much variation in the data will often have high a parameters (being the source of identified growth) and the overall panel data estimate of AR should be near 1.
The standard ARIMA estimates gave reasonable estimates of parameters for each individual country. Checking ARIMA values for AR stability before using panel data is sensible.
I've been running Monte Carlo tests on a misspecified AR model. The true generating process is lny(t)=a(i)*lny(t-1) + b(i) +N(0,V) for a and b fixed in time but varying by countries with starting incomes separated by 1000 from 1000 upwards. a is tested for various values - by turns, uniform over (0,1) for each country, uniform over (-1,1), evenly spread by country over 0 and 1, and correlated with starting income. b is adjusted either to give a starting growth rate of six percent or to give a growth rate in U(0%,10%). The normal variance V is adjusted to give less than an extra 10% variation in the data most of the time (so V equals 0.047). The misspecified model is lny(t)=a*lny(t-1)+b+c(i) error, with c time invariant and country variant, and a and b both constants.
Repeated Monte Carlo data were generated for different numbers of countries and time periods, and the estimates were made for each panel. The estimates were made by GMM-SYS, Arellano-Bond, and within group OLS. The model looks good according to the statistics commonly used in each estimation technique. The estimates of a are high. For the U(0,1) data, they are near 1 in GMM-SYS, around 0.7-0.8 in A-B, and between 0.8 and 0.85 in within group.
What happens is that countries with low AR parameter approach their maximum income quickly, and their main variation is random fluctuation, so after a while their data looks like it could be generated by a pure AR=1 process with no constant. The high AR data continues to display variation over a longer period. I suspect this is why the pooled data AR estimates are close to one for all the estimation methods.
Since the standard capital + education Solow model tends to display little variation in its key parameters and comparatively low explanatory power, models based on specifications like lny(t)=a*lny(t-1)+d*country education rate+e*country saving rate+c(i) is actually quite similar to the original misspecified model with the two rate terms taking the place of the constant term. High growth countries with much variation in the data will often have high a parameters (being the source of identified growth) and the overall panel data estimate of AR should be near 1.
The standard ARIMA estimates gave reasonable estimates of parameters for each individual country. Checking ARIMA values for AR stability before using panel data is sensible.
Tuesday, 17 June 2008
The Cobb Douglas technology
In growth theory it is often assumed that countries have a common technology describing national output. The technology frequently takes the Cobb Douglas form Y=A.L^alpha.K^(1-alpha), where L is labour, K is capital, and A and alpha are constants.
The Cobb Douglas has some properties which make it reasonable, like if you increase the labour and capital by a certain percentage, the output increases by the same percentage. I've never been convinced that this is its main selling point. Rather, taking logs gives
ln Y = ln A + alpha ln L + (1-alpha) ln K
So it could be painted as the first order approximation to any function expressing ln Y as a function of ln L and ln K, plus a condition on the coefficients. I'd drop the condition (and thus sacrifice the Cobb-Douglas form whilst keeping the multiplicative shape), replacing (1-alpha) by a free constant since there are many circumstances where the coefficients would not sum to unity. Any production function which uses only capital and labour omits other important factors influencing output - such as education or the existence of market networks - and mobilising labour and capital may influence them to such an extent that better than proportionate returns are obtained. When I was looking at the expansion of economies after conflict and attempting to explain their commonly unparalleled rapidity of growth, I considered Y=A.L.K as a possible short term production function.
The Cobb Douglas has some properties which make it reasonable, like if you increase the labour and capital by a certain percentage, the output increases by the same percentage. I've never been convinced that this is its main selling point. Rather, taking logs gives
ln Y = ln A + alpha ln L + (1-alpha) ln K
So it could be painted as the first order approximation to any function expressing ln Y as a function of ln L and ln K, plus a condition on the coefficients. I'd drop the condition (and thus sacrifice the Cobb-Douglas form whilst keeping the multiplicative shape), replacing (1-alpha) by a free constant since there are many circumstances where the coefficients would not sum to unity. Any production function which uses only capital and labour omits other important factors influencing output - such as education or the existence of market networks - and mobilising labour and capital may influence them to such an extent that better than proportionate returns are obtained. When I was looking at the expansion of economies after conflict and attempting to explain their commonly unparalleled rapidity of growth, I considered Y=A.L.K as a possible short term production function.
Technology gaps, transfers, and narrowing
One of my pet theories is that technology is a leading driver of economic growth. At the moment it remains a pet because there is not a vast amount of published evidence on its effect.
I've been running some preliminary studies on the interactions between technology gaps (measured by things like the number of telephones per person in a technological leader minus the figure in a developing country), transfers (measured by things like foreign direct investment per person to a country), and changes in the gaps. One might think that a high gap might lead to increased transfers and quicker narrowing, with slowing over time. That would be a classical interpretation, with an alternative interpretation belonging to endogenous theory where a leader in technology can pull away from followers.
There are issues about who is the leader, and what measures of gap and transfer to use. For example, if there is a really technologically advanced country, but it has few people in it then its contribution to world technology might be less than a large but on average less technologically advanced country. In my preliminary work, I used the US as a leader because it is big and advanced, although the problem is not avoided. Examining correlations between the various variables gave some interesting propositions, notably on the relative performances of Sub-Saharan Africa and South East Asia.
For the overall data (Penn World Table, plus UN sourced data mostly), a large gap relative to the US seems to result in lower transfers and changes. However, the negative correlations are lower for changes than transfers, suggesting technology catch-up may be less hindered by poverty than trade is. This may help to explain why countries which have a reputation for high valuation of knowledge seem to have high growth. Whether it is the transfers which is responsible for the catch-up is open for discussion.
For a restricted subset of the data, a large gap from the US for eg computers or internet tends to be associated with higher changes in SE Asia and Southern and Eastern Europe, but the opposite in SSA. However the large gap seems to result in a decrease in FDI and imports of technological items (like precision engineering tools) almost as strong in SE Asia as in Africa. The correlation is also negative in S and E Europe, but less strong.
All regions have positive correlations between income and imports of dictionaries and encyclopaedias, but the correlation is less strong in SE Asia than in other regions, ie low income does not seem to lower this form of knowledge transfer to the same extent there as elsewhere.
All regions have positive correlations between students sent to the UK and Australia and the dictionary/encyclopaedia trade, but it is less strong in SE Asia than in other regions. Possibly if a country in SE Asia is less engaged with the international community through person exchanges, it does not prevent acceptance of their knowledge to the same extent that it does elsewhere.
I've been running some preliminary studies on the interactions between technology gaps (measured by things like the number of telephones per person in a technological leader minus the figure in a developing country), transfers (measured by things like foreign direct investment per person to a country), and changes in the gaps. One might think that a high gap might lead to increased transfers and quicker narrowing, with slowing over time. That would be a classical interpretation, with an alternative interpretation belonging to endogenous theory where a leader in technology can pull away from followers.
There are issues about who is the leader, and what measures of gap and transfer to use. For example, if there is a really technologically advanced country, but it has few people in it then its contribution to world technology might be less than a large but on average less technologically advanced country. In my preliminary work, I used the US as a leader because it is big and advanced, although the problem is not avoided. Examining correlations between the various variables gave some interesting propositions, notably on the relative performances of Sub-Saharan Africa and South East Asia.
For the overall data (Penn World Table, plus UN sourced data mostly), a large gap relative to the US seems to result in lower transfers and changes. However, the negative correlations are lower for changes than transfers, suggesting technology catch-up may be less hindered by poverty than trade is. This may help to explain why countries which have a reputation for high valuation of knowledge seem to have high growth. Whether it is the transfers which is responsible for the catch-up is open for discussion.
For a restricted subset of the data, a large gap from the US for eg computers or internet tends to be associated with higher changes in SE Asia and Southern and Eastern Europe, but the opposite in SSA. However the large gap seems to result in a decrease in FDI and imports of technological items (like precision engineering tools) almost as strong in SE Asia as in Africa. The correlation is also negative in S and E Europe, but less strong.
All regions have positive correlations between income and imports of dictionaries and encyclopaedias, but the correlation is less strong in SE Asia than in other regions, ie low income does not seem to lower this form of knowledge transfer to the same extent there as elsewhere.
All regions have positive correlations between students sent to the UK and Australia and the dictionary/encyclopaedia trade, but it is less strong in SE Asia than in other regions. Possibly if a country in SE Asia is less engaged with the international community through person exchanges, it does not prevent acceptance of their knowledge to the same extent that it does elsewhere.
Friday, 13 June 2008
Disproportionately useful theories #7: financial symmetries
Most of the disproportionately useful series has looked at theories which have already demonstrated their utility. This time it's prospective: a theory which has made some impact, but whose possibilities have not yet been fully investigated. A declaration of interest must be made - one of my colleagues has taken a lead in developing the analysis, and I have worked on it too.
At the heart of the theory is identification of quantities in a financial market, such as the value of a share or a company, which do not change when a certain event happens. The event is known as a symmetry, because real-world symmetries do not change something when they act on it. Any event which leaves a quantity unchanged qualifies.
There is a piece of mathematics called Noether's theorem which shows that, generally speaking, one can find another separate quantity which does not change over time whenever you have a symmetry for the first quantity. So if you can observe a quantity that is unchanged by an event, you can find another permanent relationship involving a market quantity which may be much less obvious.
The approach has already been applied to find company values, and there is recent work applying it in areas related to financial derivatives. A major potential success would be application to asset pricing theories more widely, and work is ongoing to link the theories.
Financial symmetries crop up everywhere, so investigating them and their related theory can be extraordinarily fruitful.
At the heart of the theory is identification of quantities in a financial market, such as the value of a share or a company, which do not change when a certain event happens. The event is known as a symmetry, because real-world symmetries do not change something when they act on it. Any event which leaves a quantity unchanged qualifies.
There is a piece of mathematics called Noether's theorem which shows that, generally speaking, one can find another separate quantity which does not change over time whenever you have a symmetry for the first quantity. So if you can observe a quantity that is unchanged by an event, you can find another permanent relationship involving a market quantity which may be much less obvious.
The approach has already been applied to find company values, and there is recent work applying it in areas related to financial derivatives. A major potential success would be application to asset pricing theories more widely, and work is ongoing to link the theories.
Financial symmetries crop up everywhere, so investigating them and their related theory can be extraordinarily fruitful.
Spotting panel data problems
The last couple of posts have pointed out difficulties with specifications of growth models using panel data. A common method for estimating parameters in the specifications is the GMM System. GMM System takes panel data terms which are not correlated with each other and then equates expected and actual quantities based on them to calculate parameter values. It is an application of the Generalised Method of Moments discussed in the "disproportionately useful theories" series here at Great Lakes Economics.
GMM Sys has had lots of plaudits because it has good estimation properties when estimating the parameters of a correctly specified model where the parameters are constant across the panel, both in time and country dimensions. Its principal statistical tests are concerned with getting it to work well with the specified model, so indicate whether instruments used are reasonable and whether standard errors should make allowance for changes in data variation over time.
To check whether the usual reported tests could indicate a problem in a misspecified model, I generated thirty periods of data from a model
y at time t = a + b * y at time t-1 + Normal (0,1) error term.
a and b varied across three countries: country 1 had autoregressive parameter of 0.2, country 2 had AR parameter of 0.5, country 3 had parameter of 0.8. GMM System was used to estimate the results (technical note: after trial, the selected instruments were the third lags of y for the first difference equation, and the differenced second lag (y(t-2) - y(t-3)) for the levels equation. First step GMM System was used.).
The method estimated the common lag parameter at an average of around 0.63 after running twenty or so samples, with minor variations between 0.5 and 0.75. Coefficients were significant, the tests on serial correlation (Arellano-Bond AR(1) and AR(2)) had high significance for AR(1) and low significance for AR(2), and the Sargan test on instrument endogeneity had low significance. These are the common reported tests in panel data growth empirics, and the results would be considered good despite the true generating parameters being highly variable across countries.
The problem is that the tests were not designed to test model misspecification. If they cannot handle such well-behaved data, one would not be confident that they can handle real world data.
GMM Sys has had lots of plaudits because it has good estimation properties when estimating the parameters of a correctly specified model where the parameters are constant across the panel, both in time and country dimensions. Its principal statistical tests are concerned with getting it to work well with the specified model, so indicate whether instruments used are reasonable and whether standard errors should make allowance for changes in data variation over time.
To check whether the usual reported tests could indicate a problem in a misspecified model, I generated thirty periods of data from a model
y at time t = a + b * y at time t-1 + Normal (0,1) error term.
a and b varied across three countries: country 1 had autoregressive parameter of 0.2, country 2 had AR parameter of 0.5, country 3 had parameter of 0.8. GMM System was used to estimate the results (technical note: after trial, the selected instruments were the third lags of y for the first difference equation, and the differenced second lag (y(t-2) - y(t-3)) for the levels equation. First step GMM System was used.).
The method estimated the common lag parameter at an average of around 0.63 after running twenty or so samples, with minor variations between 0.5 and 0.75. Coefficients were significant, the tests on serial correlation (Arellano-Bond AR(1) and AR(2)) had high significance for AR(1) and low significance for AR(2), and the Sargan test on instrument endogeneity had low significance. These are the common reported tests in panel data growth empirics, and the results would be considered good despite the true generating parameters being highly variable across countries.
The problem is that the tests were not designed to test model misspecification. If they cannot handle such well-behaved data, one would not be confident that they can handle real world data.
Common technology and AR(1) instability
In panel data estimation of growth models, data for different countries is collected over a number of time periods. It is different from cross-sectional estimation which uses a single time period, and time series analysis which uses a single country. The estimation methods are different, too.
For analysis of panel data to be useful, there has to be some similarity across countries between the way in which the time series are generated. For example, two countries may each have their national income estimated as
capital in country^a * labour in the country^b
where a and b are parameters specific to each country. In many growth models, it is usual to assume that the parameters are also constant across countries. The assumption is known as the common technology assumption.
The last post argued that the autoregressive parameter in growth estimations is not stable across countries. Economists should be very cautious about specifying models where the autoregressive parameter cannot vary across countries. A common specification does just that however, taking the form
ln income per person = a.ln income last period + other terms assuming common parameters + country specific constant.
a is the same across countries and the country specific constant varies.
Suppose that the constant a is estimated as an average across countries, and that a particular country is found to have a positive specific constant. During the period of measurement, its real a was higher than estimated a, and the specific constant corrects for it. The constant corrects for an average discrepancy in income during the period, so roughly (since the average is over ln income, not income)
specific constant = a(real).lnaverageincome - a(estimated).lnaverageincome
= (a(real) - a(estimated)).lnaverageincome
Now, if country income is lower than its period average, the discrepancy is
(a(real) - a(estimated)).(lnaverageincome - something positive),
so that
specific constant - (a(real) - a(estimated)).(lnaverageincome - something positive)
= (a(real) - a(estimated)).something positive
The specific constant overestimates the income growth at small incomes. Similarly, it underestimates at large incomes. Out-of-sample predictions will usually occur for future time periods where countries are richer, so that the model will underestimate by increasing amounts over time.
The presence of time period specific constants corrects the problem a tiny bit, but the main difficulty is that the model remains misspecified. Time constants are moreover useless for future prediction unless they are subject to their own modelling.
For analysis of panel data to be useful, there has to be some similarity across countries between the way in which the time series are generated. For example, two countries may each have their national income estimated as
capital in country^a * labour in the country^b
where a and b are parameters specific to each country. In many growth models, it is usual to assume that the parameters are also constant across countries. The assumption is known as the common technology assumption.
The last post argued that the autoregressive parameter in growth estimations is not stable across countries. Economists should be very cautious about specifying models where the autoregressive parameter cannot vary across countries. A common specification does just that however, taking the form
ln income per person = a.ln income last period + other terms assuming common parameters + country specific constant.
a is the same across countries and the country specific constant varies.
Suppose that the constant a is estimated as an average across countries, and that a particular country is found to have a positive specific constant. During the period of measurement, its real a was higher than estimated a, and the specific constant corrects for it. The constant corrects for an average discrepancy in income during the period, so roughly (since the average is over ln income, not income)
specific constant = a(real).lnaverageincome - a(estimated).lnaverageincome
= (a(real) - a(estimated)).lnaverageincome
Now, if country income is lower than its period average, the discrepancy is
(a(real) - a(estimated)).(lnaverageincome - something positive),
so that
specific constant - (a(real) - a(estimated)).(lnaverageincome - something positive)
= (a(real) - a(estimated)).something positive
The specific constant overestimates the income growth at small incomes. Similarly, it underestimates at large incomes. Out-of-sample predictions will usually occur for future time periods where countries are richer, so that the model will underestimate by increasing amounts over time.
The presence of time period specific constants corrects the problem a tiny bit, but the main difficulty is that the model remains misspecified. Time constants are moreover useless for future prediction unless they are subject to their own modelling.
Subscribe to:
Posts (Atom)