State what probability distribution best describes the following random numbers. 1 point each.
For the following problems, choose and state an appropriate distribution, write out its parameters based on the problem statement and then compute the requested quantity. Write the distribution information in Markdown/LaTeX and compute answers in Python. Choose only from the distributions presented in lecture. 4 points each
The probability of success for becoming a successful actor is 0.01. What is the probability of not becoming a successful actor?
Five people are competing in an ultra marathon. The probability to complete the ultra marathon is 50%. What is the probability that 3 complete the ultra marathon?
You are watching deer walk across a street. 10 deer take 5 minutes to cross the street. What is the probability of seeing a deer cross within the first minute?
Plot the probablities using Python. Accurately label x and y axis. State which distribution the plot is decribing. Make distinction in the use of discrete or continuous variables in the plots. Use for
loops to compute probabilities. Choose reasonalbe axes limits that encapsulate 99% of probability. Do not use numpy. 8 points each.
Each time you make a post on Twitter, there is an 80% chance you get a retweet. Plot the probability of number of tweets before you get one with a retweet.
You are racing your 3 friends in Mario Kart. Due to your practice, you have a 45% chance of winning in a match. Plot the probability of number of wins if you and your friends race in 14 matches.
Over the past two hundred hunger games, district 9 has won 3 times. Plot the probability for number of district 9 wins in the next 10 years.
Compute answers in Python using for
loops. Do not use numpy
. Use only the distributions from lecture notes. 6 points each
Five people are competing in an ultra marathon. The probability to complete the ultra marathon is 50%. What is the probability that more than 3 complete the ultra marathon?
Each time you make a post on Twitter, there is an 80% chance you get a retweet. What is the probability that it takes more than 4 tweets before you get a retweet?
Show that the equation for the binomial distribution is normalized (sums to 1) for $n = 5$, $p = 0.2$.