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.

Friday, June 27, 2025

World-System (1950-2190) The Important of Stabilizing Growth Rates in Iran

 


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 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.


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.

Tuesday, April 22, 2025

World-System (1450-1540) France, Spain or Go It Alone for England

 



This Sunday is the final Episode of Wolf Hall, Mirror and Light (preview above). Cromwell looses favor with Henry VIII and, unlike when your narcissist, egomaniac boss fires you, Thomas Cromwell is beheaded.  Interesting events in the last episode (here), especially in the Privy Council, set the stage for Cromwell's fall. The need for a Geopolitical Alliance with Germany (the Holy Roman Empire) fades as France and Spain reduce tensions. And, the Privy Council starts accusing Cromwell of trying to arrange an unnecessary and unpopular (with Henry) marriage with Anne of Cleves and divert blame from itself.



In Henry's lifetime (1491-1547), this seems to be the end of forging Geopolitical Alliance with marriage. His next wife, the young and adulterous Catherine Howard, was also beheaded in 1542 and his final wife, Catherine Parr, outlived Henry. Was anything lost by failing to form Geopolitical Alliance with continental countries? In a prior post (here) the forecast for alignment with Germany did not look economically promising. Possible economic alliances with France and Spain are presented above. France might have helped economic growth in England, but Spain would not have. In the end, during this period (1450-1540), England ends up going it alone after many lives were lost and the King's treasury quite depleted. 

My analysis of England's alliance failures in the Long Sixteenth Century leave open the question of why and whether the Balance of Power System failed. I will move on to that question in future posts. For the time being, you can run the ES_L16 model (here) and the FR_L16 model (here), in addition to other models for the Long Sixteenth Century here.




Thursday, April 17, 2025

World-System (1450-1650): Anne of Cleves and the German Connection

 



This Sunday on PBS Wolf Hall, Thomas Cromwell finds a new wife for Henry VIII, Anne of Cleves. Anne is the sister of William of Cleves (William the Rich), a German Duke. Cromwell and Henry wanted a Geopolitical Alliance with Germany for Religious reasons. Henry had just split England from the Catholic Church, but still had conventional religious ideas--except for divorce and annulment. The Protestant Reformation was sweeping through Germany but was too radical for Henry (he had just had John Lambert burned at the stake in 1538 as a Protestant heretic). William of Cleves was a more moderate reformer and Henry needed alliances against Rome. The marriage with Anne of Cleves quickly failed for reasons that are unclear but explored in this episode Wolf Hall. My question is whether Germany would have been a good Geopolitical Alliance for England.

In the graphic above, I have presented alternative growth forecasts for Germany (1450-1640). The dark line is the actual data path and the remaining lines are for the Random Walk (RW), the Business as Usual (BAU) and the World System linkages (W).  All the forecasts are similar. After 1600, the Germany was heading for a steady state economy. As I have shown earlier, England would have better going it alone (BAU) or following the World System (here). In any event, alliance with Germany was a path not taken because Henry's marriage to Anne of Cleves quickly failed. Anne was smart enough to take a generous settlement from Henry and she managed to outlive both Henry and Cromwell.

You can explore alternative economic histories for Germany using the DE_L16 model (here) and consult the Boiler Plate (here) for more information about how the state space models were constructed. You can also read my discussion of the German Economy during this period here. And, you can imagine that, rather than Anne of Cleves looks being a factor, John Dee had gotten to Henry with the German growth forecast and convinced him that an alliance was not such a good idea. 


Thursday, April 3, 2025

World-System 1540: John Dee makes a Growth Forecast for England

 


In a prior post (here), John Dee had given Henry VIII a forecast for World System growth. The forecast was not well received. "Who canst fathom a World System?" Henry mumbled as Master Thomas Cromwell led Dee out of the King's chambers, from where Dee returned to his library to divine his next steps. 

Henry had asked for something more specific, a forecast for England for example. Dee twirled his protractor, consulted the Angels and came up with the forecasts in the graphic above, unaccountably plagiarized from both my WL16 model and my UKL16 Model. Dee appropriated the original UK1 data (dark line above) and three forecasts: the Random Walk (RWhistory is just one damned thing after another), the Business as Usual (BAU) model and a model using the World System state variables (W) as inputs.




Dee was a little nervous about the forecasts, so he presented them first to Cromwell. Cromwell was shocked; there was the World System forecast again (the one Henry did not understand) and now Dee had shown it to be far superior to the more reasonable BAU (England goes it alone) forecast. And having looked into the Future, Dee concluded that England would pursue the BAU path at least to the 1600s (if not to the present and here).

"Dr. Dee, you will have to present the forecast yourself to the King. I needst not be asked to render my opinion." History did not record the meeting between Henry VIII and Dr. Dee but Dee did not lose his head (Cromwell thought "...he will have his head loosed from his shoulders...") and managed to outlive both Henry and Cromwell (John Dee died in poverty and obscurity either in 1608 or 1609). History has recorded Dee's attempts to consult the Angels and explain Henry's failed marriages in terms of Geopolitical divinations. I will report those analyses in future posts. 


Season 2, Episode 2 of Wolf Hall aired last Sunday night and brought out some of the issues with the importance of marriages in forming Geopolitical Alliances and stabilizing the Balance of Power System. Henry VIII's daughter with Catherine of Aragon was Princess Mary Tudor (Lilit Lesser in Wolf Hall above). At the same time, Margaret Douglas, Countess of Lennox, was involved in a secret marriage that was not approved by the King. Princess Mary was Henry's link to the Habsburg Monarchy (Austria/Spain) and Margaret Douglas was Henry's link to Scotland which became part of the Kingdom of Great Britain in 1707 (more here). I will investigate all these Geopolitical Alliances in future posts.

Season 2, Episode 3 of Wolf Hall premiers this Sunday (April 6, 2025) and it begins Thomas Cromwell's fall from power. Not to be missed! You can stream Season2, Episode 3, Defiance or watch it over the air on Sunday.


Notes

More information about the World-System models can be found in the Boiler Plate.


Monday, March 31, 2025

What is a System?

 


In the past, I was not one who cared much for definitions. Now, I realize that the lack of clear definitions, particularly in the Social Sciences, has led to unnecessary misunderstanding. For example, in grade school, students learn that the Earth is a complex system with a number of spheres and feedback loops (see the graphic above--humans are located in the Biosphere). Then, students get to college and (might) learn in a Sociology course that there is (or maybe there isn't) a Capitalist World System. Or, they might read that the IPCC (Intergovernmental Panel on Climate Change) is having trouble identifying feedback loops in Human Systems. Then they might go back to Sociology (or Economics) and find that feedback loops are never discussed and that even the concept of a system is not taken very seriously.


Or a student might go to ChatGPT (here) and be given the definition above (with more text in the Notes below). At first, I had a problem with "components" and "work together to achieve a specific goal or function." Does the Earth System have a goal? Does it have components such as gear shifts (cars) or central processing units (computers)? Then I realized that the "component" parts of the definition are imposed on physical systems (which may or may not have them) so that we humans can better understand what we are talking about.

In the Earth System, the Atmosphere, Cryosphere, Hydrosphere and Lithosphere work together to support the Biosphere (Human, plant, animal life and consciousness--see Gaia philosophy). In my experience, critics have a field day with Systems Theory when it gets too speculative (e.g., Parsonian Systems Theory) and when definitions remain murky (particularly operational definitions, that is, measurement).



Just to make the discussion somewhat more concrete, does the graphic above (the Kaya Identity used by the IPCC) describe a system (where N=Population, Q=Output, E=Energy, CO2=Carbon Emissions and T = Global Temperature)? The extensive variables (N, Q, E, CO2 and T) are causally connected. The Impact (I=PAT) is described by the intensive variables (q=Q/N, e=E/Q, c=CO2/E and t=T/CO2).

As a conceptual system, the Kaya Identity is clear about the components, the interconnections, the purpose (explain climate change), the boundary (anything other than the extensive variables is out of the system) and inputs-outputs (N -> T).  It is only missing "feedback" mechanisms which, evidently, are optional. As a physical system, we know that all sorts of extensive and intensive variables are missing. Let's look at two well-known conceptual systems, the Malthusian Model and the Capitalist model to fill in some gaps.




The Malthusian system model (and here) is widely and deliberately misunderstood for all sorts of political reasons but the model (above) is simple, straightforward and unavoidable when trying to understand population growth and control. Population grows when there is an excess of Births over Deaths (b-d). Production (Q) does not necessarily keep pace with population growth (there is no technological change in the model--I'll add that next) and the difference, ECC=(Q-N), is the Error Correcting Controller (if you want to see specific examples of appropriately weighted ECCs, see the WL16 model). When population growth exceeds economic growth, it is a signal for population to decrease (or production to increase, if that is possible). The model is particularly appropriate for Peripheral Countries and for time periods before the Industrial Revolution.



The Capitalist Model (above) assumes that a system driven by technology can support any level of population growth. There are two kinds of technological change: Endogenous (tech) and Exogenous (TECH). The ECC in this model involves employment (L) and the substitution (or addition) of embodied technology (Fixed Capital) for workers. The original version of the model (from David Ricardo and Karl Marx) assumed that profits were generated from a fixed, subsistence wage (W=wL) when compared to production, R=(Q-wL), thus the ECC = (Q-L). The model is particularly appropriate for Core Countries and for time periods after the Industrial Revolution.

In the Essays on Biography, Part II, John Maynard Keynes wrote about both Malthus and Ricardo and their lengthy correspondence. Keynes felt that the foundations of Economics could have been based on either Malthus or Ricardo, but that Ricardo won to the detriment of future thinking. There is really no reason to have to choose. Both authors had perceptive insights. However, from the standpoint of Systems Theory, it is easier to start with Malthus. The Malthusian ECC can easily be generalized (here, here and here).

It is also important to understand that I am developing conceptual systems. The linkage to real systems is tested using statistical analysis, specifically Dynamic Component Models (DCMs). The reason for DCMs is that Directed Graphs can (1) easily get very complicated, (2) are not Canonical and (3) are isomorphic with a single DCM. For example, the Malthusian model can be easily added to the Capitalist model and both are isomorphic (when statistically estimated) with a DCM. In other words, Directed Graphs help us clarify thinking but they do not related uniquely to some real system.

Also, the DCM model separates growth components (state variables) from feedback components (cyclical variables). The components (state variables) are statistically independent since they are constructed with Principal Components Analysis (PCA). So we can analyze economic growth and business cycles separately and independently and still conduct a systems analysis.

Returning to the problem of whether or not there is a Capitalist World System and, if so, when and where did it develop, my solution would be to test the Malthusian and Capitalist models separately during a specific historical period where data is available. A Capitalist World System model would have to have a Capitalist ECC. For example, the Long Sixteenth Century World System Model (WL16, here) has both an Environmental and a Malthusian ECC. Since the Industrial Revolution Take-off did not happen until the Nineteenth Century (here), the result for L16 makes sense. 

World-Systems Theory looks at a world of countries (systems) under hierarchical controlCore Countries controlling Peripheral Countries. My approach is to test the hierarchical structure using different input variables to a DCM for each country and region. I also include a World System model (for example, WL16) to link directly with the IPCC World models and with the Limits to Growth models.

One more topic to address is attributes of the system: (1) Observability (are all the system states observable), (2) Reachability (are all the states reachable), (3) Controllability (Is the system controllable), (4) Stability (is the system stable), (5) etc. All these attributes are measurable for DCM models (see the dse, Dynamic System Estimation program). These attributes are only available in a formal systems model with clearly defined (through PCA) state variables.


Notes

Readers might wonder why I have not included a Market Model in the basic models above: (1) Both the Malthusian and Capitalist models are conducted in real terms (quantities are divided by prices), (2) there are no markets for population except in a slave system and (3) markets do not actually control the entire socioeconomic system (I prove the issue here).

Here are "Key Characteristics" and "Types of Systems" reported by ChatGPT:









Sunday, March 23, 2025

Wolf Hall II and the Modern World System (1450-1640): Consulting Astrologer John Dee

 


I hope you are watching the final episodes of Wolf Hall Season 2 on PBS starting last Sunday, March 23, 2025 (the link is here and you might find parallels to the current political situation in the United States). In a prior post (here) I discussed Season 1. In this post, I will start laying some groundwork for Season 2. In future posts, I'll comment on the remaining episodes (you can stream Season2, Episode 3, Defiance or watch it over the air tonight).

Thomas Cromwell, the central character in the Wolf Hall TV series, lived from 1485-1540 during a period called the Long Sixteenth Century (L16, more information will be posted here). Cromwell was Henry VIII's chief minister and played a prominent role of the beginning of the English Reformation.

To help me understand the The Tudor Period (1485-1603), I've constructed a number of state space models for England, France, Spain, Italy, Germany, Portugal, the World System and other countries in the World-System using available historical statistics (see the country models here that will be attached to future posts)The most noteworthy aspect of my WL16 state space World System model (here) are the two Growth Error Correcting Controllers (ECCs), one is an environmental controller (Q-T) and another is a Malthusian Population and Production controller (Q-N)--see the Measurement Matrix in the Notes below. I can also compare the WL16 model to a conventional economic growth model driven by technological change.*


In the  Wolf Hall TV series, we are seeing the Tudor elites (Thomas Cromwell and Henry VIII) in all their splendor. All the heavy, elegant clothing had a purpose: the castles were cold and drafty and this was the Little Ice Age in Europe (graphic above from Waldinger, 2022). We find out little about the lower classes in the TV series, but we can be sure they suffered.

Another important aspect of the Long Sixteenth Century was that it was the start of Capitalist Agriculture and the formation of the World-System (discussed here and here). The evolution of the World-System is my primary interest in the Wolf Hall TV series because it helps bring the history to life.

Historical re-interpretation is another way to bring history to life and Hillary Mantel does this in Wolf Hall (see the Real Story Behind Wolff Hall and the Fall of Cromwell from the Smithsonian Magazine).


I'm going to extend Hillary Mantel by including John Dee (a character not in "Wolf Hall"). ChatGPT (here) reports that Henry VIII "...did rely on astrologers like John Dee (who later advised Elizabeth I) and may have had private interactions with individuals claiming to predict the future." In the graphic above, I assume that sometime before Cromwell's execution, John Dee made two predictions, one (optimistic forecast) for Henry VIII and one (less optimistic) for Thomas Cromwell. The optimistic forecast was "unlimited growth forever" (the dotted green line in the graphic above) and the less optimistic forecast (the black-blue line) for a Limit to Growth (the dashed red line was the Random Walk--history is just one damed thing after another).

I'm going to imagine that Henry VIII's response to the optimistic forecast was "Surely, Doctor Dee, I should care not for such World Systems when my appetites are solely for England."** Cromwell was not so dismissive in his response but encouraged Master Dee to focus on the best Geopolitical Alliance Henry might find through marriage. 



Dr. Dee went back to his extensive library in Mortlake, Surrey in England, dusted off his protractor and constructed geometric forecasts for Henry VIII and later Elizabeth I (Henry's daughter). In these forecasts, Dee was careful not to be seen as an unwitting tool of evil spirits. In future posts I will report on modern day versions of Dr. Dee's imaginary forecasts and concentrate on finding the best Geopolitical Alliances for Tudor England.



Notes

* The Environmental and Malthusian controllers are not the only ECCs that can exist is a socio-technical system, but they were the most important in the Long Sixteenth Century. Dynamic Component Models (DCMs) divide system variables into growth and cyclical component state variables. The growth component is equivalent to an economic growth model. The feedback components describe ECCs. Neoclassical Economic Growth theory has no concept of feedback and Climate Change models have struggled to identify feedback loops in Human Systems,

** Unfortunately, for Henry VIII's appetites and intuitions, the World System (specifically the WL16 model) was an important driver of England's development during the Long Sixteenth Century.

Data were taken from the Maddison Database and the Measurement Matrix (below was constructed from the available data using Principal Components Analysis, PCA). Q =  Aggregate Production, N= Population and T = Global Temperature. During the Long Sixteenth Century there was no concept of Aggregate Production, Aggregate Population, Global Temperature or the World System.



More detail about the model will be made available in future posts. You can run both and unstable and stabilized version of the WL16 model here. For more technical information, see the Boiler Plate.


Links