(Discrete R.V. and Probability Mass Function) Suppose you work at a banana factory, where there is a conveyor belt along which bananas are always coming your way. Each banana is rotten w.p. 0.3, independent of all else. The first time that you get a rotten banana, you have to shut down the plant operations for the day. Until that time, you process the fresh bananas you receive as follows.
The first 90 fresh bananas you process must be packed into crate 1.
The next 80 fresh bananas you process are given to charity.
If you continue to see fresh bananas, the next 100 fresh bananas you process must be packed into crate 2.
All remaining fresh bananas are given to charity.
N2 be the total number of bananas you put in crate 2, and B be the
total number of bananas you give
to charity.
(a) Express N2 as a function of appropriate r.v.
(b) Write the p.m.f. of N2, i.e. list all possible values that N2 can take and for each value x, give the expression for P (N2 = x).
(c) Express B as a function of appropriate r.v.
(d) Write the p.m.f. of B, i.e. list all possible values that B can take and for each value x, give the
expression for P (B = x).
(Discrete R.V. and Probability Mass Function) Suppose you work at a banana factory, where there is...
1) 2) 3) 4) 5) Suppose that X is a uniform random variable on the interval (0, 1) and let Y = 1/X. a. Give the smallest interval in which Y is guaranteed to be. Enter -Inf or Inf for – or o. Interval:( b. Compute the probability density function of Y on this interval. fy(y) = Suppose that X ~ Bin(4, 1/3). Find the probability mass function of Y = (X – 2)2. a. List all possible values that...
Suppose you just got onto a road, whose length is 10 miles. At each of the 10 mile-markers on the road (namely, at the end of mile 1, end of mile 2,. . . , end of mile 10 of the road), there is a 20% probability of there being a police car trying to catch speeders, independently for each mile. You proceed as follows. Until you see your first police officer, you drive at 60 miles per hour. After...
5. Consider the discrete random variable X with probability mass function p.) = (3/30 for r=1 6/30 for r= 2 8/30 for r=3 7/30 for r = 4 4/30 for r = 5 2/30 for r= 6 10 otherwise. You may find it helpful to use a table with columns for I, Px(), 2. Px(2), and r.Px() to keep track of your computations. Do not round off-express all values as rational fractions. a) Find the probability P(X<3. b) Find the...
Problem 1. Suppose that you roll an 8-sided die until you get an 8. Let G denote the number of rolls that this takes. (a) Write down the probability mass function of G (b) Write a closed-form expression for P(G 2 6) (i.e. do not just write it as an infinite sum) (c) Do calculations to show that P(G2 10 | G> 6) P(G2 4). Problem 1. Suppose that you roll an 8-sided die until you get an 8. Let...
PLEASE MAKE YOUR HAND WRITING CLEAR AND READABLE . THANK YOU! O Let X and Y be independent random variables with a discrete uniform distribution, i.e., with probability mass functions for k = 1, px(k) = py (k) =-, N. Use the addition rule for discrete random variables on page 152 to determine the probability mass function of Z -X+Y for the following two cases. a. Suppose N = 6, so that X and Y represent two throws with a...
Please show how did you came up with the answer, show formulas and work. Also, please do Parts e to i. Thank you so much 1. Consider the following probability mass function for the discrete joint probability distribution for random variables X and Y where the possible values for X are 0, 1, 2, and 3; and the possible values for Y are 0, 1, 2, 3, and 4. p(x,y) <0 3 0 4 0.01 0 0 0.10 0.05 0.15...
In this assignment, you will explore more on text analysis and an elementary version of sentiment analysis. Sentiment analysis is the process of using a computer program to identify and categorise opinions in a piece of text in order to determine the writer’s attitude towards a particular topic (e.g., news, product, service etc.). The sentiment can be expressed as positive, negative or neutral. Create a Python file called a5.py that will perform text analysis on some text files. You can...
please show work 7. Find the vertex of the following function 10. A high school baseball player throws a ball straight up into the air for his math class. The height h at a certain time t can be modeled by the following function At what time will the ball hit the ground? B) (-2.-17) k(t)-16t +96t +6 o) (2,-17) a)t--0.061 seconds b) 4.512 seconds clt-5323 seconds d)?-6.062 seconds B. Find the vertex of the folowing graph: (1 -4) 9....
Thank you!!! 4.1 [2 pts. int rollO Define a function roll() that takes no arguments, and returns a random integer from 1 to 6. Before proceeding further, we recommend you write a short main method to test it out and make sure it gives you the right values. Comment this main out after you are satisfied that roll() works. Remenber:texibook Seciion 49 is on randormness, and Chapier 5is on functions. int getKandomNumber return 4 l chosen by fair dice roll....
Hey guys, I need some help solving this problem. thank you very much in advance! Pontfolio Optimization Task 4 Suppose the shares of two different companies give you the same return on average. Does it make sense to distribute your money and buy some shares of each company? Or would it be better to invest all the money into only a single company? Common sense says: "distribute" Why? Let's see... What at all could we gain if the return is...