Monday, June 2, 2025

LLM's: the backhoe and the bench-press

This is in response to a post at Brad DeLong's "Grasping Reality" blog, From ChatGPT back to clay & cuneiform: A start at rethinking pedagogy for the Age of "AI".

https://wiki.opensourceecology.org/wiki/File:Backhoe.png

He asks himself two questions about broad objectives as a teacher:

  • What do I want my students to remember five years from now about this class?
  • What do I want my students to know how to do after they have taken this class?
Those seem like absolutely the right questions.

In thinking concretely about his course in economic history, he presents his week-by-week themes and wonders about a weekly structure of three parts:
  1. What is our question?
  2. How would you go about discovering the best answer to it, at least to your satisfaction?
  3. How would you then persuade somebody else that the answer you have come up with is the most likely answer?
He writes,
Could that serve as a scaffolding for education in the age of AI?

I think it could. By focusing on 'how would you discover?' and then 'how would you persuade?', we could avoid all of the traps involved in the overuse of LLMs.
This seems promising to me, though I suppose the first test would be to take items 2 and 3 and ask an LLM to do them.

My broader concerns about the impact of AIs on learning are rooted in how I view the role of memorization and practice. And the difference between short-term and long-term memory.

Monday, May 19, 2025

What's in a record

Wandering around the Web, I found an interesting observation in a discussion of climate change and the reluctance to accept the scientific consensus.

A commenter wrote:

The record high for India was in 2016. Check out these record highs from around the world. Far more highs a few to several years ago than within the past couple of years. What does that tell a thinking person?

And they gave a link to a Wikipedia page with world weather records: https://en.wikipedia.org/wiki/List_of_weather_records

Which got me wondering, What does that tell a thinking person?

I scrolled through the list of record highs and noticed that, indeed, there were a lot of dates from before the 21st century and thought that was interesting.

Then I started wondering what we might expect the data to look like if there were no warming.

And my thought was that they should be evenly distributed through time.

So I threw them in Excel and took a look:

And I thought, "That doesn't look very random!"

Sunday, April 20, 2025

After Social Security: The elegant balance

The previous post—the first post in what might be a series—gave an overview of what I think is important to understand about Social Security, and then dug down into the logic of why every retirement system is, of necessity, a way of moving claims on current output from people currently working to people who are retired.

This installment looks at how Social Security elegantly balances competing visions of what it means for this type of system to be “fair.”

Why do you earn what you earn?

Think about why you have the income you have, compared to someone else’s.

Maybe you get paid $40,000 a year. Or (less likely), it’s $200,000 a year.

Why do you have one and not the other?

With some pretty strong simplification, and maybe a bit of arbitrary line drawing, we can put the causes into two buckets.

The first is merit: your hard work, your intelligent decision-making, your creative problem-solving.

The second is fortune: good luck lifting some people up, bad luck dragging others down.

Remember that Social Security runs off of a “flat” tax, where everyone pays the same 12.4% of their payroll income, up to $168,000 of income (so maxing out their Social Security taxes at $20,832).

Given that people are mostly putting in the same portion of their income, how much should each person get back?

That “should” depends on your sense of the mix of merit and fortune.

Tuesday, April 15, 2025

After Social Security

Original image from By Social Security Administration - Social Security Administration, Public Domain, https://commons.wikimedia.org/w/index.php?curid=43304462
Modified by the author


Social Security isn’t necessarily dead, but there have been Republicans trying in various ways to end since at least 2005, when George W. Bush came out of his re-election saying that he had won political capital and he intended to spend it.

Of course, that effort ended up going nowhere – Bush spent some political capital in his failed push, and then burned through a bunch of what was left with his botched response to Katrina later that year.

Now we’re back at it and the threat is arguably sharper. We’re dealing with a Republican party that is less independent from its president than 20 years ago, a president less inclined to listen to reason, and an off-brand Tony Stark who’s been given the keys to the kingdom and may well have the capability to make the Social Security system so dysfunctional that it falls apart without Republicans in Congress needing to leave their fingerprints on the murder weapon.

Social Security’s demise is hardly a foregone conclusion, but it’s enough of a possibility that I thought it was worth looking at what our options might be after it happens.

The part of this post above the fold is the TL;DR of the whole thing, a series of declarative statements.

Below the post is the “too long” explanation of that first declarative statement.

I hope I’ll lay out explanations of the rest over the next few weeks, but there’s usually a large gap between my intentions and my accomplishments.

Laying out the spine of the argument is easier, so here it is.

There are lots of different ways of organizing a retirement system: government pay-as-you-go (PAYGO) like Social Security; private PAYGO like an old-fashioned company pension; pre-funded company pensions, and private retirement accounts. But the differences among those systems are differences in accounting. Underneath, every single retirement system has to do the same thing. It has to move claims on current output from people who earned those claims by working to produce current output, to people who are no longer working and therefore not playing a role in the production of current output.

A retirement system might want to give a helping hand to people who, for whatever reason, had relatively low lifetime earnings. It also doesn’t want to incentivize people not to take care of themselves during their working lives. Those two goals are potentially in conflict, but Social Security strikes an intelligent balance between them.

People describe the Social Security trust fund as a fiction or a Ponzi scheme, the government borrowing money from itself to pay itself. That’s sort of true, but it’s more false. The 1983 reforms that led to the large (but shrinking) trust fund we have today represented an implicit bargain about who on the income scale would pay when. People of average or lower income would pay up front in the 1980s, 1990s, and 2000s, in order to build up the trust fund, so that Social Security was there for them when they retired. People of higher incomes would pay in the 2010s and after in order to fulfill that promise. Destroying the system now is letting higher-income folks out of their end of the deal, just when it becomes time to pay. And the part about it being a Ponzi scheme—“There’s no money in there for you when you retire! The money you pay now just goes right at the door to pay today’s retirees!”—that part is simply based on a failure to understand what a retirement system does, which is that it moves claims on current output from people who are working, to people who are no longer working.

Replacing Social Security with individual accounts has three problems. First, individual accounts have administrative costs that are an order of magnitude higher than Social Security. Second, the intelligent balance between cushion and incentives described above is impossible with individual accounts. And third, the promise of higher returns by putting money into the private market instead of Social Security is logically impossible to achieve on a system-wide basis, because of the unavoidable nature of every retirement system (moving claims on current output from people working to people who are no longer working).

A large part of why Social Security has financial problems is that more and more of the claims on current output are going to people in forms that don’t get taxed to cover Social Security. That’s a fixable problem.

Social Security faces three fundamental problems. First, an increasing share of the population is of retirement age. Second, the growth of GDP per capita is slowing down. Third, the system as currently funded will run out of money. That third one, as mentioned above, is fixable. The first two don’t have such obvious solutions, but they are just as serious for any alternative to Social Security, because the underlying nature of any retirement system is that it moves claims on current output from people who are working, to people who are no longer working.

Lastly—and to justify the title of “After Social Security”—if Musk et al. succeed in destroying Social Security, it will be disastrous, but it doesn’t have to mean the end of sensible retirement arrangements forever. The bad part is, they will have stolen a lot of money and impoverished millions and probably led to a significant amount of premature death as people face challenges they could have overcome had they had access to the Social Security benefits that were their due. But any retirement system is ultimately a social arrangement, one that (say it with me now) moves claims on current output from people who are working, to people who are no longer working. The true wealth of a country is not measured in collections of financial assets, but in the ability to accomplish useful things. To the extent that we still have that ability after Musk is done experimenting on us, it will be in our hands to decide whether to re-establish a decent retirement system.

That’s the spine of the argument, and it only took me about 750 words.

The rest of this post will be making good on the first claim, the thing that is most important of all to understand before trying to solve Social Security’s problems: Every retirement system moves claims on current output from people who are working, to people who are no longer working.

Sunday, March 23, 2025

Apocalypse no. 2

 Part of a semi-regular series. The first part is here.

Albrecht Dürer
The Four Horsemen, from The Apocalypse
via Wikimedia

You've probably encountered people saying we don't need vaccines because "who gets measles now anyway?" and "when was the last time smallpox was an issue?".

You get why that's a problem, right?

We don't see measles moving through our population because almost everyone has been vaccinated against it, and we're in the middle of getting to see what happens when you drop that rate from 95% to 80%.

This is the paradox of vaccine success. They work so well, we forget that they do anything at all.

What if we had this attitude towards the way society as a whole works?

Government is a convenient whipping boy: a target for our frustrations with how our lives are going. And it's easy to find things that government does wrong, could do better, or makes worse.

Unfortunately, it's even easier to overlook the basic things that government does well which enable the day to day lives we've come to expect.

For a quick and morbid example, it's illegal to sell baby cribs with bars too far apart. If you're a manufacturer of baby cribs, you might find this annoying. If you're a parent of an infant, you might appreciate that the government has made it impossible for your baby to get its head stuck between the bars of its crib and strangle itself. But you also might be unaware that such a rule exists. All babies - including yours - are now safe from getting their heads stuck between crib bars and strangling themselves to death, and people don't realize that it was government action that removed that risk.

For a longer example, and one that hits home given where I live, we need an outline understanding of how a rural economy works.

The one economic field in which rural areas have a natural advantage is resource extraction.

Friday, March 21, 2025

Apocalypse no. 1

 Part of an occasional series

Albert Goodwin, Apocalypse
https://en.m.wikipedia.org/wiki/File:Apocalypse-Albert_Goodwin.jpg

You could say I'm doomer adjacent.

I have friends, acquaintances, and colleagues who are full-on doomer, and I understand their arguments.

On one side, there's what we're doing to the natural systems that support us. At the broadest level, global warming of course, but we're pushing at ecosystems and resources in lots of other ways as well. This is a problem of having too much access to fossil fuels for our own good.

On the other side, the idea of peak oil raises the possibility that we don't have enough easy access to fossil fuel to maintain the way of life we've come to take for granted.

Too much and not enough at the same time. I understand the argument, and I can't prove it's wrong.

I used to be full doomer myself, and in 2008-09, I expected that's what we were seeing. I was clearly wrong, so I've learned to be more cautious about forecasts.

Understanding the deep forces beneath a situation is useful, but does little to help you predict the details of how things will unfold.

Saturday, March 12, 2022

Ukraine: The least-bad result

As negotiations between Ukraine and Russia maybe move past ultimatums, I've seen discussions of what a settlement might ultimately look like.

One position is that any concession by Ukraine is a complete loss, given that Russia was the aggressor and Putin will have emerged with a victory.

That's an understandable reaction, but I think it's inaccurate.

Let’s say the terms are:

  • Ukraine formally recognizes Russian control of Crimea and Donbas;
  • Ukraine agrees to neutrality.

Does that suck? Yes. Russia was the aggressor, and this settlement means they got something out of launching an unprovoked war.

But it’s just not true to say it’s a complete loss.

Russia controls Crimea and Donbas now. Recognizing those facts on the ground as a concession to end the fighting isn’t good in that it rewards horrific behavior, but it doesn’t change any reality of who controls what.

Ukraine isn’t in NATO now and wasn’t on track to be for another 5 to 10 years. Saying explicitly, “We’ll be neutral” and thus taking away some freedom of action of the Ukrainian state isn’t good in that it rewards horrific behavior, but for the next 5 or 10 years Ukraine wouldn’t have been in NATO anyway.

What did Putin want?

He wanted Zelenskyy gone.

He wanted a pluralistic, relatively open system in Ukraine replaced by a government subservient to Russia.

He wanted to show what a badass Russia was, and its military.

If Ukraine and Russia end up settling on something like the deal I outlined up top, Putin gets none of that.

On top of that, he’s revealed his military to be weak and ineffective for its size when up against certain kinds of opposition.

So he gets formal recognition of things that were already true de facto, in exchange for thousands of war dead (so far), thousands of pieces of equipment lost (so far), crippling economic sanctions, a spur to Europe to wean themselves from dependence on Russian energy supplies, and the revelation to the world that he is militarily much weaker than everyone assumed.

That’s not a total loss for Putin, but it is still a very bad outcome.

Is it worse for Ukraine?

In many ways yes, of course.

2 million refugees.

Large numbers of civilian dead (one city reported 1,500, but they know that’s an incomplete count, so maybe we’re at 10,000 already; Putin’s probably not done bombing cities, so the total will likely be in the 10’s of thousands).

Apparently fewer military deaths than Russian military deaths, but maybe similar as a share of their army.

Massive damage to infrastructure.

But all of that is already true.

The deal I outlined up top stops those losses from accumulating.

And at the end of it, Ukraine has the support of much of the rest of the world to rebuild, and likely entree to some kind of economic arrangement with the EU, even while they stay out of NATO.

Is this outcome unjust?

Absolutely.

Something that approximated justice would have Russia returning control of Crimea and the Donbas, and paying for full reconstruction of physical damage in Ukraine, plus some kind of war indemnity.

But you only get to impose that kind of deal if you have the military might to force the other party to accept it.

Ukraine certainly doesn’t have that military might.

NATO maybe does, but then you have to ask whether something resembling justice for Ukraine is worth the likelihood of World War III.

Stalin invaded Finland in 1939. The Finns fought back much harder than the Soviets expected, and they used winter to full advantage. But eventually the sheer might of Soviet military power, however clumsily applied, carried the day.

Finland lost a war that had been unjustly waged against them. And they lost some territory. And as part of the ultimate settlement after World War II, they accepted neutrality.

Did that suck? In some ways, yes.

Was it unjust? Sure.

But they preserved the ability to manage their own affairs at home, and became one of those Nordic social democracies that many of us Americans look at longingly.

They escaped the fate of their Baltic neighbors who were fully incorporated into the Soviet Union, saw large numbers of their people exiled to other parts of the USSR, saw an influx of Russians, and saw their economies hobbled by 40 years of Soviet-style economic management.

If Ukraine can fight its way to a Finnish-style settlement, that will be unfair and emotionally unsatisfying.

But the only likely alternatives I see are:

  • Complete subjugation to Russia
  • A wider war, possibly World War III

If I’m right about that, then a Finnish solution for Ukraine is the least-bad outcome at this point. 

Sunday, October 3, 2021

Driving contagion

 "My health care is none of your business!"

To an extent, sure.

Your drinking is also none of my business - under certain circumstances.

If you drink yourself into a stupor in the privacy of your own home, that's your God-given right. If you do it repeatedly and bring on cirrhosis, I might note the cost you've thereby imposed on the medical system, but people make all sorts of choices that somewhat raise their risks of needing medical care. We don't want to go down the road of routinely policing behaviors where people increase their own risk of medical harm.

But if you get behind the wheel of a car, then your drinking is very much my business.

It's not that drunk driving is murder.

If you take a gun that you believe to be loaded, point it at someone, and pull the trigger, that's attempted murder. If the gun actually is loaded and if your aim is good enough for the distance you're at, then it will be murder in fact.

You had the intent to kill the person you aimed the gun at.

Driving drunk isn't like that.

First, most drunk drivers aren't intending to kill anyone. They simply want to get somewhere, and they tell themselves that they're not that impaired.

Second, it's pretty common for someone to drive drunk and not kill anybody. With enough luck, you can make it home from the bar with not even a scratch on your car.

Of course, you do have an elevated risk of having an accident, but maybe you just end up in the ditch with no more than some bruises.

Then again, you might kill yourself and nobody else - driving solo and smashing your car into a tree.

From here

Wednesday, September 22, 2021

Life's a beach, and then you die

Alternative title for this post: The Sunshine Charnel House

Last week I put up a post illustrating the tremendous lag in Florida's COVID death data.

Most states take a few days to collect their data and get it posted, but after that point their older data stabilize. They're not continually updating numbers that are 10 or 20 days old.

Not Florida. They're special. It's now 25 days since I started watching their death numbers, and they're still going back and adding deaths to data that are two months old.

But they're special in another way as well, and that is simply in the amount of COVID-related death they're producing.

Along the way to illustrating that, I'll give you some pretty good evidence that VACCINES WORK, and also give a sense of how much better we might be doing with a higher vaccination rate.

Back in July I posted a comparison of the Delta surge in a collection of nine not-randomly-chosen states. (I wanted places famously having trouble, like Florida and Missouri, and the state with our highest vaccination rate - Vermont - and then through in some others, including New York, where I live, and Massachusetts, where I grew up and where I still have family.)

Overall, states with higher vaccination rates started their surges later, from a lower level, and weren't rising as fast.

That's still true, but I wanted a more comprehensive measure, that somehow gathered in both how early you started, how high you started, how high you got, and how much time you spent at a very elevated level.

What I settled on was to look at cumulative infections in a state from June 1 through August 30. I measured that by taking total infections recorded as of August 31, and subtracting  total deaths recorded as of June 1.

With that "How was your summer?" question as the main effect, I chose as my causal variable a state's level of vaccination on June 1, at the start of the mess. And I went with "fully vaccinated" rather than "at least one shot" - early in the vaccine roll-out, there was evidence that even the first shot of the mRNA vaccines did a good job of preventing infection, but that with Delta it really took both shots to get a good effect.

So: I'm looking at the relationship between:

  1. What was each state's population percentage that was fully vaccinated by June 1st; and
  2. What portion of each state's population got infected between then and August 31st.
And that relationship looks like this:



It certainly does appear that states with higher vaccination rates at the beginning of the summer (further to the right on the chart) also had a smaller percentage of their population test positive over the summer (lower down on the chart).

And if you fit a power function to the scatter of points, you get an R-squared of 0.627, suggesting that this single factor - how vaccinated was your state on June 1 - can explain about 63% of the variance in how many people tested positive.



The t-statistic on the vaccination variable is over 9, implying a vanishingly small chance that there is no relationship in the real world, and that the apparent relationship is just random noise falling a certain way.

And the relationship is not merely statistically significant. Its estimated size is also large enough to be meaningful. The country's overall rate of full vaccination by June 1 was 40.7%. The regression predicts that a state with that level of vaccination would see 1.43% of its population test positive over the summer. For a state with 10,000,000 people (roughly Georgia, or North Carolina, among others), that would mean about 143,000 infections over the summer.

If the state had 10 percentage points more vaccination (meaning it was at 50.7%), it's predicted positives over the summer would be 0.83% of its population. Our hypothetical state with 10,000,000 people would see only 83,000 infections - 60,000 fewer than with the average vaccination rate.

As you can see on the figure, the relationship is not linear. The lower your vax rate, the more quickly infections rise. So a state with 10 percentage points less vaccination than average (putting it at 30.7%) would expect an infection rate of 2.89%. In a state with 10,000,000 people, that's 289,000. That's 146,000 more infections than at the average vax rate.

On these charts, you might have noticed one particularly "out there" outlier.

In case you didn't, here's the second chart with the outlier highlighted.


It is 3.1 standardized residuals above its "predicted" value. The next-biggest outlier is only 1.9 standard deviations off. So Florida went into the summer with an almost average vaccination rate, but ended up really punching above its weight, with the second-highest rate of infections and an unbelievably high level given is vax status.

But that's just infections. Where Florida really excels is in COVID deaths.

Here's the chart. The horizontal axis is still percent fully vaccinated by June 1st, but the vertical is now deaths per 100,000 during June-August.


You probably noticed that outlier, but in case you didn't, I've made it easier to see.


Florida is 3.5 standardized residuals above its predicted value, wile the next largest error is 2.3 standardized residuals.

I don't know why Florida excels in death. It could be as simple as having an older population, in which case age-adjusted mortality rates would bring its numbers more in line with the other states.

Hypotheses are welcome.








Sunday, September 12, 2021

The Florida slow-roll

You've probably heard in the news about what a hard time many states are having with the Delta surge, with schools having to close, ICU's overfilled, people denied care for other health problems because there's not hospital capacity, etc.

Ground Zero of this preventable catastrophe is ... Florida.

So you go to some data site like Worldometers, and you look at how things are going in Florida and:

From here, downloaded Sep. 12, 2021

Sure, they recently reached their highest daily death rate in the course of the pandemic, but since the peak on August 24th, things have been improving incredibly fast.

Here's another screenshot, focusing in on that end of the graph:


That's fantastic improvement!

Except that it's nothing more than a delay in reporting COVID-19 death data.
    I would look in on the Florida page every two to four days, and it also seemed like they had recently peaked, and then things started getting better.

    So on August 24th (as it happens) I started transcribing the day-by-day death stats for Florida off of Worldometers, checking back every couple of days to transcribe a new batch.

    I somewhat arbitrarily chose July 30th as my starting point, opened up a new spreadsheet, and typed in the data from July 30th to August 24th.

    Like on the Worldometers chart, I calculated the 7-day average, and the graph came out like this:


    You can see the death rate peaking on August 11th, then falling very impressively, from 178 all the way down to 28, in just 13 days. Remarkable progress.

    But let me re-scale that, so that there will be room for the later curves I'm going to have to add:


    It's the identical data, just with the vertical axis allowed to rise all the way to 350, and the horizontal axis running out through September 9th.

    I went back on August 27th, and the peak was a little later, and a little higher. That downturn after August 11th turned out not to be true:


    That had been a Friday. I went back two days later, on Sunday, and the first two weeks of the death curve were unchanged from Friday, but the last seven days had all been bumped up:


    Two days later, the whole peak had been raised. The peak now didn't come until August 16th, at 221 deaths per day.


    After that, I missed five days. When I came back, the peak hadn't been pushed any later, but it had been raised, and a lot more deaths had been added to previously recorded days after that peak.


    When I gathered data on September 8th, the peak had been pushed back to August 21st, and raised somewhat.


    Friday, September 10th, saw a big jump and the peak not happening until August 24th.


    Today, September 12th, and went and got the numbers again. Like August 27th and 29th I had a Friday-to-Sunday pair. And like that time, most of the curve was left unchanged from Friday to Sunday, with the update only affecting the last seven days of the curve.


    I fully expect that if I go back on Tuesday, the entire curve will have been lifted again. The pattern over the last two weeks suggests that, even though the reported data show a decline in deaths, the underlying reality is that they're not done increasing their death rate in Florida.

    I should take a moment to address one question that will be obvious to some readers: Is this a big deal? Isn't this just a function of data taking time to compile?

    Maybe.

    My best argument is that I've been looking at data for many states for a while (particularly for the nine states that featured in my previous post), and none of them have this obvious a rosy scenario. They report their data, and aside from a few small updates, their data don't keep drifting higher.

    Just today I started the process of a small check on my impression, by gathering today's death data for New York state, starting likewise on July 30th. In a week or so, I should be able to tell if NY is doing something like what Florida has been doing.

    I doubt it will be that dramatic.

    In the meantime, we can count up how many deaths Florida had failed do count on August 24th, compared to their report today.


    On August 24th (indicated by vertical, black lines), there were a reported 2,907 COVID-19 deaths in Florida.

    Today, not quite three weeks later, that total number of reported COVID-19 deaths from July 30th through August 24th has more than doubled, to 6,187.

    That particular window (through August 24th) might be just about ready to stop getting worse.

    Stay tuned.

Thursday, July 22, 2021

FAaFO

Yesterday's post compared the surge in the U.S. as a whole to what's going on in the U.K. 

Adrienne Martini quite reasonably noted that this is probably playing out differently in different states, since our vaccination rates are so different: in Vermont it's 75%/67% (at least one dose / fully vaccinated), while in Alabama it's 38%/34%.

(The data n vaccination are from covidactnow.org.)

So I assembled a not-totally-random collection of states with varying vaccination rates and looked at their current covid increases.

The lines are color-shaded, with pure red being the lowest vaccination rate and blue being the highest. Florida's 56% with one dose matches the national average, so it has the central shading of gray.

The states are also listed in the legend in order of vaccination rate, from worst to best.

As with yesterday's post, the daily case rates are from Worldometers, 7-day averages, read weekly.


Not surprisingly, the redder lines of the unvaccinated states:
  • Start up earlier;
  • Didn't get as low before starting up; and
  • Are now at significantly higher levels.
But Florida, with the national average vaccination rate, is doing much worse than Mississippi and Alabama, the two least vaccinated states.

Lining up the starting times of every state's increase, you see again the rough pattern that more vaccinated states reached lower lows of infection rates and haven't been rising for as long - but again: Florida ...


The most troubling news for the blue states with higher vaccination rates is that, although we got our rates lower and held off the increase longer, we're now increasing faster than the redder states were at a comparable point in their increases:

(Though note that Vermont is only a little more than two weeks past its low, and with such a small population, it's easy for it to have "noisy" numbers. It will be "interesting" to see how this shakes out in a couple more weeks.)

Bringing the UK into the mix, we can see that none of these nine states is (yet) as bad off as the UK, though that's not saying much, because the earliest of them is still four weeks behind the UK in terms of how long they've been experiencing an increase. 

Lining up the beginnings of everyone's increase, we can see that almost every US state in the sample is above the UK line, which forms sort of an "envelope" below the US lines. Most states didnt get their cases as low, and it looks like they've been increasing faster.


That is clearer to see when we focus in on just the first seven weeks, the length of the longest US increases.

(In transferring from Excel, this chart is somehow losing two labels from its legend. As in the other charts, the all-blue solid line is Vermont, and the black dashed line is UK.)


Adding the UK to the chart of growth, we see the envelope phenomenon more clearly - every US state in the sample has its case rates growing at least as fast as what the UK saw at the comparable point in its surge:


Again focusing in on the first eight weeks:



Missouri is kind of playing footsie with the UK line over the last few weeks, and Texas is pretty close. Everyone else is noticeably above.

I think it's time for masks back on in stores, etc. I'm wondering if in-person restaurants are a good idea.

Tempering that is the very low rate of serious illness among vaccinated people.

Un-tempering that is the way that increased infection rates increase the rate at which new variants arise, giving us higher odds of encountering a version that really cares very little about your vaccination status.

(A note about Texas: it's a little hard to pick the right point for Texas's "low," because they went along a low plateau for several weeks, with transient lows within that. For yesterday's and today's posts I've chosen June 17th, as the last low point before a sustained rise.)



Wednesday, July 21, 2021

What failure looks like

 In case you were wondering (and you know you were), this is what failure looks like:

Figure 1

Allow me to explain.

The UK reached its low in daily new covid-19 cases back on May 5th. The U.S. reached its low back on June 21st.

This is what the two countries' experiences have been in the time since each one's low:

Figure 2

(As the labeling on the chart indicates, the data are from Worldometers. I don't know if there's a way of downloading their data, so instead I set it to show me the 7-day average of new cases, found each country's low point, and then manually found and typed up the values. To save time, I picked up the values ever week rather than every day.)

This graph has two problems in terms of comparing the countries: the action isn't happening at the same time, and the U.S. is substantially bigger than the UK, so we expect to see higher numbers here, even for an equal severity.

Monday, January 11, 2021

Still no word from Salka

This is a follow-up to a letter I sent on Saturday, reproduced here.

Dear Assemblyman Salka,

I still don't really have an answer to my question as to whether you support insurrection or democratic government. I know you're busy, but the response seems both important and straightforward.

Returning to your thought that the attempted coup may have been the fault of leftists, is [WARNING: Link to Parler] this video the work of antifa?

For anyone who doesn't want to click on a Parler link, or in case it's no longer visible, the words are excerpts from Donald Trump speaking over the last four years, backed by dramatic videos and written text.

One example: there's a clip of Mr. Trump saying, "The time for empty talk is over. Now arrives the hour of action." The clip appears to be from his inauguration in 2017, in which context it is an entirely appropriate and moving sentiment. Used in the context of this video, following a lost election where Mr. Trump has failed to overturn the result by talking, and just days before the end of his term, the use of Mr. Trump's words can reasonably be interpreted as a call for violence.

Let's take up your contention that anti-Trump forces were behind Wednesday's insurrection, and extend that idea to this video. In other words, let's assume that it was made by "antifa" or someone other than Trump supporters, in order to lure otherwise-well-intentioned Trump supporters into betraying their country by resorting to violence to overturn an election.

I think that's an absurd set of assumptions, but it's the only way to continue your act of deflecting blame for the insurrection away from Trump supporters. And so, for the sake of argument and to be as generous as possible to your position, let's go with it.

Will this provocation work into tricking good Trump supporters into participating in a violent overthrow of the United States government?

Only if they believe the election was stolen from their hero.

And that's where you come in.

Saturday, January 9, 2021

Local leader playing with fire

On Wednesday evening I wrote to Assemblyman John Salka asking whether he supported democratic governance or insurrection.

On Thursday morning I received a reply from Mr. Salka’s Community Relations Director who suggested that because it was such a hefty question and a nuanced topic, it would be best if I spoke with the assemblyman directly.

Although I agree that the question was hefty, I didn’t really see the nuance in the topic. A band of the president’s supporters had swarmed the Capitol to prevent the official confirmation of the legitimate election result. My question was in essence, “Do you think this is OK?” How much nuance was entailed in answering that?

Nonetheless, I appreciated the assemblyman’s willingness to talk with a random constituent, and we set up a time for yesterday afternoon.

My expectation was that Mr. Salka would make a clear and public statement about the legitimacy of President-elect Biden’s election as part of a clear and public denunciation of the insurrection that happened on Wednesday.

The short story is that he was not willing to do that.

He purports to believe that the election was stolen.

Regarding the insurrection, he doesn't want to be hasty with any public remarks before we really know  who was involved, because he heard that "antifa" or other leftists may have been involved.

The bulk of my long reply follows.


Dear Assemblyman Salka,

I appreciate you taking the time to talk with me yesterday.

I am disturbed, however, by how firmly you cling to hopes of narratives that will exonerate your political faction, in the absence of the least bit of substantive evidence for them.

Regarding your continued devotion to election conspiracies, I note your response in our exchange about affidavits, which you brought up as some of the evidence of wrongdoing. I pointed out that in some cases the affidavits were disregarded because the affiants hadn’t participated in observer-training sessions and therefore didn’t know that the behaviors they saw were absolutely routine.

This seemed like new information for you, but it gave you no pause. You learned that there was no substance in one of the things you thought discredited the election, and you didn’t reflect, you didn’t take a moment to ponder what other pieces of “evidence” might be equally worthless. You weren’t the least bit prepared to defend the position you were arguing. Nor did you care to. You abandoned that point and retreated to the platitude that we have no way of knowing what might be discovered eventually.

In other words, you have no evidence, and you don’t know of any evidence, but you’re still willing to question the integrity of the election.

In our call I mentioned Monday’s press conference by Gabriel Sterling, the elections manager for the state of Georgia, in which he systematically debunked President Trump’s baseless claims about the Georgia election. You can see it here. (And I made sure to find a clip with the awesome sign-language interpreter whom I mentioned.)

If you’ve got time to question the integrity of the election, you should be able to find 30 minutes to watch this. After you do, you should ask yourself the following questions:

Friday, October 23, 2020

Forged in terror's fire

Like many people, my feelings toward my country are complicated. My parents raised us with an implicit appreciation for what it provides to many, but also steered us away from being uncritically patriotic.

I’ve done enough travel and living in other cultures that I have an emotional attachment to being from this place, combined with a sense that, as a society, we’re neither uniquely good nor remarkably bad.

And still it is possible to experience a bitter shock at something that I sort of knew, newly brought to my attention.

I’m just about done reading Eric Foner’s The second founding, about the three constitutional amendments passed after the Civil War. We often learn history in layers. First a simple story about a war to end slavery, leading to changes in the Constitution to codify that result. Then you learn a more complicated story about the nature of that war. And new for me in Foner’s book is how much contention there was around the amendments, and how much they grew out of the evolving political situation after the war.

Like many works that have been increasingly on people’s radar—such as Watchmen with its references to the destruction of Black Tulsa by a White mob—Foner also explains the role of the Klan and other ways that Blacks and their White supporters were violently attacked.

Part of that was familiar. I already knew the outlines of what White terrorism had done to Blacks. I already knew that Blacks in the South attained a significant degree of political and social standing during Reconstruction. I knew that there had been a big increase in schooling for Blacks. I knew that Blacks had served in state governments and in Congress. And I knew that all of that had been undone by the Klan and others using what can only be called terrorism.

What was new for me—and it probably shouldn’t have been—was the realization of just how far the politics of the whole country had been shaped by that same terrorism.

The biracial Republican governments in Southern states during Reconstruction tried to modernize the region, most notably by creating universal public education. (In most places, those schools were segregated, but just having them available for everyone was progress not just for Blacks, but for many Whites as well.)

Those biracial state governments depended on an almost monolithic vote from Black people, plus the support of a crucial minority of White voters. After 1877, White terrorism pushed Blacks out of the political process until by about 1900 hardly any Blacks in the South could actually exercise the franchise that the 15th amendment supposedly gave them. Progressive, biracial Republican governments were replaced by White supremacist 19th-century Democratic governments that re-subjugated Blacks as much as they could, enshrining “separate and very much unequal.”

If we picture an alternative history in which southern Whites obeyed the law and didn’t use terrorism to get their way, it’s not that I imagine progressive Republicans holding power indefinitely, nor do I think that would have been healthy.

But a southern Democratic party that had to compete in fair elections, without enforcing its will through terrorism, would be a very different creature. If it remained devoted to racism, it would have to give up on getting more than a sliver of Black votes and so would have to make itself acceptable to progressive Whites. Alternatively, if it wanted to pursue regressive economic policy, it would have to drop the racism in order to get enough Black votes for a majority.

In an alternative history with the southern White terrorism removed, not only does the South itself experience different policies. The median Senator or Congressman sent from the region to D.C. would represent a different constituency and a different set of national coalitions would be possible.

The terrorism of the Klan fell far more on Blacks than on anyone else. It was mostly Blacks who got killed, and it was Blacks who lost the right to vote, lost the right to a normal public life, while we Whites went about with our rights intact.

But still, when we accepted the legitimacy of a regime installed and maintained by force, we were all scarred to some extent.

Friday, March 20, 2020

Spare the hospitals!

There’s been a lot of attention – and rightly so – on the idea of "flattening the curve," and specifically on the goal of keeping the rate of serious cases below the capacity of the medical system.

If we succeed in that, we win in two ways.

First, critical CoVID-19 patients can get the care they need. At the moment, Italy is the most publicized case of an overwhelmed medical system, and doctors there are having to make awful decisions about which patients get life-saving treatment and which don’t.

Second, if the medical system gets overwhelmed, people with all sorts of medical conditions can’t get the treatment they need. Heart attack? Cancer treatment? Accident? Sorry, we’re busy, and the doctors, nurses are exhausted from trying to keep up with the CoVID-19 cases. If we keep the new virus under control, other people can continue to get treatment.

To reflect this problem, I’ve made two changes to the earlier model.

One of these is that there’s a defined level of hospital capacity.

For the other, the model makes a distinction between mild cases and severe ones. This is still a pretty big simplification, because there’s a meaningful difference between “severe,” which requires hospitalization, and “critical,” which requires hospitalization plus specialized equipment in limited supply.

The details of the model are below, or in the “Model Info” tab of the model.

If you just want to play with it, download the NetLogo Web version of the model from this link: https://drive.google.com/file/d/1CjFPbK9L6wMYTt9Ern_eb3cHLoA1JV-3/view?usp=sharing.



Save it to a useful place on your computer and open it up, and you should see the model.

Tuesday, March 17, 2020

Pandemic economy

“How are we going to pay for it?”

In all the understandable worry about how the CoVID-19 pandemic will play out, a common component is people’s concern about how this will affect the economy: people’s jobs, savings, access to health insurance.

And when people lose their jobs, or even just see reductions in working hours, there are very real problems with how people are going to even maintain access to food, or pay their utilities.

More generally, there’s the question of, “How are we going to pay for the country’s response to the coronavirus?”

The first thing to realize is that that is definitely the wrong question to be asking first.

At the same time, it is definitely a question that needs to be asked.

The upfront right questions are:
  1. What things need to be done?
  2. Are those things physically, logistically possible?
My understanding of the expert advice is that we need people to:
  1. Massively reduce their physical interaction with other people.
  2. Get tested (I’ve seen differing advice on who exactly should get tested. In a situation with insufficient numbers of test kits, there will be some sort of prioritization based on the nature and severity of symptoms, and the extent to which someone is necessarily going to be interacting with wider circles of people, e.g., health professionals.).
  3. Get treatment if they develop a severe case.
For right now, that’s it.

If that’s our program, then a few things absolutely need to keep running:
  1. Food production and distribution.
  2. Medical services, from hospitals through the manufacture and distribution of pharmaceuticals and medical supplies.
  3. Utilities (electricity, natural gas, water, sewer).
  4. Public safety (there will still be heart attacks needing transportation to hospitals; buildings will still catch fire; and even with reduced traffic on the roads, there will still be accidents).
Some additional things need to keep going to some extent to support those “must have” activities, for example:
  1. Production of metal and plastic for food packaging.
  2. Production of motor fuel for necessary commuting and shipping.
Other things absolutely need to not happen, most prominently:
  1. Pretty much the whole nexus of culture / entertainment / leisure / tourism: restaurants, theaters, museums, theme parks, etc.
  2. Other retail besides food and medicine.
That’s a lot of people who won’t be working, and for most of them, not working means not having an income, and any sort of income replacement from the government will be less than 100%, so “optional” purchases go right out the window. Manufacturing activities like the car industry should probably be limiting their operations in the interest of social distancing, but with so many people losing income, it’s going to be an atrocious time to be selling cars, so there’s very limited need to be making them at the moment.

This has short-term and long-term consequences, but the those two things are very different from each other. The short-term consequences are physical and unavoidable. The long-term consequences are social and financial, and in principle, they don’t have to happen.

Sunday, March 15, 2020

Distance in pictures

Yesterday I posted a Web-enabled version of a model to simulate the spread of a virus under different levels of social distancing.

I realize not everyone has the time or opportunity to download the model and run it themselves.

Also, the version of NetLogo that runs on your laptop has some functions that the Web version can't do. Among those things is that the laptop version can take a particular set of parameter values, run the model a bunch of times, save the results each time, then take a different set of parameter values and again run the model several times.

That allows each run to be random, while still enabling you to see the larger patterns associated with particular parameter values.

In case you didn't get a chance to read yesterday's post, social distancing is captured by reductions in the variable SPEED, which controls how quickly people move around in the world of the model. At lower speeds, people make fewer contacts with other people, which in a crude way mimics the effect of social distancing.

For the graphs below, I set the value for SPEED at 0.2, then 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0.

That is, I went from very strong levels of social distancing (speed = 0.2) to no social distancing (speed = 1.0).

At each level of social distancing, I ran the model 20 times.

Each time, I stopped the model after 400 days, or when the virus burned itself out, whichever came sooner.

The model starts with a population of 10,000 people. (The Web version only has 5,000, but the laptop version runs faster, so it's viable to have twice as large an area with twice as many people.)

With new cases per day, the base model (speed = 1.0) sees a peak of almost 90 new cases per day, just shy of 90 days into the spread of the disease.

Out of a population of 10,000, that's almost 1% of the population getting infected in a single day.

If we adopt social distancing down to speed = 0.7, the new cases peak at about 40 per day.

With speed = 0.5, we barely break 10 cases per day (0.1% of the population).

Not surprisingly, this variation in rates of new cases per day translates into vastly different numbers of people sick at any one time.

In the base case (speed = 1.0), the sick population reaches almost 1,800 -- which is almost 18% of the whole population sick at one time.

With speed = 0.7, we keep that to "only" 800.

At speed = 0.5, we hover around 200 for a while before slowly making our way down.

Both of these diagrams illustrate the idea of "flattening the curve."

The third graph shows the total number of people who die from the virus, as that number mounts day by day. With no social distancing, the death toll settles in at around 180 (or 1.8% of the population; see the explanation of the final graph below as to why it settles out).

Increasing levels of social distancing lead to modestly decreasing final death tallies. With speed = 0.6 or 0.5, it's clear the model would have to run for longer than 400 days to see where the total would settle out. But with very stringent measures, the deaths are apparently kept to about 20, or even in the single digits.


The fourth and final graph shows the cumulative number of people who get infected.

With no social distancing, that number levels off at around 8,500, or 85% of the population. The remaining 15% escape because the virus burns itself out:  there are so few susceptible individuals around that, even without social distancing, it can't find them in time to keep perpetuating itself. That's why the death toll settles out at about 1.8% of the population, even though in these model runs the virus is assumed to carry with it a 2% chance of death. Less than 2% of the population dies, because the virus itself dies out before it can infect everyone.

The same dynamic is at work with speed = 0.9, 0.8, and 0.7.

For moderately strong social distancing (speed = 0.6, or 0.5), the model needs to run longer than 400 days to see where it will settle out.

At speed = 0.4, the total infected seems to be stabilizing around 1,000 (or 10% of the population.

At very stringent social distancing (speed = 0.3, or 0.2), the virus dies out with no more than a few percent ever having become infected.

On the one hand, it's great that strong social distancing measures can bring about such effective containment of the virus.

On the other, that containment means that the great majority of people are still susceptible. And that in turn means that if you let up on your containment, the virus is still primed to take off.

I'll explore that further in a couple of days, but tomorrow's model will go in a different direction.

One of the observations of CoVID-19 is that its lethality has been between 0.5% and 1% in countries that have kept it contained (e.g., South Korea), while settling in at more like 3% or 4% in places where the spread got away from the authorities (Wuhan, Italy, Iran).

Tomorrow's model adds some detail to show the interaction between the speed with the viral wave hits and the capacity of the medical system to treat people.

A note on NetLogo
NetLogo is a relatively accessible platform for doing agent-based modeling, where you set up a world in a computer by defining the behaviors of the many individual "agents" operating in the world, then you turn it on and see what happens. You tweak the rules of behavior for your individual agents, and you see how that changes the behavior of the world as a whole.

The program is a free download (though they request registration) from their home page at http://www.ccl.sesp.northwestern.edu/netlogo/.

If you've done coding in other languages, you'll probably find it not too hard to learn NetLogo's code.

Even if you're new to coding, you can open up the program, choose a model from the "Models Library", and play around with it (look under the "File" tab).

Or you can download a model, like the one used to produce these data, available at https://drive.google.com/file/d/1tfbuGOe4IrscMcQgV93aw1y83yi4TvPq/view?usp=sharing.

Once you have NetLogo on your computer, if you double-click a NetLogo file, it will automatically open the software and the particular program as well.

In most models, you can click "setup" and then click "go" and just see what happens.

Then you can read the "Info" tab to see what you're doing.


As you get more adventuresome, you can turn to the "Code" tab and see the guts of the thing.

Enjoy!

Saturday, March 14, 2020

Keep your distance!

I haven't written anything on this blog for ... quite a while.

I'm coming back to it to share a model that may help you visualize the effect of social distancing. Instructions on making it work are below.

When you run the model, you can observe how quickly the virus spreads, how many people in total get infected, and how many people die.
What your screen might look like after 54 days of the model
When you change the degree of social distancing, you can observe changes in all of those factors.

The model is a modification of a pre-existing model of virus transmission. In that model, a small number of people start off infected. People move around randomly, and any time an infected person shares a space with a susceptible person, there's a chance that infection will occur. After a certain amount of time, the disease runs its course: the person either recovers and has acquired immunity, or they die.

The modification I made was to allow the user to change the speed with which people move around the world. Of course this is far from being a perfect representation of social distancing, but it does capture one essential element of that practice: reducing the speed of people's movement in the model reduces the frequency with which people make new contacts.

The default speed of movement is 1. The user can choose any value between 0 and 1, in increments of 0.1. If you choose a lower value, you're choosing a more thoroughgoing implementation of social distancing.

If you scroll down on your screen, you'll see tabs you can open up for the "Command Center", for "NetLogo Code", and for "Model Info". The first two of those aren't much use to you unless you know NetLogo, but if you click on "Model Info" you'll get a bunch of information about how to use the model.
Click on "Model Info" to learn much more

Some results from the fancier laptop version of the model are in the follow-up post.

Getting and using the model
Click or right-click the link below to download the file to a convenient place on your computer. When you open the file, it should automatically open the web page for NetLogo Web and allow you to run the program.
https://drive.google.com/file/d/1KtoYSCMvExdN_xaNBBM1tiWuZhF6SD3O/view?usp=sharing