CS 141 Introduction to AI Greenwald
TBA
5:00 PM, Apr 6, 2009
|
Homework 6: Probability and Utility Theory Due: |
3 Practical Probability Proofs
5 Almanac Game Answers
5.1 Part 1
5.2 Part 2
By the end of this homework, you will understand:
conditional expectation
the St. Peterburg’s Paradox
By the end of this homework, you will be able to:
prove simple properties about probabilities
answer trivia questions more precisely than before
[Adapted from Russell and Norvig (2003)] This exercise concerns the Almanac Game, which is used by decision analysts to calibrate numeric estimations. For each of the questions that follow, give your best guess of the answer, that is, a number that you think is as likely to be too high as it is to be too low. Also give your guess at the 25th percentile estimate, that is, a number that you think has a 25% chance of being too high, and a 75% chance of being too low. Do the same for the 75th percentile. Thus, you should give three estimates in all—low, median, and high—for each question.
What percentage of U.S. households own at least one pet cat?
How many stocks comprise the Dow Jones Industrial Average?
In feet and inches, how tall is Tom Cruise?
In what year did Microsoft launch its first computer operating system?
On average, how many minutes does it take for light to travel from the sun to the Earth?
How many times could the land area of Japan fit into the land area of the U.S.?
Pablo Picasso’s Boy With a Pipe is the most expensive painting ever sold at auction. What was the dollar price paid for this painting?
Of the 538 electoral votes possible, how many did Ronald Reagan receive in the 1984 presidential election?
How many people auditioned for Season 2 of the TV show American Idol?
Reggie Jackson struck out more times than any other Major League Baseball hitter. What percentage of the time did he strike out?
The correct answers appear at the end of the assignment. From the point of view of decision analysis, the interesting thing is not how close your median guesses came to the real answers, but rather how often the real answer came within your 25% and 75% bounds. If it was about half the time, then your bounds are accurate. But if you’re like most people, you will be more sure of yourself than you should be, and fewer than half the answers will fall within the bounds. With practice, you can calibrate yourself to give realistic bounds, and thus be more useful in supplying information for decision making. Try this second set of questions and see if there is any improvement:
In feet, how tall was the tallest giraffe ever recorded?
In what year did MTV play its first music video?
How many siblings does Michael Jackson have?
How many bones are in the adult human body?
How many points did Michael Jordan average per game?
How many miles long is the Mississippi River?
In what year were women in the U.S. granted the right to vote?
How many times larger in volume is the sun than the Earth?
In what year was the comic strip Peanuts first published?
What percentage of U.S. presidents have been elected to at least two terms in office?
Let X and Y be discrete random variables with ranges
and
, respectively. The conditional expectation
of Y given X is a function of
, defined as follows:
![\E [ Y \mid X=x ]
= \sum_{y \in \mathcal{Y}} x \, P [ Y=y \mid X=x ]
= \sum_{y \in \mathcal{Y}} x \left( \frac{P[X=x, Y=y]}{P[X=x]} \right)](hw06-Z-G-4.gif)
#1 Suppose a ball is chosen from an urn that contains 11 balls numbered 0 to 10. Assume all balls in the urn are equally likely to be chosen. What is the probability mass function of the random variable X whose range is the possible values of the ball?
#2 After the first ball is chosen, a second ball is chosen from an urn containing x balls numbered 0 to x. As above, assume all balls in this urn also also equally likely to be chosen. What is the conditional probability mass function of the random variable Y whose range is the possible values of the second ball? And what is the joint probability mass function of X and Y?
#3 What is the conditional expectation of Y given X?
Prove the following properties of events A and B and probability function P.
(a) If P(B) = 1, then P(A|B) = P(A).
(b) If A ⊆ B, then P(B|A) = 1 and P(A|B) = P(A)/P(B).
(c) Assume P(A), P(B) > 0. If A and B are independent, then they cannot be disjoint, and if A and B are disjoint, then they cannot be independent.
[Adapted from Russell and Norvig (2003).] In 1738, Daniel Bernoulli1 published a problem in the Commentaries of the Imperial Academy of Science of Saint Petersburg, which later became known as the St. Petersburg paradox.
The problem is to determine the price you are willing to pay to play the following game of chance:
The pot contains $1 at the start. To play, you toss a fair coin repeatedly. Play continues until the coin lands on heads, at which point the game ends. After the first toss, the pot is doubled; after the second toss, it is doubled again; and so on. You win the contents of the pot at the time the game ends. That is, if the coin lands on heads (for the first time) after the nth toss, you win $2n.
What is the expected monetary value of this game? Explain why this is paradoxical.
Here is Bernoulli’s intuition for how to resolve this paradox:
The determination of the value of an item must not be based on its price, but rather on the utility it yields. There is no doubt that a gain of one thousand ducats is more significant to the pauper than to a rich man though both gain the same amount.
In other words Bernoulli suggested that the utility of money is concave
(i.e., money, like other goods and services, has diminishing returns).2
For example, an agent’s utility for money could be measured on a
logarithmic scale:
,
where $k is the agent’s wealth.
What is the expected utility of the game under this assumption?
What is the maximum amount that it would be rational for an agent to pay to play the game, assuming the agent’s initial wealth is $k?
31.6
30
5 feet, 7 inches
1981
8.5
24.45
104,200,000
525
50,000
26.33
20
1981
8
206
30.12
2,302.18
1920
1,304,000
1950
35.71
1 not to be confused with Jacob, his uncle.
2 This is an application of the Prussian economist Gossen’s (1810-1858) Law of Diminishing Marginal Returns: The amount of any pleasure is steadily decreasing as we continue until at last saturation is reached.