$30
This exercise is composed of 2 parts:
1. probability theory part
2. coding part
Probability Theory Questions
1. Given a random sample {π₯1, π₯2, … , π₯π}, derive the maximum likelihood estimator π of the Binomial distribution.
π π₯(1 − π)π−π₯ π΅(π₯, π) = ( ) π
π₯
2. A student wants to know her chances to pass and fail an exam if she studies and if she doesn’t study. From last year’s results, she sees that π(πππ π ) = 60%. She also found out that π(π π‘π’ππππ|πππ π ) = 95%, π(π π‘π’ππππ|ππππππ) = 60%. You can assume that every student either studied or didn’t study, and either passed or failed.
a. What is her probability of passing the exam if she studies?
b. What is her probability of passing if doesn’t study?
3. Find 3 random variables π, π, πΆ such that:
a. π ⊥ π | πΆ (π and π are independent given πΆ).
b. π and π are not independent.
c. π, π are integers such that 3 ≤ π, π ≤ 9 and πΆ is binary.
d. The following conditions hold:
i. π(1 ≤ π ≤ 5) = 0.4
ii. π(1 ≤ π ≤ 5) = 0.4
iii. π(πΆ = 0) = 0.3
You need to specify the value of π(π = π₯, π = π¦, πΆ = π). How many relevant values exist?
4. The probability of Wolt arriving on time is 0.75.
a. What is the probability of having 2 on-time meals in a week (7 days)?
b. What is the probability of having at least 4 on-time meals in a week?
c. A company of 100 employees recorded the number of on-time meals they had during a particular week and averaged their results. What do you expect the value of that average to be?
Coding exercise
Follow the instructions supplied for you in the MAP classifier Jupyter notebook.