State Space Models

All state space models are written and estimated in the R programming language. The models are available here with instructions and R procedures for manipulating the models here here.

Sunday, March 30, 2025

Boiler Plate

 

Notes

The first six indicators in standard scores are taken from the World Development Indicators (WDI). KOF = KOF Index of Globalization, EF = Ecological Footprint, HDI = Human Development Index

State Space Model Estimation

The Measurement Matrix for the state space models was constructed using Principal Components Analysis with standardized data from the World Development Indicators. The statistical analysis was conducted in an extension of the dse package. The package is currently supported by an online portal (here) and can be downloaded, with the R-programming language, for any personal computer hereCode for the state space Dynamic Component models (DCMs) is available on my Google drive (here) and referenced in each post.


Atlanta Fed Economy Now

My approach to forecasting is similar to the EconomyNow model used by the Atlanta Federal Reserve. Since the new Republican Administration is signaling that they would like to eliminate the Federal Reserve, the app might well not be available in the future.


While the app is still available, there have been some interesting developments. In earlier forecasts, the Atlanta Fed was showing GDP growth predictions outside the Blue Chip Consensus. Right now, after unorthodox economic policies from the Trump II Administration, the EconomyNow model is predicting a drastic drop in GDP (the Financial Forecast Center is only predicting a slight drop here).

Another comparison for what I have presented above are the IPCC Emission Scenarios. These scenarios are for the World System. Needless to say, (1) the new Right-Wing Republican administration plans on withdrawing the US from all attempts to study or ameliorate Climate Change and (2) the IPCC does not produce any RW modes for the World System (but seem my forecasts here).

Climate Change

Another comparison for what I have presented above are the IPCC Emission Scenarios. These scenarios are for the World System. Needless to say, (1) the new Right-Wing Republican administration plans on withdrawing the US from all attempts to study or ameliorate Climate Change and (2) the IPCC does not produce any RW modes for the World System (but seem my forecasts here).


World System

The longest running set of data we have for the World-System is the Maddison Project based on the work of Angus Maddison (more information is available here). Data on production (Q) and population (N) for most countries and regions runs from years 0-2000. More data becomes available as we near the year 2000. 


Available data were entered in a spreadsheet (see Population above, double click to enlarge). Missing data were interpolated with nonlinear spline smoothing using the R programming Language.


In cases where initial values were not available (see GDP above), the E-M Algorithm was used to estimate initial conditions.

From the graph of GDP above (W_Q) for the World System, it can be seen that economic growth from the year 0-1500 was basically flat. The period of British Capitalism (after 1500) had a small plateau of growth. Takeoff does not happen until the Nineteenth Century.



From a system's perspective, the only model that can be tested for the entire period is Kenneth Boulding's Malthusian Systems Model [Q,N] = f[Q,N].



When developed as a State Space model (measurement matrix above) there are two components: W1=Growth and W2=(Q-N), the Malthusian Controller. When more data is available, the Malthusian Controller can be generalized to other SocioEconomic theories.

What the Malthusian Controller shows (plotted as Q-N above) is that a long-developing Malthusian Crisis (Q<N) started in the Late Middle Ages and accelerated through the period of British Capitalism (Dark Satanic Mills) and was reversed spectacularly during the Nineteenth Century.  Takeoff in response to a deepening Malthusian Crisis would not be an unreasonable way to view Modern Economic Growth.

Hurricane Forecasting

My vision for SocioEconomic system forecasting is to follow the US National Oceanic and Atmospheric Administration's (NOAA) approach to hurricane (Economic Crisis?) forecasting using Spaghetti Models (see below).


Currently, Economic forecasting does not use Multimodel Inference but it is getting there! The best state space model for the US SocioEconomic System in the graphic at the beginning of this post is the World System (W) model based on the AIC Criterion.


Climate Change

Another comparison for what I have presented above are the IPCC Emission Scenarios. These scenarios are for the World System. Needless to say, the new Right-Wing Republican administration plans on withdrawing the US from all attempts to study or ameliorate Climate Change.


Error Correcting Controllers (ECC)


In another post (here), I presented Leibenstein's Malthusian Error Correcting Controller (ECC). It can be generalized to the dominant ECCs in most theoretical economic models (above). These controllers can be further generalized. For example, (X-U) and (L-U) can be generalized to (N-U), a more general Urbanization Controller which describes market expansion for economic growth. In countries and periods with limited data, (N-U) might subsume all these processes. ECCs describe important feedback processes in SocioTechnical System that are typically not recognized as such in academic literature.

Kaya Identity


The basic theoretical model underlying all the World-System models I crate is the Kaya Identity. There are a number of advantages to starting theoretical development with the Kaya Identity: (1) An "identity" is true by definition Adding other variables to the model ensure that theory construction is on a solid footing. (2) The Kaya Identity is also used as the foundation for the IPCC Emissions Scenarios allowing a linkage between World-Systems Theory and the work of the IPCC.


World Development Indicators (WDI)



After WWII, extensive data sets on all countries in the World-System became available from the World Bank (here). The indicators above where chose to construct the state space for each WDI-based model. Addition indicators can be added for specific forecasts and analyses.


Monday, March 17, 2025

World-System (1960-2006) Seven Futures for Argentina

 


At the 2025 Conservative Political Acton Conference (CPAC, here) meeting in Washington, DC, Argentinian President Javier Milei gifted Elon Musk the "chainsaw for bureaucracy," a symbol of the deep cuts they both want to make in both the US and Argentina's bureaucracy. Elon Musk waved the chainsaw around on stage at CPAC. Milei has been president of Argentina since 2023 and is considered a right-wing libertarian as is Musk (currently). Milei considers himself aligned with the United States although prior Argentinian governments have sought closer ties with China and Russia (according to chatGPT). This post explores which of those Geopolitical Alignments might be best for Argentina. Another post (here), looks at the Economy of Argentina and whether bureaucracy is the problem.

From the time plot above, the BAU model (no input from other countries) exhibits unstable exponential growth, probably what most economists (including Javier Milei) would want. Alignment with China (CN), on the other hand, would produce unstable collapse. How Argentina would isolate itself from the World Economy is unclear but the country does have geopolitical options with China.

The more moderate alignments (the World-System, W, the US and the Latin American Regional economy LAC) all produce stable economic growth and a resulting steady state economy at some time in the future. Although a steady state economy might be preferred for environmental reasons, it is probably not an end-result embraced by current Argentinian elites. You can run the Argentinian state space model (AR20) under these various geopolitical influences here.



Geopolitical Alignment with Russia (RU) produces the strongest unstable exponential growth. Finally, alignment with Mexico (MX) is not much better than a Random Walk (RW).


Since the Random Walk is similar to the political strategy of the current Trump II Administration in the US (here), it is worth simulating the same future path for Argentina in the time plot above.  The result for Argentina is not the same as the US. Under a Random Walk there are neither growth nor collapse scenarios for Argentina.


Notes

The Akaike Information Criterion (AIC) statistics for all the Argentinian models are presented below.

In the Measurement Matrix below, the first six indicators in standard scores are taken from the World Development Indicators (WDI). KOF = KOF Index of Globalization, EF = Ecological Footprint, HDI = Human Development Index


The Error Correcting Controllers (ECC) are (Growth-EF), (LU+EF+KOF-Q), (EF+CO2-KOF-LU). It is interesting and somewhat unusual that, in Argentina, growth is controlled by the Ecological Footprint (EF) and the EF is important in the other two ECCs.

State Space Model Estimation

The Measurement Matrix for the state space models was constructed using Principal Components Analysis with standardized data from the World Development Indicators. The statistical analysis was conducted in an extension of the dse package. The package is currently supported by an online portal (here) and can be downloaded, with the R-programming language, for any personal computer hereCode for the state space models is available on my Google drive (here) and referenced in each post.


Atlanta Fed Economy Now

My approach to forecasting is similar to the EconomyNow model used by the Atlanta Federal Reserve. Since the new Republican Administration is signaling that they would like to eliminate the Federal Reserve, the app might well not be available in the future.


While the app is still available, there have been some interesting developments. In earlier forecasts, the Atlanta Fed was showing GDP growth predictions outside the Blue Chip Consensus. Right now, after unorthodox economic policies from the Trump II Administration, the EconomyNow model is predicting a drastic drop in GDP (the Financial Forecast Center is only predicting a slight drop here).

Climate Change

Another comparison for what I have presented above are the IPCC Emission Scenarios. These scenarios are for the World System. Needless to say, (2) the new Right-Wing Republican administration plans on withdrawing the US from all attempts to study or ameliorate Climate Change and (2) the IPCC does not produce any RW modes for the World System (but seem my forecasts here).









Sunday, March 2, 2025

World-System (1980-2060) Seven Futures for Ukraine

 

The presidents of Ukraine (Volodymyr Zelenskyy) and the United States (Donald Trump) recently met (Mar 2, 2025) at the White House to discuss the future of Ukraine and a mineral extraction deal. The meeting was not a success. On March 11, 2025, after a telephone call between President Trump and Vladimir Putin, Ukraine tentatively agreed to 30-day cease fire. It is still not clear whether Russia will abide by the cease fire.

In my mind, these developments bring up the question about what Geopolitical alignment would be best for Ukraine (UA): Russia (RU), the World System (W), the European Union (EU), the United States (US) or none (BAU or RW). The graphic above shows the time plot for the growth component of the UAL20 model under each alternative Geopolitical Alignment. Maybe surprisingly, the US Geopolitical Alignment would be one of the worst! In this post I'll explain the alternative forecasts in detail.

  • BAU [103.6 < AIC= 108.73 < 112.3] The Business As Usual (BAU) provides the best future forecast and the AIC is right in the middle of the pack. However, at this moment in history, it seems that Ukraine will not be isolated from Geopolitical entanglements.
  • WORLD [96.17 < AIC = 106.4 < 115.6] Alignment with the World-System would produce a collapse mode, but not the worst.
  • US [99.01 < AIC = 106.6 < 113.2] Alignment with the US produces one of the worst collapse scenarios.
  • EE [22.18 < AIC =  76.07 < 120.7] Alignment with Eastern Europe also produces a collapse scenario but with recovery around 2050.

None of these growth scenarios look great and some are awful for Ukraine. Geopolitical alignment with Russia would currently mean a massive military loss for Ukraine. If, however, Russia were to eventually follow it's best future (alignment with the European Union), the picture would be very different. 

NOTES

The systemic growth state variable (UK1) is interesting in that CO2 (-0.44492), GDP (-0.0949) and Labor Force (-0.431) enter negatively.These negative weightings mean that, in Ukraine, growth is under Error Correction and Control: (Growth-CO2-L). I will have more to say about the result in the discussion of the Ukrainian economy (here).



The first six indicators in standard scores are taken from the World Development Indicators (WDI). KOF = KOF Index of Globalization, EF = Ecological Footprint, HDI = Human Development Index

You can run the full UAL20 BAU model here and explore the other Error Correcting Controllers (ECC) which have complicated Malthusian elements.