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, September 7, 2025

World-System (1950-2100) The New "Axis of Evil" BAU Scenario

 

In a prior post (here) I found that most scenarios for the "New Axis of Evil" (Russia, China and India) led to collapse of the system, except for one: the BAU (Business as Usual) Scenario. In one interpretation of the BAU scenario, the AXIS is allowed to dominate the World System and the US without interference from other countries. Although the scenario seems unlikely and might well lead to World War III, in this post I will take it seriously and see what happen between the present and the year 2100.

In another interpretation of the BAU Scenario, the AXIS is necessary to drive exponential growth of the World-System and of the Hegemonic leader (the US). I like the Functionalist explanation. Functionalism suggests we focus on the World-System, which I think is the right focus. In this post, I will present a model that demonstrates the Functionalist explanation for the New Axis of Evil.

The Functionalist explanation hypothesizes that the Axis-of-Evil is necessary to stimulate military spending and growth of all participants.

Politicians, on the other hand, seem to have no concept of a World-System which leads to a Contradiction: are there systemic considerations that affect the AXIS? The graphic above shows the non-system view: exponential growth forever, the US1 and the World System (W1) driven independently by the Axis.


The graphic above shows the US1 growth system forecast when driven by the AXIS model. The function of the AXIS is to stabilize the system, at least in terms of US growth.



The same is not true for World System growth (W1) in the graphic above. In other words, US growth, given AXIS input, is at the expense of the World System.


You can run the AXIS_of_Evil models here.




Tuesday, August 26, 2025

What is Historical Dialectic Materialism?

 



I was first introduced to the terms Dialectic Materialism and Historical Materialism in an advanced sociology course on Marxism at the University of Wisconsin, Madison. At the time, I didn't understand how important the concepts were to understanding Quantitative History. Hopefully, I can communiate my understanding in this post.




Notes

The drawing at the beginning of this post pictures Marx and the British museum in the process of researching. When I visited the British Museum, I asked where Marx sat when he was writing and they didn't know but it was probably somewhere in the Socials Science section (reasonably). So, I sat in a chair there and contemplated!

World-System (1950-2100) How to Balance the World System


In an earlier post (here), I found that the US-MX-CA World Trading System could reach a Steady State in a number of ways.

Creating a Steady State in the World System, keeping Industrialization and Environmental Degradation in balance, involves mitigating the cascading effects of Collapsing Oil Markets and collapsing Agricultural markets.

This fictional future is controversial: (1) As long as population growth and technological change continue to increase, the Neoclassical Economic Growth model will never reach equilibrium (unlimited growth forever), (2) In World-Systems Theory, although we live in a World of interacting economic systems, because there is no World Government to legislate a Steady State, there is no governed World System** and (3) the IPCC Emission Scenarios (see the Boiler Plate and the BAU Scenario) envision a scenario where the World-System is eventually in a Steady StateContinued uncontrolled industrialization seems inevitable and, at the same time, inconsistent with environmental balance.

And, worse yet, the best scenario for the US-MX-CA Trading System (using the AIC to evaluate models) is growth-and-collapse (SSP2.0-6.0 in the IPCC Scenarios) when driven by the World System (here). In this post I will explore ways to create a Steady State in the World System because (1) the WL203 Model  is often, in my experience, a good input for country-level World-System models, (2) the IPCC Emission Scenarios are all conducted in terms of the World System, (3) Limits-to-Growth policy recommendations are directed at the World System and (4) I want to address the issue of how environmental balance is supposed to happen without World government.
 



The graphic above presents a number of experiments with the WL203 Model (you can run the experiments yourself here). These futures look a lot like the IPCC Emission Scenarios because growth of the entire World System produces emissions. 

There are three growth-and-collapse scenarios: WL20, F[1,2] = 0 and F[2,3]=0. The magnitude of collapse is increased by reducing the effects of feedback loops from Food Production (F[1,2]=0) and decreased by reductions in the feedback effects of Oil Production (F[2,3]=0). Reducing both feedback effects to zero produces a high-level steady state (F[1,2] = 0 and F[2,3]=0). Setting growth in the World System to a Random Walk produces an immediate steady state (F[1,1]=0). 

The counterfactual experiments are discussed more fully in the Notes below. But, what do the model results mean in a practical sense for policy action:
  • Oil and food production (through the oil-driven Green Revolution) are essential for Industrial society. We typically don't think of oil markets and agricultural markets as historical feedback controllers, but they will become controllers when Peak Oil is reached (oil is a non-renewable resources). Electric vehicles, wind and solar energy serve to reduce feedback effects from Oil Markets.
  • Current uses of oil (burning in combustion engines, making plastic bottles, medical devices, industrial fertilizers, etc.) will be restricted after Peak Oil. It would be prudent to reduce industrial growth rates and conserve existing supplies of all scare, non-renewable resources.
All of these policy measures are being attempted to some extent (but reducing growth rates seems to be the most difficult). My assumption is that the only way to motivate global action is from entering growth-and-collapse mode and then focussing political action, if it is not too late (result from the WL203 Model here suggest that there will be a rebound (see the Recovery Forecast below in the Notes) after 2115 and the World System could recover). Environmental Mitigation will most likely not be undertaken voluntarily.

Notes

** In World-Systems Theory, the hyphen between "World" and "System" indicates a world of systems. The term "World System" indicates a one-world system. The World System is typically used by the IPCC in Integrated Assessment Models (IAMS). The Contradiction here is that there is no World Government to manage environmental degradation.


The time plot above shows the dominant component from the WL203 Model. From 1950 to 2008, the blue line tracks the actual data. From 2008 to 2108, the different time paths are created by setting various elements in the WL203 Model System Matrix (F) to zero or one. Let me first describe how the state space is constructed and then describe the System Matrix (F) (more information about the models is available in the Boiler Plate).

The approximate state space is constructed using Principal Components Analysis (PCA). The PCA measurement matrix is presented above. The first component (W1) is the dominant component and explains 87.4% of the variation in the underlying indicators. The other two components (W2 and W3) are historical feedback controllers. 

The first component, W1=(Growth-LP), is overall growth compared to the Living Planet Index (LP)an indicator of the state of global biological diversity. Over time the LP Index peaks after 1975 and declines after that (see the graphic above). In the future, the (Growth-LP) historical controller might become more important but right now, the decline in global biological diversity will just continue.


The second component, W2=(LP+P.Wheat.-GWP-TEMP), is an historical feedback controller that links the LP index and the Agricultural market (P.Wheat.) to Gross World Product and Global Surface Temperature. For the period from 1970-2000, W2 was in positive territory. From 2000 to the present, W2 has become negative meaning that GWP and Global Temperature are not in balance with Biodiversity and Agricultural production.

The third component, W3=(P.Oil.-OIL-EF), is also an historical feedback controller for Oil Markets and the Ecological Footprint. From the graphic above, the Oil-Market-Footprint controller seems to be reaching a steady state (Peak Oil) but this can mean that  (1) Oil Prices will keep climbing as supplies dwindle or (2) Prices will decline as demand declines.


The System Matrix, F (above), shows the interaction between the three state variables (column [,4] is the constant term in the statistical model). The system is stable (ignoring the constant) and cyclical (periods and damping time over hundreds of years). 



Results of manipulating the System Matrix:
  • WL20 In the graphic above, the dark black line is the basic model forecast: slowing growth in the present and collapse shortly after that.
  • F[1,2] = 0 The coefficient -0.02519461 is the negative feedback effect of food production, W2. Without this feedback effect, collapse happens more rapidly.
  • F[2,3] = 0 The coefficient -0.05250691 is the negative effect of the Oil-Market-Footprint W3, on food production, W2. Eliminating this feedback effect reduces the amount of collapse after 2050.
  • F[2,3] = F[3,2] = 0 Eliminating the interaction between W2 and W3, leads to gradual growth and then a steady state after 2100.
  • F[1,1] = 1 Finally, setting growth to a Random Walk, results in an immediate steady state.

What do these results mean in terms of balancing and controlling the World System? 

First, the World system has it's own feedback mechanisms that will limit growth. It should be no surprise that Peak Oil and damage to Agricultural production systems will put the World System in a growth and collapse mode. The two systems (Oil Production and the Green Revolution) are intimately linked and can fail together to provide energy and food for the Industrial Revolution

Second, a World Government would be helpful in minimizing the effects of collapse but I can't see nations agreeing to be governed before 2100 (current effects by the United Nations have been unsuccessful). 

Third, our current Integrate Assessment Models (for example, the DICE model) seem to have none of these feedback effects. 

Fourth, my results seem to align with the IPCC Emission Scenarios which makes sense because system growth, energy emissions and global temperature are intimately liked (I will do a more detailed comparison on a future post).

No one knows the future; all we have are projections from models. Politicians who claim that all the model projections are a hoax simply rely on their gut instincts to say that everything will be fine--a massive act of ignorance, denial and hubris before the fall.

Recovery Forecast

Since the WL203 model (here) is cyclical and stable, the prediction for the far-distant future (after 2130) is for recovery. But notice that the system does not reach the same level it had reached in 2000; Entropy takes it's toll.







Friday, August 15, 2025

World-System (1950-2000) How Does the Economy of Switzerland Work?


The United States recently imposed punishing tariffs on Switzerland. To understand how a trade war might affect the Economy of Switzerland we need to understand how the economy works. Socio-technical systems are complex systems that, in spite of claims to the contrary, no one can understand fully. What we can understand are mathematical models and I have one (a state space statistical model),  the CH_LM model (see the Boiler Plate for a more detailed description of the models).

Not surprisingly, the bottom line is that the Swiss economy is an Export Controlled economy. Tariffs will trigger long-term adjustments to economic growth. What follows is a detailed explanation.

There are two important components to a Dynamic State Space Model: the Measurement Matrix and the Systems matrix. The Measurement Matrix (below) shows how the indicator variables are weighted in the state space, that is, how the state space is defined.


The five indicators variables are Q (Aggregate Production), N (Population), U (Urbanization), XREAL (Real Exports), X (Nominal Exports) and L (Labor). The first component, CH1, is overall growth (the variables are all similarly weighted). The second component, (CH2), is a historical feedback controller for (X-HOURS)--exports and employment have to stay in balance. Finally, the third component, (CH3), monitors the relationship between Urbanization and Export Employment. Together they explain approximately 100% of the variation in the indicators!

The time path of the three state variables is presented above. CH1 seem to be reaching a steady state after 2000. CH2 = (X-HOURS) reaches a low point (X < HOURS) around 1975. And, CH3 = (U-HOURS-X) reaches a low point (high Urban Export Employment) around 1995.

The important point to understand about the historical controllers (CH2 and CH3) is that they control the economy over decades, not from year to year, as in conventional economic models where price changes have relatively immediate effects.

The interaction between growth and the historical controllers is determined by the System Matrix, below.
Notice that one of the diagonal coefficients of F is greater than 1.0, meaning that CH2 = (X-HOURS)  makes the system unstable. To understand the dynamics the model, we can look at a shock decomposition of the Systems matrix, below:



Let's just look at the growth-effects of a shock and the historical feedback effects of a shock to CH2 = (X-HOURS). The rows of the shock decomposition diagram show the effect of subjecting CH1 to a one standard deviation shock (row 1 above) and then (row 2) subjecting CH2 to a one standard deviation shock (both are large shocks to make effects clear). 

A shock to economic growth takes about 4 years to work it's way out of the system with the full shock not being felt by either CH2 or CH3 (CH3 peaks quickly and returns to equilibrium). A shock to the Export-Employment controller (second row) takes about 4 years to be corrected (middle graphic) and has a negative effect on CH1 and a negative effect on CH3 (which is over-corrected after about 7 years).

In other words, shocks such as the imposition of US Tariffs will have a multi-year effect on economic growth but will be met by historical feedback responses from the Export-employment controller and the Urban-Export-Employment controller. 

If you would like to experiment with the CH_LM model, you can run the BAU code here. You can experiment by stabilizing CH2 = (X-HOURS) to see what effect stability will have on the Shock Decomposition. You can also look at the effect of going on a Random Walk (RW) for new trading relationships. The problem with the Random Walk (RW) is that it might product a period of declining economic growth while new trading partners are found; a new attractor path must eventually be found in a matter of years.



Tuesday, July 29, 2025

The Business-as-Usual Scenario (BAU): Models vs. Reality


The Intergovernmental Panel on Climate Climate Change (IPCC)  started publishing Emission Scenarios in 1990s and almost immediately abandoned using a Business-as-Usual (BAU) scenario because it was thought to be misleading. BAU implied that nothing was being done but governments and industries were adopting some sort of Climate policies (even if they were just Greenwashing). What Business-as-Usual really meant was becoming murky.

With the Fifth Assessment Report (AR5) in 2014, the IPCC began using an handful of Representative Concentration Pathways (RCPs, see graphic above for RCP1--RCP5). Unfortunately, what happened is that the Worst-Case Scenario (RCP8.5) became the BAU scenario. In 2020, Hausfather and Peters wrote an article in Nature and on the Carbon Brief Blog arguing the Worst-Case or BAU scenarios were unlikely and interfered with policy development.

First, the IPCC tackled a really difficult (unsolvable?) problem (the Future is Unknowable) in a very intelligent way (maybe the only way) and I have used the approach extensively in all my economic and environmental projections (see the Boiler Plate). But, I haven't given up on the BAU Scenario because it can be defined precisely with Systems Theory (not that a precise definition will reduce confusion but at least I can try).

A BAU Model df = A dynamic system model without inputs.

In reality, it is very rare to find closed systems. Everything is related to everything.  This is why scientists construct experiments, to control (isolate) system inputs. When we are study socio-economic-environmental systems, we cannot conduct experiments; we cannot control system inputs. But, we can construct dynamic models and we can control the inputs of the models.

And, in my experience, the mental models of most policy makers involve BAU systems, systems without inputs. For example, when politicians impose protective tariffs (a favorite policy choice of the Trump II Administration in the US), they seem to uniformly forget that their country is embedded in a World-System where there will be second-round effects and retaliation. If the BAU model is the most likely mental model used by Policy Makers, it needs to be involved as a comparison for different (provably better, at least within the models) policy measures.

Systems Theory also helps here by helping define the Policy Space as filled with alternative systems, many of which will have inputs. Starting with the BAU model helps us define the other models.

Notes

From Google AI:











Wednesday, July 9, 2025

Technological Long Waves


The Kondratiev Wave is an important element of World-Systems Theory. The graphic above is taken from Andreas Goldschmidt and gives historical specifics for technological cycles. Goldschmidt's formulation allows for the idea to be tested (one of the models I always test), is partially consistent with economic Growth theory (particularly if we do not assume a functional form for exogenous disembodied technological change in the Solow-Swan Model) and I can present some examples.

Tuesday, July 8, 2025

The Iranian Revolution

 



This documentary presents many of the historical issues surrounding the Iranian Revolution: The transition from Feudalism, Modernization, Westernization, Religious Reaction, Petrostate politics, the role of the US Government and the CIA activities in Iran, etc. Very much worth a watch.

Notes


Further reading:

Blog Roll:

Friday, June 27, 2025

World-System (1950-2190) Stabilizing the Iranian Economy

 


In a previous post (here), I presented seven forecasts for Iran. The "best" forecast was a Business-As-Usual (BAU) forecast for infinite exponential growth into the future, a result that would probably please Iran's economic planners. It's also not realistic. The only thing that grows forever is cancer. At some point, Iran (and many other countries) will have to face the Steady-state Economy.

The graphic above shows a forecast for Iranian growth that reaches a steady state sometime after 2190. It involves a simple change to the IR_LM model. The growth parameter is simply changed from 1.01282761 to 0.98, a reduction of about 0.03%--slowing growth not economic stagnation.

Getting countries to reduce growth rates is not simple matter, as the IPCC has found when trying to control climate change. But, it is the same lesson demonstrated by the Limits to Growth models and System Theoretic considerations.

For Iran, Instability (unstable Systemic Growth) was created by the pressure to Modernize, both from the Pahlavi dynasty and from the Foreign Policy of the Kennedy Administration (Walt Rostow, one of Kennedy's Academic Brain Trust, was a strong advocate of "take-off into sustained growth" (the definition of historical instability in the Growth Component IR1) and a fundamental tenant of Modernization Theory


Notes

You can run the IR_LM model yourself (here). You can read an explanation of how the state space Dynamic Components Models (DCMs) are constructed in the Boiler Plate.

Your options for stabilizing the  IR_LM model are to (1) reduce growth rates and (2) increase feedback effects. Bootstrap confidence in intervals in the code will help you pick reasonable values for changes to the System Matrix F.

Further reading:

Blog Roll: