Consider flipping a fair coin 10 times. What is the probability
that
(a) you get exactly...
Consider flipping a fair coin 10 times. What is the probability
that
(a) you get exactly 7 heads?
(b) you get at least 4 heads?
(c) you get two more heads than tails?
What’s the probability of getting no heads after flipping a fair
coin 10 times? What’s the probability of getting no 3’s after
rolling a fair 6-sided die 9 times? What’s the probability of
getting a 4 at least once after rolling a fair 4-sided die 5 times?
What’s the probability of getting a 5 exactly once after rolling a
fair 8-sided die 7 times?
[Counting and Probability] Consider the experiment of flipping a
coin four times.
a. Using a tree, determine the probability of one or two tails,
with a biased coin with P(H) = 2/3. Compare to the probability with
an unbiased coin
b. [Bayes’ Rule] Using the results of the part a suppose we have
two coins, one unbiased, and a biased coin with P(H) = 2/3. We
select a coin at random, flip it three times, and observe either
one or...
Consider flipping nn times a coin. The probability for heads is
given by pp where pp is some parameter which can be chosen from the
interval (0,1)(0,1).
Write a Python code to simulate nn coin flips with heads
probability pp and compute the running proportion of heads X¯nX¯n
for nn running from 1 to 1,000 trials. Plot your results. Your plot
should illustrate how the proportion of heads appears to converge
to pp as nn approaches 1,000.
In [ ]:...
What is the probability that you would get heads-up when
flipping a coin ONE time?
What is the probability that you would get heads-up when
flipping a coin TEN times?
What is the probability that you would get heads-up on two coins
flipped at the same time?
What is the probability that you would roll a 5 on a single dice
if you rolled it five times?
What is the probability that you would roll a 3 on a single...
Suppose you toss a fair coin 10 times.
(a) Calculate the probability of getting at least 6 heads, using
the exact distribution.
(b) Now repeat the calculate above, but approximate the
probability using a normal random variable. Do your calculation
both with and without the histogram correction. Which one is closer
to the true answer?
Now suppose you toss a fair coin 1000 times.
(c) What is the probability of getting at least 520 heads? You
can approximate this using...
What are the probabilities that...
1) You toss a fair coin 6 times and you get exactly 4 heads?
2) You toss a fair coin 6 times and you get at least two
heads?
- Your friend claims he has a fair coin; that is, the
probability of flipping heads or tails is equal to 0.5. You believe
the coin is weighted. Suppose a coin toss turns up 15 heads out of
20 trials. At α = 0.05, can we conclude that the coin is fair
(i.e., the probability of flipping heads is 0.5)? You may use the
traditional method or P-value method.
(a) You flip a fair coin four times, generating the sequence
HTTH. What is the probability of that result occurring? (b) What is
the probability that flipping a fair coin twice produces a head on
one of those flips and a tail on the other flip? (c) What is the
probability that flipping a fair coin four times produces two heads
and two tails, in any order? (d) What is the probability that
flipping a fair coin ten times produces...
A coin will be tossed 7 times. Find the probability that there
will be exactly 2 heads among the first 4 tosses, and exactly 2
heads among the last 3 tosses. (Include 2 digits after the decimal
point.)