Sandbox: Difference between revisions

From ChanceWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Gini coefficient for air travel==
==How not to describe a CI==
Peter Doyle sent a link to the following:
Jeff Witmer sent the following to the Isolated Statisticans list,
<blockquote>
The plus/minus numbers, which are presented in the data tables of the monthly and annual Global State of the Climate reports, indicate the range of uncertainty (or "range") of the reported global temperature anomaly. For example, a reported global value of +0.69°C ±0.09°C indicates that the most likely value is 0.69°C warmer than the long-term average, but, conservatively, one can be confident that it falls somewhere between 0.60°C and 0.78°C above the long-term average. More technically, it is 95% likely that the value falls within this range. The chance of the actual value being at or beyond the range on the warm side is 2.5% (one in forty chance). Likewise, the chance of the actual value being at or beyond the cool end of the range is 2.5% (one in forty chance).
</blockquote>


:[http://www.economist.com/blogs/gulliver/2014/12/inequality-planes?fsrc=email_to_a_friend Modern flying: a triumph in socialism]<br>
[http://www.nytimes.com/2015/01/04/opinion/sunday/playing-dumb-on-climate-change.html Playing Dumb on Climate Change] by Naomi Orestes, New York Times, 5 January 2015
:''Economist'', 4 December 2014
 
The article poses the question "Is a commercial jumbo jet a more or a less equal place to be than America?"  In a [https://orgtheory.wordpress.com/2014/11/24/inequality-in-the-skies/ blog post], SUNY Albany sociologist Beth Berman suggested computing the [http://en.wikipedia.org/wiki/Gini_coefficient Gini coefficient] for the amount of space allocated to higher class passengers relative to their numbers.  According to Berman
<blockquote>
<blockquote>
...in today’s standard U.S. domestic configuration, the 12% of people in first class use about 25% of the passenger space, the 51 people in Economy Plus use another 30%, leaving the sardines—the other 157 people—with 45%. That gives us a Gini index of about 16.
Typically, scientists apply a 95 percent confidence limit, meaning that they will accept a causal claim only if they can show that the odds of the relationship’s occurring by chance are no more than one in 20. But it also means that if there’s more than even a scant 5 percent possibility that an event occurred by chance, scientists will reject the causal claim.  
</blockquote>
</blockquote>
The article reports that the [http://data.worldbank.org/indicator/SI.POV.GINI US Gini coefficient for income is 41], making the airline's allocation of space more egalitarian.  Even the new Boeing 777, whose luxury accommodations include horizontal air beds, has a coefficient of only 25.
In a related blog post entitled [http://crookedtimber.org/2014/12/01/fly-air-gini/ Fly Air Gini], Duke sociologist Kieran Healy produced graphics depicting what things would look where space was allocated to match (income) Gini coefficient.
==More on Gini==
==More on Gini==
The analysis received news coverage elsewhere, for example:
The analysis received news coverage elsewhere, for example:
Line 67: Line 63:


Submitted by William Montante
Submitted by William Montante
==Cancer and luck==
[http://www.nytimes.com/2015/01/06/health/cancers-random-assault.html?action=click&contentCollection=U.S.&module=MostEmailed&version=Full&region=Marginalia&src=me&pgtype=article Cancer’s random assault]<br>
By Denise Grady, ''New York Times'', 5 January, 2015
The article concerns a recent research paper,  [http://www.sciencemag.org/content/347/6217/78 Variation in cancer risk among tissues can be explained by the number of stem cell divisions] (''Science'' 2 January 2015).  From the abstract
<blockquote>
Here, we show that the lifetime risk of cancers of many different types is strongly correlated (0.81) with the total number of divisions of the normal self-renewing cells maintaining that tissue’s homeostasis. These results suggest that only a third of the variation in cancer risk among tissues is attributable to environmental factors or inherited predispositions.
</blockquote>
News coverage has created controversy by summarizing the findings in more colloquial terms, similar to this from the NYT article:
<blockquote>
Random mutations may account for two-thirds of the risk of getting many types of cancer, leaving the usual suspects — heredity and environmental factors — to account for only one-third, say the authors, Cristian Tomasetti and Dr. Bert Vogelstein, of Johns Hopkins University School of Medicine.
</blockquote>
Of course, saying that two-thirds of the variation among cancer types is explained the rate of cell division is not the same thing as saying that two-thirds of risk of a particular cancer is due can be accounted for by chance.
The resulting controversy is addressed in
:[http://news.sciencemag.org/biology/2015/01/bad-luck-and-cancer-science-reporter-s-reflections-controversial-story Bad luck and cancer: A science reporter’s reflections on a controversial story]<br>
:by Jennifer Couzin-Frankel, ''Science Insider'', 13 January 2015
This article presents the following data graphic of the relationship
<center>
[[File:Sn-cancer.png | 500px]]
</center>
We now see where the two-thirds comes from:  if the correlation coefficient <math>r = 0.81</math>, as noted in the abstract above,  then <math>R^2=0.66</math>.
Submitted by Bill Peterson

Revision as of 16:58, 17 January 2015

How not to describe a CI

Jeff Witmer sent the following to the Isolated Statisticans list,

The plus/minus numbers, which are presented in the data tables of the monthly and annual Global State of the Climate reports, indicate the range of uncertainty (or "range") of the reported global temperature anomaly. For example, a reported global value of +0.69°C ±0.09°C indicates that the most likely value is 0.69°C warmer than the long-term average, but, conservatively, one can be confident that it falls somewhere between 0.60°C and 0.78°C above the long-term average. More technically, it is 95% likely that the value falls within this range. The chance of the actual value being at or beyond the range on the warm side is 2.5% (one in forty chance). Likewise, the chance of the actual value being at or beyond the cool end of the range is 2.5% (one in forty chance).

Playing Dumb on Climate Change by Naomi Orestes, New York Times, 5 January 2015

Typically, scientists apply a 95 percent confidence limit, meaning that they will accept a causal claim only if they can show that the odds of the relationship’s occurring by chance are no more than one in 20. But it also means that if there’s more than even a scant 5 percent possibility that an event occurred by chance, scientists will reject the causal claim.

More on Gini

The analysis received news coverage elsewhere, for example:

How airline seating reflects income inequality
by Michael Hiltzik, Los Angeles Times, 2 December 2014

Some math doodles

<math>P \left({A_1 \cup A_2}\right) = P\left({A_1}\right) + P\left({A_2}\right) -P \left({A_1 \cap A_2}\right)</math>


Accidental insights

My collective understanding of Power Laws would fit beneath the shallow end of the long tail. Curiosity, however, easily fills the fat end. I long have been intrigued by the concept and the surprisingly common appearance of power laws in varied natural, social and organizational dynamics. But, am I just seeing a statistical novelty or is there meaning and utility in Power Law relationships? Here’s a case in point.

While carrying a pair of 10 lb. hand weights one, by chance, slipped from my grasp and fell onto a piece of ceramic tile I had left on the carpeted floor. The fractured tile was inconsequential, meant for the trash.

BrokenTile.jpg

As I stared, slightly annoyed, at the mess, a favorite maxim of the Greek philosopher, Epictetus, came to mind: “On the occasion of every accident that befalls you, turn to yourself and ask what power you have to put it to use.” Could this array of large and small polygons form a Power Law? With curiosity piqued, I collected all the fragments and measured the area of each piece.

Piece Sq. Inches % of Total
1 43.25 31.9%
2 35.25 26.0%
3 23.25 17.2%
4 14.10 10.4%
5 7.10 5.2%
6 4.70 3.5%
7 3.60 2.7%
8 3.03 2.2%
9 0.66 0.5%
10 0.61 0.5%
Montante plot1.png

The data and plot look like a Power Law distribution. The first plot is an exponential fit of percent total area. The second plot is same data on a log normal format. Clue: Ok, data fits a straight line. I found myself again in the shallow end of the knowledge curve. Does the data reflect a Power Law or something else, and if it does what does it reflect? What insights can I gain from this accident? Favorite maxims of Epictetus and Pasteur echoed in my head: “On the occasion of every accident that befalls you, remember to turn to yourself and inquire what power you have to turn it to use” and “Chance favors only the prepared mind.”

Montante plot2.png

My “prepared” mind searched for answers, leading me down varied learning paths. Tapping the power of networks, I dropped a note to Chance News editor Bill Peterson. His quick web search surfaced a story from Nature News on research by Hans Herrmann, et. al. Shattered eggs reveal secrets of explosions. As described there, researchers have found power-law relationships for the fragments produced by shattering a pane of glass or breaking a solid object, such as a stone. Seems there is a science underpinning how things break and explode; potentially useful in Forensic reconstructions. Bill also provided a link to a vignette from CRAN describing a maximum likelihood procedure for fitting a Power Law relationship. I am now learning my way through that.

Submitted by William Montante