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 and, group, total and/or average:
“I cant think of a single supposedly Black issue that hasnt wasted the original Black target group and then spread like the measles to outlying white experience.”
—June Jordan (b. 1936)
“The government of the United States at present is a foster-child of the special interests. It is not allowed to have a voice of its own. It is told at every move, Dont do that, You will interfere with our prosperity. And when we ask: where is our prosperity lodged? a certain group of gentlemen say, With us.”
—Woodrow Wilson (18561924)
“You need an infinite stretch of time ahead of you to start to think, infinite energy to make the smallest decision. The world is getting denser. The immense number of useless projects is bewildering. Too many things have to be put in to balance up an uncertain scale. You cant disappear anymore. You die in a state of total indecision.”
—Jean Baudrillard (b. 1929)
“The average parent may, for example, plant an artist or fertilize a ballet dancer and end up with a certified public accountant. We cannot train children along chicken wire to make them grow in the right direction. Tying them to stakes is frowned upon, even in Massachusetts.”
—Ellen Goodman (b. 1941)