Group and Total Average
Ecological fallacy also happens when the average for a group is approximated by the average in the total population divided by the group size. Suppose one knows the number of Protestants and the suicide rate in the USA, but one does not have data linking religion and suicide at the individual level. If one is interested in the suicide rate of Protestants, it is a mistake to consider as an unbiased estimate the total suicide rate divided by the number of Protestants. This estimate implicitly assumes that the suicidal rate of the other religions is zero.
Formally, denote the variable of interest and the mean of the group, we generally have:

However, the law of total expectation gives

This equation must be used to compute a more congent estimate. In this equation, the only things we don't know how to estimate are in blue. We know that, as a probability of suicide, is between 0 and 1. We can plug in this bound and our total estimate in the equation above to obtain an estimate of .
Read more about this topic: Ecological Fallacy
Famous quotes containing the words group, total and/or average:
“No other group in America has so had their identity socialized out of existence as have black women.... When black people are talked about the focus tends to be on black men; and when women are talked about the focus tends to be on white women.”
—bell hooks (b. c. 1955)
“Jarndyce and Jarndyce drones on. This scarecrow of a suit, has, in course of time, become so complicated that no man alive knows what it means. The parties to it understand it least; but it has been observed that no two Chancery lawyers can talk about it for five minutes, without coming to total disagreement as to all the premises.”
—Charles Dickens (18121870)
“...you dont have to be as good as white people, you have to be better or the best. When Negroes are average, they fail, unless they are very, very lucky. Now, if youre average and white, honey, you can go far. Just look at Dan Quayle. If that boy was colored hed be washing dishes somewhere.”
—Annie Elizabeth Delany (b. 1891)