For the past
112112
years, a certain state suffered
2828
direct hits from major (category 3 to 5) hurricanes. Assume that this was typical and the number of hits per year follows a Poisson distribution. Complete parts (a) through (d).
(a) What is the probability that the state will not be hit by any major hurricanes in a single year?
The probability is
1-The number of hits to a website follows a Poisson process. Hits occur at the rate of
1.0 per minute1.0 per minute
between 7:00 P.M. and
99:00
P.M. Given below are three scenarios for the number of hits to the website. Compute the probability of each scenario between
8 : 27 P.M.8:27 P.M.
and
88:3535
P.M. Interpret each result.
(a) exactly fivefive
(b) fewer than fivefive
(c) at least fivefive
2-Determine the required value of the missing probability to make the distribution a discrete probability distribution. x P(x) 3 0.35 0.35 4 ? 5 0.16 0.16 6 0.27 0.27 P(4) =
In: Statistics and Probability
Say I'm on a date. The probability of my date showing up on time for the first date is 0.5 (since possible outcomes are either “on time” or “not on time”, the probability of being “not on time” is 1 – P (on time) = 1 - 0.5 = 0.5). For the second date, the probability of the same person showing up on time is 0.90 if she was on time for the first date. However, this probability is only 0.35 if she was not on time for the first date. Show the work.
1. Show the probability tree summarizing probabilities of the potential outcomes of these two dates, showing up on time or not.
2. Suppose punctuality is important to me, and if my date is late both times, so I have no interest in a relationship. What is the probability of that happening?
3. Use the probability tree from #1 to construct a discrete probability distribution for the potential outcomes in terms of number of times my date showed up on time over the two dates.
4. From the discrete probability distribution constructed in #3 calculate the mean and variance of the potential outcomes, i.e. the number of times my date showed up on time.
In: Statistics and Probability
9.11 LAB: Winning team (classes)
Complete the Team class implementation. For the class method
get_win_percentage(), the formula is:
team_wins / (team_wins + team_losses)
Note: Use floating-point division.
Ex: If the input is:
Ravens 13 3
where Ravens is the team's name, 13 is the number of team wins, and 3 is the number of team losses, the output is:
Congratulations, Team Ravens has a winning average!
If the input is Angels 80 82, the output is:
Team Angels has a losing average.
------------------------------------------------------------------------------------------------------------------------------------
We are given:
class Team:
def __init__(self):
self.team_name = 'none'
self.team_wins = 0
self.team_losses = 0
# TODO: Define get_win_percentage()
if __name__ == "__main__":
team = Team()
team_name = input()
team_wins = int(input())
team_losses = int(input())
team.set_team_name(team_name)
team.set_team_wins(team_wins)
team.set_team_losses(team_losses)
if team.get_win_percentage() >= 0.5:
print('Congratulations, Team', team.team_name,'has a winning
average!')
else:
print('Team', team.team_name, 'has a losing average.')
Please help, in Python!
In: Computer Science
A company like Golf USA that sells golf-related merchandise typically will have inventory items such as golf clothing and golf equipment. As technology advances the design and performance of the next generation of drivers, the older models become less marketable and therefore decline in value. Suppose that in 2018, Ping (a manufacturer of golf clubs) introduces the MegaDriver II, the new and improved version or the MegaDriver. Below are amounts related to Golf USA's inventory at the end of 2018.
| Inventory | Quantity | Cost | NRV |
| 27 | $52 | $74 | |
| 7 | 350 | 210 | |
| 22 | 310 | 430 |
Do not copy from chegg.
Record any necessary adjustment to inventory.
In: Accounting
The following questions relate to the protocol used to manage the health of the network and allow network devices to communicate to each other to keep network traffic flowing freely. An example of a common command that uses this protocol is ‘ping’. (10 marks total)
What is the name of this protocol? (1 mark)
What layer of the TCP/IP network model does this protocol belong? (1 mark)
What is the command used to display a path that network traffic takes across a network? (2 mark)
Name a feature of this protocol that is used to map this path mentioned above, and briefly explain how the Tracert function works. (1 + 5 = 6 marks)
In: Computer Science
PC2 and PC4 have been configured correctly with the IP addresses 172.156.2.22 and 172.156.2.44. But PC2 cannot communicate with PC4 (i.e., they cannot ping each other). The network technician knows that the problem is related to some configuration settings.
What would be missing in the configuration? On which device(s)? [write your answer in no more than 25 words]
Based on your answer in (1), what will you do to prove that you are right? [write your answer in no more than 25 words]
Based on your answers in (1) and (2), what will you do to fix the problem? [write your answer in no more than 25 words]
In: Computer Science
Compare -j DROP vs -j REJECT. Which option would you use to create a firewall rule that blocks incoming packets and why?
In: Computer Science
3.6.6 A player of a video game is confronted with a series of opponents and has 77% probability of defeating each one. Success with any opponent is independent of previous encounters. The player continues to contest opponents until defeated.
(a)What is the probability mass function of the number of opponents contested in a game?
(b) What is the probability that a player defeats at least 3 opponents in a game? Round your answer to two decimal places (e.g. 0.98).
(c) What is the expected number of opponents contested in a game? Round your answer to the nearest integer.
(d) What is the probability that a player contests 4 or more opponents in a game? Round your answer to four decimal places (e.g. 0.9876).
(e) What is the expected number of game plays until a player contests 4 or more opponents? Round your answer to the nearest integer.
In: Statistics and Probability
Let N be the number of requests to a web server per day and let N Poisson(). Each request
comes from a human with probability p or from a spam bot with probability 1 ? p. Assume that
the requests are independent of each other. Let X be the number of requests from humans per
day and Y be the number of requests from spam bots per day.
(a) State the conditional distribution of X given N = n, and state the conditional distribution of
Y given N = n.
(b) Calculate the probability of getting exactly x human requests and y spam requests.
(c) Find the joint probability mass function of X and Y , and show that X and Y are independent
of each other.
(d) Using your result in part (c), compute E[X + Y ] and Var[X + Y ].
In: Statistics and Probability
12. Assume that we randomly choose from the letters {A, B, C, D, E, F, G, H, I, J, K, L} (without replacing the letters), until they have all been taken.
(a) Find the probability that the letters A and K are chosen successively in the given order.
(b) Find the probability that the letters G, H, I, are chosen successively in the given order.
c) Find the probability that the string "LAI" appears somewhere in the sequence of letters.
13. Suppose that a minibus with capacity for 9 passengers departs from a commuter station. Observation has shown that the bus never departs empty. Let X denote the number of passengers that are female and Y the number of passengers that are male. Assume that all possible (x, y) pairs are equally likely. Find the probability that the number of female passengers is less than 5.
In: Statistics and Probability