Heads up: A great web site for keeping tabs on workday baseball
Posted by mark in Uncategorized on July 12, 2008
My hometown Major League baseball team, the Minnesota Twins, typically play one weekday game every home stand. They do this to entice commuters in the area to knock off early for a
‘meeting’ at the ballpark.
I try to catch every game by some means — in person (I split season tickets with my sister), on the radio or via television. However, these matinee games proved too challenging to track while working — even the radio created too much disruption. However, I recently discovered the internet-based MLB GameCast, which provides live updates and a myriad of stats. It’s accessed via ESPN Scoreboard during any given baseball game. I leave it open for spot checking while I’m doing work on my computer — mainly to catch up via the helpful status report that’s continually updated. However, I get a great charge out of seeing the live updates pitch by pitch. It even shows the directional flight of batted balls!
Whatever loss of time MLB Gamecast creates is more than made up by the stimulation it provides to my afternoon productivity. That’s my hypothesis and I am sticking to it just as tight as my man Joe Mauer does to a baseball when an enemy player barrels into home plate!
PS. Another heads-up: I captured the screenshot via the handy Snipping Tool that came with my Windows Vista. If you use this operating system, look for the utility in your Accessory folder. It may not be there. In that case, go to your Start menu, click Programs and look at the “Turn Windows features on or off” list. Turn on the Tablet PC Optional Components. (The Snipping Tool was originally developed by Microsoft for the Tablet PC.)
Inverse transformation puts mileage comparisons on track
Tomorrow the IRS adds 8 cents per mile to their allowable rate for deductions on automobile use for business purposes. Precipitated by the rapid rise in fuel prices, this is an unprecedented mid-year boost of over 15 percent from the previous rate of 50.5 cents per mile.
When the price of gas went over 4 dollars a gallon, I started paying attention to which of my three cars went where. For example, my wife and her sister traveled 100 miles the other day to do some work at the home of their elderly parents. They had our old minivan loaded up, but, after thinking about it getting only about 15 miles per gallon (mpg), I moved all the stuff over to my newer Mazda 6 Sport Wagon, which gets 25 mpg. That meant no zoom-zoom for me that day going to work, but it was worth enduring the looks of scorn from the other road warriors.
A few weeks ago, National Public Radio’s All Things Considered led off with this quiz: “Which saves more gas: trading in a 16-mile-a-gallon gas guzzler for a slightly more efficient car that gets 20 mpg? Or going from a gas-sipping sedan of 34-mpg to a hybrid that gets 50 mpg?” Of course the counter-intuitive answer is the one that’s correct – the first choice.
This is a “math illusion” studied by Richard Larrick, a management professor at Duke University. According to a recent article in the journal Science, Larrick found it easy to fool college students into making the wrong choice in puzzlers like that posed by NPR. He suggest that it makes far more sense to report fuel efficiency in terms of gallons per 10,000 miles — an average distance driven per year by the typical USA car owner. Most of you who are likely to read this blog can easily apply this inverse transformation on mpg, but to check your math see this table posted by Duke University’s Fuqua School of Business.
According to this report by Reuter’s Professor Larrick was inspired to promote “gpm” (vs mpg) after realizing in the end that he’d be better off trading in the family minivan and only gaining 10 miles per gallon with a station wagon; rather than swapping his second car, a small sedan, for a highly efficient hybrid. This must be the basis for the NPR’s quiz.
This is definitely an issue where all things should be considered, but most importantly, just how much gas money might be saved one way or the other. Do the math!
PS. News flash: You can rest easy tonight – there will be no leap second, positive or negative, according to this post by the Time & Frequency Division of the National Institute of Standards and Technology (NIST).
Origin of 3.2% alcohol beer – an antidote for those dispirited by the Great Experiment
Posted by mark in Uncategorized on June 21, 2008
“Our country has deliberately undertaken a great social and economic experiment, noble in motive and far-reaching in purpose.” — Herbert Hoover
75 years ago, legal beer – albeit only 3.2% alcohol, returned to the U.S. and provided a spark of hope for a country in a depression – this is the subtitle of a recent story by the LA Times by Maureen Ogle on “The day the beer flowed again”. This ended a hugely unsuccessful experiment on temperance that lasted over a dozen years beginning in 1920. I still remember a home brew recipe from this era, yellowed and curled, that my grandfather had tacked up above his workbench – it was labeled “Bill’s Beer.” I’ll bet it tasted good on a dry decade!
My interest in 3.2 beer was piqued by the author of Land of Amber Waters, Doug Hoverson, who spoke last weekend at gathering sponsored by our county’s historical society. Before Prohibition* the alcohol level in beer was 2.75% but on April 7, 1933 it went back on the market with a higher amount of 3.2% that was considered “chemically necessary to make a better beer.” Hoverson said that two US Congressmen experimented on how much they needed to feel so intoxicated that they could no longer function properly in their work. [Insert your joke here.]
This experiment by Prohibition-busting USA lawmakers may have benefitted from a more scientific “titration” to develop a dose-response curve as illustrated by this white paper from the University of British Columbia. I’d always thought of titration as something a chemist did, for example to precisely determine pH of a solution. However, my colleague Pat Whitcomb showed me how this concept can be applied in a very sophisticated statistical approach for dose response curves. This is presented in a new workshop he developed called Designed Experiments for Life Sciences — a great introduction to powerful tools of value to scientists, engineers, and technical professionals working in the pharmaceutical, biomedical technology and biomedical device fields, as well as organizations and institutions that devote the majority of their efforts to research, development, technology transfer, or commercialization of life enhancing products.
* According to the USA’s National Institutes of Health (NIH) detailing of 3.2% beer, the 18th Amendment, which outlawed intoxicating liquors, but made no reference to alcohol content. However, the Volstead Act, named after a Representative from Minnesota (land of intemperate emigrated Scandinavians) set the legal alcohol limit at one-half of 1 percent. Thus the only “beer” that could be sold legally in the United States during Prohibition (1920-1933) was “near beer”(now known as “low point beer”) – a “wishy-washy, thin, ill-tasting, discouraging sort of slop that it might have been dreamed up by a Puritan Machiavelli with the intent of disgusting drinkers with genuine beer forever,” according to food critic Waverly Root.
Brains for beer
Posted by mark in Uncategorized on June 18, 2008
“Three of the four regressions give a negative coefficient to drinking 13 or more drinks per week. The magnitudes of these signs were greater for freshmen as well. While drinking has a negative affect [sic] on GPA throughout all the students, freshmen’s GPA is hit harder. This indicates that upperclassmen become more efficient in their drinking as well. Upperclassmen learn how and when to drink in moderation. Students may not change the amount they drink as they progress through college, but they do change how they drink.”
Sign for physics students still unclear on the concepts
Posted by mark in Uncategorized on June 13, 2008
While waiting around for my daughter to register for her first semester of college at the University of Wisconsin at Eau Claire, I read this sign in their physics department. It took me a moment to process the directions at the bottom, but then it hit me.
GPA mongers lose out to students willing to take on tougher classes
Posted by mark in Uncategorized on June 1, 2008
Advice from famous physicist Feynman: “You must not fool yourself”
Posted by mark in Uncategorized on May 25, 2008
My bookseller friend Rich emailed recently about a find he made:
>In your physics days, did you ever encounter the famous Feynmann Lectures in book form (three volume set)? Feynmann was a respected renegade, if there IS such a thing. But he was good enough to be appointed to the Challenger’s explosion evaluation. Interestingly, before the SSTs flew, he predicted a 2% failure rate — and he’s been right on.<
That reminded me of one of my favorite quotes by this renowned that I bring up when discussing the dangers of deleting experimental outliers:
“The first principle is that you must not fool yourself — and you are the easiest person to fool.”
It comes from a Feynmann’s talk on Cargo Cult Science.
PS. While searching the internet on the topic of bias, I came across an interesting website that provides “an outlet for experiments that do not reach the traditional significance levels (p < .05)”! It’s called the Journal of Articles in Support of the Null Hypothesis. The journal’s purpose is to reduce the ‘file drawer problem,’ that is the tendency for unpublished results to get buried in researchers’ file cabinets.*
*To learn about this propensity to publish only the positive, read this study by Jeffrey D. Scargle of the Space Science Division National Aeronautics and Space Administration, Ames Research Center.
Duck named DOE (pronounced "dewie")
Posted by mark in Uncategorized on May 20, 2008
What would Deming say about the demise of testing in education?
Posted by mark in Uncategorized on May 19, 2008
Earlier this month I was listening to a local talk radio show when a caller provided this “end of the world” development: To be more kindly and gentle to students stressed out by math tests, teachers now refer to these as “celebrations of knowledge”!
At the time I heard of this outrageous slackening of educational standards, I was in the midst of reading a book that my buddy Rich sent me that’s titled “The World of W. Edwards Deming.” (If you are a bibliophile like me, check out his eclectic mix of uncommon books offered for sale via Ebay). My entry into the world of quality assurance was catalyzed by the electrifying documentary “If Japan can… Why can’t we?” by NBC in 1980 featuring Deming and his use of statistical methods.
One of my favorite stories in the book on Deming, which was written by his long-time personal assistant Cecelia S. Kilian, involves another pioneer in the field of statistics, a fellow named Harold Dodge. Deming worked with Dodge during WWII to develop statistical standards on a wartime emergency basis. Over a decade before that, Deming had an internship with Bell Telephone Laboratories – Dodge’s employer. During these times the statisticians working under Dodge played a neat trick on him as he tried to get a feeling for the cord length on a newly-developed handset: They clipped off millimeter or two every day. Deming recalls seeing Dodge stoop to an astoundingly uncomfortable level to take a phone call. Evidently it’s not hard to fool an absent-minded statistical genius!
Getting back to Deming’s views on education, I really do wonder how he would feel about the practice of testing as an incentive for students to develop a profound knowledge of their subject. In his book “Out of the Crisis” (1982, MIT) he said “I have seen a teacher hold a hundred fifty students spellbound, teaching what is wrong.” He credits Sir Ronald Fisher as his inspiration for learning statistics, despite being a “poor teacher on every count”! Deming made no secret of his dislike for grading, rating, and testing in industrial settings. Therefore I suppose he would approve of the new, more positive approach of celebrating knowledge, rather than making students take final exams.
“When teachers are forced to teach to the test, students get bored and genuine education ceases, no matter what the test scores may say… The examination as a test of the past is of no value for increased learning ability. Like all external motivators, it can produce a short term effect, but examinations for the purpose of grading the past do not hook a student on learning for life.”
— Myron Tribus (from his essay Quality in Education According to the Teachings of Deming and Feuerstein )
Baseball batting averages throw some curves at statisticians
Posted by mark in Uncategorized on May 5, 2008
“I had many years that I was not so successful as a ballplayer, as it is a game of skill.”
— Casey Stengel (from testimony before United States Senate Anti-Trust and Monopoly Hearing, 1958)
Last week the University of Minnesota School of Statistics sponsored a talk titled “In-season prediction of batting averages: A field test of empirical Bayes and Bayes methodologies,” presented by Lawrence D. Brown from the Statistics Department of Wharton School at the University of Pennsylvania. My colleague Pat Whitcomb attended and told me about a few findings by Brown that baseball fanatics like me would find a bit surprising:
“The simplest prediction method that uses the first half [of a season’s] batting average …performs worse than simply ignoring individual performances and using the overall mean of batting averages as the predictor for all players.”*
Evidently these professional players perform at such a consistent level that the ones hitting at a higher than average rate up until the mid-season break tend to regress back to the mean the rest of the way, and vice-versa.
Of course, by looking at many years of past performance, one would gain some predictive powers. For example, in 1978, more than ten years into his Hall of Fame (HOF) career, Rod Carew batted .333 for the Minnesota Twins. He made it to the Major Leagues only a few years ahead of fellow Twin Rick Dempsey, who hit at an average of .259 in 1978. Carew finished up his 19-year playing career with a lifetime batting average (BA) of .328, whereas Dempsey hung on for an astounding 24 years with a BA of only .233! It would not require a sabermetrician to predict over any reasonable time frame a higher BA for a HOF ballplayer like Carew versus a dog (but lovable, durable and reliable defensively at catcher) such as Dempsey.
Brown also verifies this ‘no brainer’ for baseball fans: “The naıve prediction that uses the first month’s average to predict later performance is especially poor.” Dempsey demonstrated the converse of this caveat by batting .385 (5 for 13) for his Baltimore Oriole team in the 1983 World Series to earn the Most Valuable Player (MVP) award!
Statistical anomalies like this naturally occur due to the nature of such binomial events, where only two outcomes are possible: When a batter comes to the plate, he either gets a hit, or he does not (foregoing any credit for a walk or sacrifice). It is very tricky to characterize binomial events when very few occur, such as in any given Series of 4 to 7 games. However, as a rule-of-thumb the statistical umpires say that if np>10 (for example over 50 at-bats for a fellow hitting at an rate of 0.200), the normal approximation can be used for binomial distributions and the variance becomes approximately p(1-p)/n.** From this equation one can see that the bigger the n, that is – at-bats, the less the fraction (batting average) varies.
PS. I leave you with this paradoxical question: Is it possible for one player to hit for a higher batting average than another player during a given year, and to do so again the next year, but to have a lower BA when the two years are combined?
*Annals of Applied Statistics, Volume 2, Number 1 (2008), 113-152
**This Wikipedia entry on the binomial distribution says that “this approximation is a huge time-saver (exact calculations with large n are very onerous); historically, it was the first use of the normal distribution, introduced in Abraham de Moivre’s book The Doctrine of Chances in 1733.”