This exercise is composed of 2 parts: 1. probability theory part
2. coding part
Probability Theory Questions
- Given a random sample {๐ฅ1 , ๐ฅ2 , … , ๐ฅ๐ }, derive the maximum likelihood estimator ๐ of the Binomial distribution.๐ต(๐ฅ, ๐) = (๐) ๐๐ฅ(1 โ ๐)๐โ๐ฅ ๐ฅ
- 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. b.
3. Find 3 a. b. c. d.
What is her probability of passing the exam if she studies? What is her probability of passing if doesnโt study?
random variables ๐, ๐, ๐ถ such that:
๐โฅ๐|๐ถ (๐and๐areindependentgiven๐ถ).
๐ and ๐ are not independent.
๐,๐ are integers such that 3 โค ๐,๐ โค 9 and ๐ถ is binary. The following conditions hold:
- ๐(1โค๐โค5)=0.4
- ๐(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.
- What is the probability of having 2 on-time meals in a week (7 days)?
- What is the probability of having at least 4 on-time meals in a week?
- A company of 100 employees recorded the number of on-time meals they hadduring 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.





