A Covid Conversation… But with Humility.

We know WAY more about Covid-19 than we used to. But there is plenty of appropriate and inappropriate incredulity concerning the data meaning, validity, and implication. I want to take a minute and give it the good ol’ Stat – 201 college try. Here’s the level-headed and appropriately humble Covid statistics conversation.

A: “The US has more cases of Covid than Portugal.”

B: “Yes, but that’s not important. They are very different countries. After all, 65% of people in Portugal live in urban centers. For the US, that number is 80%. Obviously, people being close together, such as in urban places, will contribute to more Covid cases.”

A: “OK. Fine. They may be incomparable. But the US has more cases than the UK, which has a similarly urban population of 83%.”

B: “Yes, but the US is larger. The UK has a smaller population – Of course the US has more cases.”

A: “Ah! And the US also has a Covid positivity rate well in excess of the UK.”

B: “Hmm… That is something. The problem is that the testing is not administered in the same fashion in both places (or across time). That is, neither set of tests is a simple random sample of people and neither is biased in sampling in the same sort of relevant ways.”

A: “But how do you know that the samples aren’t collected in the same sort of ways? Someone feels poorly, then they go and get tested. Isn’t that how is works everywhere?”

B: “Not necessarily at all. Some countries and municipalities offer free testing. Other places have more or less scarcity of tests and surely that affects whom they decide to test. Not only that, different people are differently willing to get tested (maybe they’d have to involuntarily stop working, for example). My point is that the testing samples are not both biased in favor or against positives in the same way and we have little way of telling either the direction or magnitudes. The fact that both countries test a similar proportion of the population doesn’t address the sampling method.”

A: “OK. Well, I suppose that we ought not try at all then, according to you? Isn’t some problematic data better than none?”

B: “Problematic data is not better than none at all if we have good reason to think that there isn’t enough in common between sample collection methods to make valid comparisons.”

A: “Right, so you’re saying that we have to be agnostic.”

B: “In some sense, yes. But rather than Covid cases, we can track relevant variables whose sampling is more comparable. Hospitalizations are better, but we still have the issue of selection bias among those being admitted and a bias due to different hospital capacities between localities. The best measure is the number of deaths due to Covid. People can’t elect out of that sample.”

A: “Hm… Ok. But while total deaths is a more dependable statistic, it is less relevant. Of course deaths matter a great deal, but Covid makes people feel terrible and may even have long term effects.”

B: “You’re right. Covid deaths Vs cases has the trade-off of relevance Vs dependability. Arguably, deaths are the most important possible symptom – although I take your point that it’s not the only relevant symptom. Ultimately, however, the death numbers are more dependable and we should use them if we want a high degree of certainty.”

A: “Fine. The US has more Covid deaths than does the UK, both in level and in deaths per thousand of population.”

B: “Yep. You are right. But the US has more Covid cases, so of course it has more Covid deaths than the UK. The correct statistic is, given a Covid diagnosis, how likely are you to die of Covid? In the UK, a much higher proportion of people with a Covid diagnosis die. In other words, Covid is more dangerous in the UK than it is in the US.”

A: “Time out. Two things: 1) Didn’t you say just a moment ago that the testing data wasn’t reliable enough? Now you’re using it as if it’s reliable. 2) If we are making a cross country comparison, then can’t we just say that a person, randomly drawn from the population, is more likely to die from the Covid in the US than in the UK?”

B: “Mea culpa. You’re right on both points. At the end of the day, a US person is more likely to die of Covid. But, in the UK a person with Covid may be more likely to die. So what do we do about that?”

A: “Good question…”

 

Teaching with SAS Viya: First Report

I teach a 400-level data analytics course to undergraduates at the Samford business school. Every semester, I have students apply the concepts we learn by using some analytics software. This semester, it was imperative that I choose a product that students could access from their own computers. We cannot all be together in the computer labs due to Covid.

For the first time, I am using SAS Viya for Learners. Currently, the students are learning SAS Visual Analytics through the Viya platform. SAS makes detailed tutorials that make it easy to teach software to a class. Something that I’m particularly happy about this Friday is that the product works. Class time is not getting chewed up by students who get errors that are difficult to troubleshoot.

(Of course, I tested the software myself before asking students to use it. Anyone who has taught large classes knows that there is no way to fully anticipate the problems that could arise when dozens of humans with different computers all try to do something.)

Something to know about SAS Viya for Learners is that it is free but the free version does not come with the whole range of functionality that SAS Visual Analytics offers. What seems most significant to me currently is that students cannot upload data into the program. There is a library of datasets to work with. That is what we are using for demonstrations and homeworks.

In previous semesters, students have been instructed to find their own data online and use that for their final project. This semester, students will use data that is pre-loaded into the SAS Viya for Learners library. There are many right ways to do a final project. Having less decisions to make about what data to use will allow students to focus more on the analysis and presentation.

So far, all we have done is logged in and built confidence with the interface. That’s the first step with any software. It works. The tutorials give excellent guidance. I will post another update as we get further along with SAS Viya.

No coding is needed (not even SAS coding). I have concluded that coding and data analytics are separate skills. They are both good skills to have. Sometimes teaching coding along with data analytics is appropriate. But the trade off needs to be recognized. Time spent learning to code, to some extent, takes away time spent learning about data analytics. Feel free to fight me on that in the comments if you disagree.

I also use a textbook to teach this course. So, SAS Viya is not the only resource.

New Blog: Via Egnatia

My friend Dr. Alex Salter started a blog a month before I did. We are almost blog twins. His blog, which has multiple contributors, is Via Egnatia. You know it’s going to be good when the name is in Latin and immediately sends you to Google a fascinating ancient road.

These posts are deep. The modern mind (I’m thinking of you, dear reader, and myself) likes to go deep but not for too long. Thus, a blog post is the perfect size.

Liberal Economics? is Alex’s first post. Alex has articulated what the opposition thinks:

Perhaps a well-rounded education contains a bit of economics, as a concession to the distasteful reality of our calculating, commercial society.

Alex’s summary of what many people think about economics classes

I believe that my students can incorporate the economics they learn in our department with the “great books” they read as Freshman at Samford. Economics makes a student more well-rounded. Commercial society is not distasteful. You don’t have to take my word for it. Alex is going to convince you, one blog post at a time.

I will be posting in the future about the elective course I teach in which students will study The Grapes of Wrath alongside Tyler Cowen alongside a mainstream economics textbook.

Back to school, in person

For almost 30 consecutive years, I have had the privilege of starting school in the Fall. This year, I’m wearing a mask and I’m only coming to campus when I teach. I just taught my first class to 18 people in the room and to more than 20 students who logged in virtually. It wasn’t perfect. I had to restart the live stream twice.

My Samford students were very helpful. They are happy to be back in school, even though it’s nowhere near what we like to offer in terms of events and activities. The students who I couldn’t see chatted in to thank me and even told me I was doing a great job.

I don’t anticipate having any trouble with safety rules being followed during class time. Of course, there is the potential for things to go awry. Only time will tell if the rules and cooperation can allow our campus to stay open until Thanksgiving. As our President keeps saying, we are only opening for 100 days.

Like most colleges, we required every single member of the campus to get a test before starting back. The problem is that positive cases are still circulating in Jefferson county where we all live.

As far as I can tell, universal masking rules in the state of Alabama have helped slow the spread of the coronavirus as more people emerge from their houses to shop and even eat at restaurants. The opening of many schools across the state will be a big test.