Java Jive

Previous Month | RSS/XML | Current

WEBLOG

December 15th, 2024 (Permalink)

A Tale of Two Headlines

I was just sitting down with my morning cup of coffee and the newspaper the other day when I saw the following headline:

2 extra years of life: Drinking coffee daily shows benefits for aging1

When I was about to go get a refill I saw another:

Industry-funded study suggests coffee really is the fountain of youth2

It was the same study as that reported in the first headline! What would you expect from an "industry-funded study"? I skipped the refill.

It might be too much to ask that every health news article mention in its headline when the study reported on is funded by an industry, though it might save a lot of reading time. However, I'd settle for the source of funding at least being mentioned in the body of the article. The article beneath the first headline above never mentions industry funding, though in a "Paper Summary" at its bottom, in the section on "Funding & Disclosures", it discloses that the study "was supported by the Institute for Scientific Information of [sic] Coffee"3, but what is that? The name sounds neutral, but it's typical of advocacy groups to adopt such names; for instance, the tobacco-industry's Center for Indoor Air Research4. As a matter of fact, the ISIC is a non-profit group created by European coffee companies5, among which the best-known to Americans are Nestlé and Peet's.

Now, I don't mean to suggest that just because the study was funded by the coffee industry it must be wrong. In fact, so far as I know, it's a perfectly fine study. The main concern I have about industry funding is what would happen if the results of the study had gone the opposite way? What if the study had shown that coffee abstainers lived two years longer than coffee drinkers? Would we have seen the following headline?

Stop drinking coffee and live two years longer

I doubt it.

In addition to its industry funding, the study in question is a review study6, that is, a study of studies. While the review itself may be unaffected by its funding, it is necessarily limited to past studies that have been published, and how many of those were funded by the coffee companies? So, if there is a systematic bias towards publishing studies with results that favor coffee, the review itself may be biased by such studies. It is not unheard of for funders to bury studies with negative results4, though I've no evidence of that in this particular case. Nonetheless, it is one reason to worry about such funding.

Finally, I'm getting tired of preaching that observational studies cannot establish causation, and regular readers are probably getting tired of hearing me preach it7, but the fact remains. Similarly, a review of studies that cannot establish causation cannot itself establish causation, because a hundred observational studies does not add up to one experimental study.


Notes:

  1. "2 extra years of life: Drinking coffee daily shows benefits for aging", Study Finds, 12/9/2024.
  2. Justin Jackson, "Industry-funded study suggests coffee really is the fountain of youth", Medical Xpress, 12/9/2024.
  3. That should be "on", see: The Institute for Scientific Information on Coffee, accessed: 12/13/2024. The study paper itself makes the same spelling error, see note 6, below.
  4. Lisa Bero, "When big companies fund academic research, the truth often comes last", The Conversation, 10/2/2019.
  5. "About ISIC", The Institute for Scientific Information on Coffee, accessed: 12/13/2024.
  6. Cátia R. Lopes & Rodrigo A. Cunha, "Impact of coffee intake on human aging: Epidemiology and cellular mechanisms", Science Direct, 11/23/2024.
  7. For previous sermons, see:

Disclosures and disclaimers: I am not a physician though some people call me "doctor". The opening autobiographical remarks in this entry are fictional, but I do drink coffee.


December 6th, 2024 (Permalink)

How to Solve a Problem*: Don't Make an Ass of U and Me

To get the most out of this entry, give the following puzzle a shot. This is a difficult puzzle, so don't be too disappointed if you can't solve it completely, but don't give up too easily. When you've tried the puzzle and read the solution, check out my comments below.

Puzzle: Cards on the Table

Instructions: You are sitting at a large table and spread out on the tabletop in front of you is a deck of cards. You know that forty-four of the cards are face down and the remaining eight are face up. However, you are blindfolded and cannot see any of the cards; nor can you tell which side of a card is up by touching it or in any other way. Your task is to separate the cards into two groups with the same number of face-up cards in each group. How do you do it?

Comments: The first step in problem solving is to understand the nature of the problem. If you get stuck on a problem or it seems impossible to solve, go back and re-check what it is you have to do. It may be that you made a false assumption that rendered the problem unsolvable.

I selected the puzzle above as an example for this entry on problem-solving because it illustrates the danger of making false assumptions. When you began to think about how to solve it, did you assume that you had to split the deck into two equal groups? I did! But you can't solve it that way except by pure luck. Notice that the instructions place no restrictions on how many cards are in each group.

Did you assume that you couldn't turn over the cards? I did! Again, the instructions do not forbid turning the cards over, and you're unlikely to solve the puzzle without doing so.

If you make either of these assumptions, you'll find yourself stuck and the puzzle will appear to be impossible to solve. That's a sign that you should re-read the instructions to check whether you are making any false assumptions.

The title of this entry is based on the old saying that when you assume "you make an ass of you and me", that is, "ass" + "u" + "me" = "assume". However, it is often useful in reasoning to make assumptions, and some standard proof methods, such as conditional proof and indirect proof, do so. However, false assumptions can render a problem unsolvable, so be careful what you assume.


* Previous entries in the "How to Solve a Problem" series:

  1. Contraction, 4/6/2023
  2. Think Backwards, 5/5/2023
  3. Solving a Problem by Elimination, 6/20/2023
  4. Climbing Up that Hill, 7/5/2023
  5. Backtracking, 8/14/2023
  6. Divide and Conquer, 9/11/2023

December 2nd, 2024 (Permalink)

Fool or Nave?

A recent article on the restoration of Notre Dame cathedral in Paris includes the following sentence: "Louise Bausiere, who spent the last two years working on the cathedral's knave, told NBC News Wednesday said [sic] she hoped people would admire what the team of craftspeople had done.1" "Knave" is an old-fashioned word for a dishonest or untrustworthy man2, as well as an alternative name for a Jack in a deck of cards. So, the Knave of Hearts, who stole the tarts in the nursery rhyme, is a Jack of Hearts3. Puzzle fans may be familiar with the type of logic puzzle in which knights always tell the truth and knaves always lie.

So, what could be meant by Bausiere "working on the cathedral's knave"? Does Notre Dame have its own designated rascal? Obviously not; instead, what Bausiere spent a couple of years working on was the nave4. "Nave" and "knave" are pronounced exactly the same, and the only difference in spelling is the silent "k" on "knave", but they mean very different things. A nave is the central part of the floorplan of a church running its length from the front entrance to the transepts5.

Since both "nave" and "knave" are English words, a pure spell-checking program won't catch the substitution of one for the other. I checked the example sentence in several online spelling or grammar checkers and some found nothing wrong with it, others at least noticed the ungrammatical "said", and a couple actually suggested dropping the "k" on "knave".

There's an old proverb that "knaves and fools divide the world"6, but naves and transepts divide a cathedral.7


Notes:

  1. Keir Simmons, "World gets first look at Notre Dame's new interior 5 years after devastating fire", NBC News, 11/29/2024.
  2. "Knave", Cambridge Dictionary, accessed: 11/30/2024.
  3. "The Tarts", The Real Mother Goose (1916).
  4. "Nave", Cambridge Dictionary, accessed: 12/1/2024.
  5. "Transept", Cambridge Dictionary, accessed: 12/2/2024.
  6. William George Smith, "Knaves", The Oxford Dictionary Of English Proverbs (1936), p. 253.
  7. I found this example here: Ann Althouse, "Beautiful cathedral and I'm delighted at the restoration but what on earth was Louise Bausiere doing for 2 years?", Althouse, 11/29/2024.

Previous Month


Casino Bonuses are not easy to find on the internet. There are simply too many and their terms and conditions makes them difficult to compare. You can find the best bonuses at casinopilot.

You can find the best casinos at MrCasinova.com as this website update online casinos and compare them on daily basis.


Puzzle
November 28th, 2024 (Permalink)

Thanksgiving Chez Blanc

It's Thanksgiving again at the Blanc house* and everyone is there, except Ferdinand, who couldn't make it this year. As usual, the family members have gathered around the big round table in the dining room for the traditional feast. From the following clues, determine the age of each family member and their seating position around the table, starting with Abner and proceeding clockwise.

  1. Claudia is ten years older than the family member who sits immediately to her left.
  2. The family member on her immediate right is eight years younger than Edwina.
  3. Claudia, who is 54, is Beatrix' mother.
  4. Douglas, who is nineteen, is the only family member younger than Edwina.
  5. Beatrix is seventeen years older than the person sitting next to her on the left.


*For last year's Thanksgiving at the Blanc's, see: A Puzzle to be Thankful For, 11/23/2023.


US Presidential Election Popular Vote
November 23rd, 2024 (Permalink)

Charts & Graphs1: Half a Graph

The bar chart shown above, which has been widely shared on anti-social media2, has two things wrong with it, one of which has to do with the data and the other with how the data is displayed. But before we get into the graph's deficiencies, let's figure out what it's trying to tell us.

The chart shows what purports to be the popular vote for the two major-party candidates in the last four presidential elections. Following the contemporary color convention, the blue bars represent the Democratic vote and the red the Republican. In addition to the basic data in the chart represented by the height of the bars, there are two indications of what the graph's creator wants us to notice: the long arrow and the question marks. The arrow draws our attention to the popular vote for the Democratic candidates in the 2012, 2016, and this year's elections, which appear to be approximately the same3. In contrast, the three question marks single out the blue bar for the 2020 election, suggesting that there's something questionable about the Democratic vote for that year, presumably because it's so much greater than the surrounding years.

Now that we understand the message of the chart, let's turn to its deficiencies. US Presidential Election Popular Vote

The graph is an example of what I call, following Darrell Huff's lead4, a "gee-whiz bar chart"5. If you look closely at the faint numbers in the scale on the left of the graph, you'll see that the baseline is 50 million votes rather than zero, which has the effect of exaggerating the difference in heights between the three short blue bars and the tall one. To the eye the 2020 bar appears to be almost twice as tall as the three others, yet if you read the vote counts off the scale you'll see that the vote in each of those years was about 66 million, whereas the vote in 2020 is shown as about 81 million. So, instead of being twice as big, the 2020 vote was less that a quarter greater. For comparison purposes, to the right is what the graph would look like with the baseline starting at zero.

The purpose of a bar chart is to make it easy to compare quantities by comparing the heights of the bars, since it's easier to compare lengths visually than to compare numbers mentally. Truncating a bar chart defeats this purpose. In addition, if it is necessary to truncate a graph, it's good practice to indicate visually that the bottom has been cut off, making it less likely to mislead the viewer. That was not done with this chart so that it's only by looking closely at the small numbers in the scale that the reader can realize that it's truncated. US Presidential Election Popular Vote

Now, let's turn to the problem with the data. The chart seems to have been created the day after the election, so the popular vote for this year was incomplete. If we update the graph with more recent data6―see the revised graph to the right―the arrow from the original would no longer point to the top of the last blue bar, so I've removed it. While it's clear from the revised chart that the popular vote for 2020 is an outlier, its difference from that of two years prior and this year is substantially less than the original chart suggested. Given that 2020 was the first year of the pandemic, and voting by mail was greatly increased, is it really so surprising that the vote for the winner that year was about four million greater than the vote for this year's winner?


Notes:

  1. Some previous "Charts & Graphs" entries:
  2. This appears to be the initial source of the chart: Zero Hedge, "Sorry to beat a dead horse, but can we go back to what happened here?", X, 11/6/2024.
  3. For the 2012 and 2016 results, see: "United States Presidential Election Results", Britannica, 11/6/2024.
  4. Darrell Huff, How to Lie with Statistics (1954), Chapter 5: "The Gee-Whiz Graph".
  5. See: The Gee-Whiz Bar Graph, 4/4/2013.
  6. "US presidential election results", Reuters, 11/23/2024

Poll Watch
November 19th, 2024 (Permalink)

The End of the "Trump Effect"1

I have good news and I have bad news for the pollsters. First, some good news.

The public opinion polls in this election were about as accurate as could be expected. Despite some claims to the contrary, this election was close and not a "landslide" for president-elect Donald Trump2. The most recent results show Trump's margin of victory over Vice President Kamala Harris in the popular vote as a little over 2.5 million votes, or 1.6 percentage points3, which is about half of the usual margin of error for national polls.

Now, the bad news: even though the polls were reasonably accurate this year, that doesn't mean that they were of any use in predicting who would win. The best bet of doing that is through averaging the results of all the polls taken within a week or two of the election. Here's a summary of such averages from a recent article:

The national polling averages…all showed Harris with an advantage: She led by 1.2 percent per FiveThirtyEight, one percent per Nate Silver, 2 percent according to the Washington Post (which rounds numbers), and one percent according to the New York Times (which also rounds numbers). RealClearPolitics…showed Harris leading by 0.1 percent.4

Averaging the averages gives very slightly over one percentage point in favor of Harris. While all of these are near misses, it's interesting that all are misses in the same direction, though just barely in the case of RCP. If these were coin flips, the probability of their all erring in the same direction is only one out of sixteen. Thus, it seems likely that, in an election so close―in which the electorate is divided roughly 50-50―this must be a systematic rather than a random error, that is, a bias. Specifically, it's evidence for the "Trump effect" in this election.

As long as our presidential elections are close―and this has been the case since the turn of the century―even the most accurate polls are not going to help predict the results. Unless and until we return to the years of genuine landslides, such as those in 19645 or 19846, polls and even their averages are simply not precise enough to predict a presidential election.

Let's end with some more good news for the pollsters. While the polls suggested that Harris would win by a nose, the "Trump effect"―that is, the underestimate of the former president's support―was less than in previous contests: between two and three percentage points rather than as much as four points7. Given that Trump is constitutionally prohibited from running for president again, this should be the end of the eponymous effect. We saw in 2022 that when Trump himself was not running, the "effect" seemed to have little or no effect8, and Republicans in general don't appear to be affected by it. Even this year, in some of the states that Trump won, Trump-endorsed senate candidates lost9. So, four years from now we won't have to worry about Trump skewing the polls.


Notes:

  1. This entry is partly based on the following previous entry: "It ain't over till it's over.", 9/23/2020.
  2. See: Did Trump Win in a "Landslide"?, 11/14/2024.
  3. "US presidential election results", Reuters, 11/19/2024.
  4. Ed Kilgore, "What the Harris vs. Trump Polls Got Wrong", New York Magazine, 11/6/2024.
  5. "United States presidential election of 1964", Britannica, 10/27/2024.
  6. "United States presidential election of 1984", Britannica, 10/30/2024.
  7. G. Elliott Morris, "2024 polls were accurate but still underestimated Trump", ABC News, 11/8/2024.
  8. See: A Post-Election Trump Effect Post-Mortem, 11/19/2022.
  9. Riley Beggin, "Why did Democrats win Senate races in so many states Trump won? Ticket splitters", USA Today, 11/9/2024.

November 14th, 2024 (Permalink)

Did Trump Win in a "Landslide"?

Some commentators on the recent election are claiming that former president, and now future president, Donald Trump, won in a "landslide". Here, for instance, is a headline from USA Today:

Trump beat Harris in a landslide.
Will his shy voters feel emboldened?1

More predictable is the following headline from the conservative Washington Times:

Trump's landslide win redraws electoral map,
shatters Democratic strongholds2

"Landslide" is, of course, a vague word, so there is no exact number or percentage of votes that defines it. It's also ambiguous in American presidential politics as to whether the alleged "landslide" occurred in the popular vote or in the electoral college. Let's look first at the popular vote.

That vote is still not entirely counted3, but the remaining votes will probably not be enough to change the following analysis. According to the most recent results4, Trump received a little less than 76 million votes and Vice President Kamala Harris got a bit less than 73 million, so that Trump won by about three million votes.

In percentage terms, Trump received a bit more than 51% of the vote and Harris a little less than 49%, so that Trump not only won the popular vote but also a majority of it. However, Trump's margin of victory over Harris was only a bit more than two percentage points, and it's possible that that margin will decrease as additional votes come in from innumerate states.

Conveniently, an article also from USA Today provides some historical context5: it includes both the popular vote margins of victory and electoral college totals for the previous ten president elections. In those ten contests, the only candidate who actually won both the electoral college and the popular vote, but whose margin of victory was less than Trump's, was George W. Bush in 2004 with just over three million votes. Joe Biden beat Trump in the previous election by a margin about twice as large as Trump's this year. So, if Trump's victory was a "landslide", then Biden's was surely an even bigger one.

Similarly, in the electoral college, Trump won 312 votes, which is safely above the 270 needed, and six votes greater than his 2016 win. However, Barack Obama received 365 and 332 in 2008 and 2012, respectively. If at least 312 electoral votes is a "landslide" in the electoral college, then six of the previous ten elections were landslides.

So, if Trump's victory was not especially large in either the popular vote or electoral college, why do some journalists seem to think it was a "landslide"6? One factor is probably the result of youth and inexperience, together with historical illiteracy. Another is shock that Trump not only won but that, unlike 2016, he won both the electoral college and the popular vote.


Notes:

  1. Charles Trepany, "Trump beat Harris in a landslide. Will his shy voters feel emboldened?", USA Today, 11/6/2024.
  2. Susan Ferrechio, "Trump's landslide win redraws electoral map, shatters Democratic strongholds", The Washington Times, 11/6/2024.
  3. I don't know why it takes some states so long to count ballots. It's now over a week since election day, and there's no reasonable excuse for it taking so long, especially when we have computers.
  4. See: "2024 General Election Results", The Hill, accessed: 11/13/2024.
  5. Rachel Barber, "How big was Trump's win? How it compares with the past 10 presidential victories", USA Today, 11/6/2024.
  6. At least one journalist knew better, see: Zachary B. Wolf, "Trump's win was real but not a landslide. Here's where it ranks ", CNN, 11/9/2024.

Previous Entry