Question 1
You poll 1000 people and ask 2 questions:
- Are you physically active?
- Have you ever had a heart attack?
You get the following information - 10% of people get a heart attack
- 60% of people who had a heart attack were not physically active - 70%
of people who did not have a heart attack were physically active
- Convert these statement to marginal and conditional
probabilities.
- Compute the probability to have no heart attack.
- Compute the probability to be active given a heart attack.
- Compute the probability to be not active given no heart attack.
- Create a tree diagram
- Compute all joint probabilities (four probabilities in total).
- Compute all marginal probabilities (four probabilities in
total).
- What is the probability to have a heart attack given that you are
active?
- Apply the Bayesโ rule and make sure you get the same answer.
Question 2
- Compute the expectation of a Bernoulli random variable with p =
0.1.
- What is the general formula for arbitrary p?
- Compute the variance of a Bernoulli random with p = 0.1.
- What is the general formula for arbitrary p?
Question 3
You have a bag with 7 items, the probability of an item to be
defective is 0.2.
- What type of random variable can be used to represent defectiveness
of one item?
- What type of random variable can be used to represent the number of
defective items among these 7?
- Use the table (see Files/Tables on Quercus) to find the probability
to have 3 out of 7 defective items?
Use the table to draw the distribution diagram the number of
defective items.
How would you use this table if I ask you to find the probability
to have 3 out of 7 defective items if the probability for a an item to
be defective is 0.8?