Professional Documents
Culture Documents
Introduction
In this notebook (article) I have shown the solutions of some problems from the book Guesstimation: Solving the Worlds Problems on the Back of a Cocktail Napkin by Lawrence Weinstein and John A. Adam. ( See http://www.amazon.com/Guesstimation-Solving-Worlds-Problems-Cocktail/dp/0691129495 .) I have followed the chapter structure of the book. I have copied the questions from the corresponding sections. I give my estimates and the ones produced and explained in the book. The most interesting part of this notebook (article) is the example and explanations I give of why using the geometric mean to estimate averages from lower and upper bounds estimates is adequate in many cases. See the sub-section Geometric mean in the next section. In the first chapter of the book the authors just explain a technique for quick computation of the geometric mean. They do not elaborate much on why it is a better estimate except by giving few examples. (I found their short description inspiring, so I looked for an explanation and other examples.)
Guesstimates.nb
I have taken the data from R with the command sapply(list(row.names(mtcars),mtcars$mpg),unlist) . Some descriptive statistics of the mpg data:
Min 10.4 Max 33.9 Mean 20.0906 Median 19.2 StandardDeviation 6.02695
This histogram shows the probability to pick a car with a given mpg:
Obviously the data fits better an exponential law than a linear one. In the graph below, the red line is for an approximation with a function of the type a + b 1.06x . The blue line is for the type a + b x.
Guesstimates.nb
30 25 20 15 10 5
10
15
20
25
30
Let us calculate the geometric and arithmetic means based on the minimum and maximum values.
H* geometric mean *L gm = 10.4 * 33.9 18.7766 H* arithmetic mean *L 10.4 + 33.9 am = 2 22.15
If we place this numbers in the histogram for the mpg distribution it can be easily seen that the arithmetic mean overestimates the average mpg and the geometric mean is a quite good estimate. (Red line for geometric mean, blue line for arithmetic mean.)
Let us look at the ratios between the sorted in increasing order mpgs:
Min 1. Max 1.27885 Mean 1.04003 Median 1.02674 StandardDeviation 0.0527335
We can say that with the geometric mean we have approximated the following formula:
H* minimum mpg ratios mean ^ half of the total number of mpg increments *L 10.4 * Mean@ratiosD ^ 15 18.738
Another way to look at the geometric mean is that it approximates the median value just by using the minimum and maximum values. As an estimator for incomplete and missing data, the median is more robust than the mean. In the plot below it can be seen (red grid lines) that the geometric mean 18.7766 is closest to the value of the median of the mpg data.
Guesstimates.nb
Another way to look at the geometric mean is that it approximates the median value just by using the minimum and maximum values. As an estimator for incomplete and missing data, the median is more robust than the mean. In the plot below it can be seen (red grid lines) that the geometric mean 18.7766 is closest to the value of the median of the mpg data.
30 25 20 15 10 5
10
15
20
25
30
I would conjecture that in most cases when we bring minimum and maximum values to estimate a value we do so because we have not build a good intuition and judgment for values spread and distribution. If the value obeyed a linear law we would have noticed that and would be inclined to use the arithmetic mean with higher certainty. In all other cases we are better off using the geometric mean. This is because, say, life phenomenas tend to follow exponential laws, and/or many distributions have exponents in them. To support the last statement in the previous paragraph look at: -- Pareto principle -- http://en.wikipedia.org/wiki/Pareto_principle ; -- Long tail -- http://en.wikipedia.org/wiki/The_Long_Tail ; -- Power law -- http://en.wikipedia.org/wiki/Power_law .
Height of stack of 10^8 tickets Question: Your chance of winning the MongaMillions lottery is one in 100 million. If you stacked up all the possible different lottery tickets, how tall would this stack be? Which distance is this closest to: a tall building (100 m or 300 ft), a small mountain (1000 m), Mt Everest (10,000 m), the height of the atmosphere (10^5 m), the distance from New York to Chicago (10^6 m), the diameter of the Earth (10^7 m), or the distance to the moon (410^8 m)?
H*thickness of 10 tickets 100 million *L H0.001 m 10L * 10 ^ 8 10 000. m
Guesstimates.nb
3.2 Fore! Question: How many golf balls would it take to circle the Earth at the equator? Golf ball diameter:
0.02 * 0.04 0.0282843
Earth diameter:
ed = 100 000 * 10 ^ 3 * 400 000 * 10 ^ 3
My first un-informed answer is 2 1010 golf balls. Earth equatorial radius from WolframAlpha.com is 6378.14 km.
Guesstimates.nb
So my answer is 1.5 109 golf balls. The answer in the book is 109 golf balls.
3.3 This is a fine pickle youve got us into, Patty Question: If all the pickles sold in the US last year were placed end-to-end, what distance would they cover?
300 000 000 * 3.6 108 2 * 200 * 0.03 * 0.12
My answer 1.2 light seconds. The answer in the book is 6 108 m or 2 light seconds.
3.4 Throwing in the towel Question: What is the surface area of a typical bath towel (include the fibers!). Compare this to the area of a room, a house, a football field.
3.5 A mole of cats Question: How massive is a mole of cats? (A mole is the number of atoms that weigh that elements atomic weight in grams. For example, a mole of hydrogen weighs 1 gram and a mole of carbon weighs 12 grams. It is used in chemistry to make sure that there are equivalent numbers of atoms for a chemical reaction.) Compare this to the mass of a mountain, a continent, the moon (7 1022 kg), the Earth (6 1024 kg).
H* Avogadro's constant cat mass estimate *L 6.022142 * 10 ^ 23 * 1.0077 1024 kg 0.2 * 14.00 kg
Guesstimates.nb
H* Avogadro's constant 4 kg *L 6.022142 * 10 ^ 23 * 4 kg 2.40886 1024 kg H* my first cat mass estimate *L 0.2 * 14.00 kg 1.67332 kg
3.8 Tons of trash How much domestic trash is collected each year in the US (in m^3 or tons)?
H* US population 365 trash per person in kg *L 300 10 ^ 6 * 365 * 3.79319 1011 H* the result above in tons *L % 1000 3.79319 108 1.0 * 12.0
My answer is 2109 m3 . The answers in the book are: -- 3 108 m3 of trash/year; -- According to the US Environmental Protection Agency [9], in 2005 the US generated 245 million (2.45 108 ) tons of municipal solid waste (including recycling).
Guesstimates.nb
H* average human body volume cell volume *L 0.0664 Hcs ^ 3L 6.64 1013 H* my body volume cell volume *L 0.09 Hcs ^ 3L 9. 1013
4.2 Laboring in vein Question: What is the total volume of human blood in the world?
4.6 Playing the field Question: How far does a soccer or field hockey player travel during the course of a 90-minute game?
H*number of sprints per game length of a sprint, m *L ns = 20 * 50 14 * 60 N 916.515
4.7 Eww... gross Question: How many people in the world are picking their nose right now?
H*average time of picking nose in seconds *L 2 * 20. 6.32456
Guesstimates.nb
H*number of nose picking times per day*L 1 * 6 N 2.44949 H* world population *L 6.84 * 10 ^ 9 H* population probability a person to pick his nose during the day *L H6 * 2.5L 6.84 * 10 ^ 9 * 15 * 3600 1.9 106
My estimate of the number of people picking their noses at every second is 2106 . The answer in the book is 107 .
4.9 Lets get one thing straight! Question: How long is all the DNA in your body? How long is the DNA of all humanity?
5. Transportation
5.1 Driving past Saturn Question: How many total miles (or kilometers) do all Americans drive in one year? How does this compare to the circumference of the Earth (2.5 10^4 mi), the distance to the Moon (2.4 10^5 mi), the distance to the Sun (9 10^7 mi), or the distance to Saturn (10^9 mi)?
H* number of employed people in USA *L 130 000 000 H* number of people commute distance estimate in km number of days per year *L 130 000 000 * J 1.17615 1012 H* the result above in miles *L % 1.6 7.35092 1011 2 * 120 * 1.6N * 365
10
Guesstimates.nb
5.2 Drowning in gasoline Question: What volume of gasoline does a typical automobile (car, SUV, or pickup) use during its lifetime? Note that this question asks about the lifetime of the vehicle, not the time that you own it. Compare the weight of the fuel to the weight of the car.
H*total number of miles*L 80 * 260 H10 ^ 3L N 144 222. H*average miles per gallon*L 6 * 50 N 17.3205 %% % 8326.66 % * 3.785 31 516.4
My answer 32 m3 . The answer in the book is 20 m3 . They use for total number of miles 105 and 20 mpg.
H*gasoline density*L 730 kg m3 H*total gasoline mass per vehicle*L 32 * 730 kg 23 360 kg
5.3 Slowly on the highway Question: How much total extra time would Americans spend driving each year if we lowered the highway speed limit from 65 to 55 mph? (Note that we assume that there is some relationship between posted limits and actual speeds on highways.) Give your answer in lifetimes.
Guesstimates.nb
11
H* number of employed americans speed change ratio average commute time per day per person in hours *L 130 000 000 * H65 55L * H2 * 0.5L N 1.53636 108 H* the above result in lifetimes *L % H74 * 365 * 24L 237.005
The book answer is 1000 lifetimes with each life being 100 years.
5.4 Rickshaws and automobiles Question: What are the relative costs of fuel (per kilometer or per mile) of New York City bicycle rickshaws (human-pedaled taxis) and of automobiles?
5.6 Tire tracks Question: How far does a car travel before a one-molecule layer of rubber is worn off the tires?
5.7 Working for the car Question: Your car allows you to travel many miles in just a few hours. However, in addition to the hours you spend driving, you have to spend more hours not driving, hours you spend earning money to pay for your car (eg: depreciation, insurance, fuel). This extra time reduces your average car travel speed. For example, if you drive 60 miles in one hour and then spend one more hour earning enough money to pay for the driving, then your average speed is not 60 mph, but 30 mph. If you add all the time you spend working in order to earn the money to pay for your car to all the time that you spend driving your car, what is your average car travel speed?
Question: Your car allows you to travel many miles in just a few hours. However, in addition to the hours you have to spend more hours not driving, hours you spend earning money to pay for your car (eg: depreciation, insurance, fuel). This extra time reduces your average car travel speed. For example, if you drive 60 miles in one hour and then spend one more hour earning enough money to pay for the driving, then your average speed is not 60 mph, but 30 mph. If you add all the time you spend working in order to earn the money to pay for your car to all the time that you spend driving your car, what is your average car travel speed?