Question

In: Math

3) When I lived in California I had a small lemon tree in the front yard....

3) When I lived in California I had a small lemon tree in the front yard. If we had rain in the summer (rare=P=.2) it would yield up to 10 lemons, distributed with a binomial distribution, N= 10, P=0.6. If it is perfectly dry (most of the time P=0.8) it the distribution would be binomial with N=6, P=0.4 a) If you get 3 lemons what the probability that it rained. b) If you have 4 lemons, what is the probability that it rained.

Solutions

Expert Solution

a) Let X be the number of lemons

We have to find

P(rain I X =3 )

We know that

P(rain I X =3) = P( X =3 I rain ) .P(rain) / P(X=3)

P(dry) =0.8

P(rain) =0.2

When it rains , X follow Binomial with n=10, p=0.6

= 0.0425

When its dry , X follow Binomial with n= 6 , p=0.4

=0.2765

Thus , P(X=3) = P( X =3 I rain ) .P(rain) + P(X=3 I dry ) .P(dry)

= 0.0425* 0.2 + 0.2765* 0.8

= 0.2297

P(rain I X =3) = 0.0425*0.2 / 0.2297

= 0.0370

Probability that it rained given that we get 3 lemons = 0.0370

b)

We have to find

P(rain I X =4 )

We know that

P(rain I X =4) = P( X =4 I rain ) .P(rain) / P(X=4)

When it rains , X follow Binomial with n=10, p=0.6

= 0.1115

When its dry , X follow Binomial with n= 6 , p=0.4

=0.1382

Thus , P(X=4) = P( X =4 I rain ) .P(rain) + P(X=4 I dry ) .P(dry)

= 0.1329

Therefore ,

P(rain I X =4) = 0.1115*0.2 / 0.1329

= 0.1678  

Probability that it rained given that we get 4 lemons = 0.1678


Related Solutions

There is a tree in the middle of your front yard and you take pictures of...
There is a tree in the middle of your front yard and you take pictures of a squirrel as it runs around the tree. When you take the first picture, the squirrel is 12.0 m away from the tree in the direction 30.0◦ N of E. Twenty seconds later, you take a second picture of the squirrel when it is 7.50 m away from the tree in the direction 15.0◦ E of S. What is the magnitude and direction of...
I had to heat 6 eggs. 3 in boiling water, 3 in the oven. I had...
I had to heat 6 eggs. 3 in boiling water, 3 in the oven. I had to take them out at 5, 10, & 15 minutes. I then placed them each in cold water. I had to observe what happened to each egg and now I have to answer these questions. I don't understand what temperature gradient means and what type of answer he is looking for. 1. Heat transfer is both external, from the water or air to the...
**Only answer G-J, I already did A-F** 2. Measuring the height of a California redwood tree...
**Only answer G-J, I already did A-F** 2. Measuring the height of a California redwood tree is very difficult because these trees grow to heights over 300 feet. People familiar with these threes understand that the height of a California redwood tree is related to other characteristics of the tree, including the diameter of the tree at the breast height of a person (in inches), the thickness of the bark of the tree (in inches), the distance from the closest...
Catherine (wife) and Peter (husband) Mallen had lived together unmarried for some four years when Catherine...
Catherine (wife) and Peter (husband) Mallen had lived together unmarried for some four years when Catherine got pregnant and a marriage was arranged. Peter asked Catherine to sign a prenuptial agreement. Although his financial statement attached to the agreement did not state his income at $560,000 per year, it showed he was wealthy, and she had lived with him for four years and knew from their standard of living that he had significant income. Catherine contends that failure to disclose...
Catherine (wife) and Peter (husband) Mallen had lived together unmarried for some four years when Catherine...
Catherine (wife) and Peter (husband) Mallen had lived together unmarried for some four years when Catherine got pregnant and a marriage was arranged. Peter asked Catherine to sign a prenuptial agreement. Although his financial statement attached to the agreement did not state his income at $560,000 per year, it showed he was wealthy, and she had lived with him for four years and knew from their standard of living that he had significant income. Catherine contends that failure to disclose...
When solving for the Ksp of calcium hydroxide, I had a very large percent error. I...
When solving for the Ksp of calcium hydroxide, I had a very large percent error. I was wondering if someone could give me examples of what could cause such a high percent error when titrating Ca(OH)2 with HCl and phenolphthalein indicator. Any help would be appreciated!
The image of a distant tree is virtual and very small when viewed in a curved mirror. The image appears to be 10.7 cmcm behind the mirror.
CE CHP 22 QS 11The image of a distant tree is virtual and very small when viewed in a curved mirror. The image appears to be 10.7 cmcm behind the mirror.What is its radius of curvature?
Manipulating Strings Manipulating strings are an important part of programming. When I first started I had...
Manipulating Strings Manipulating strings are an important part of programming. When I first started I had quite a few assignments on just taking the strings apart and doing different manipulations to them. This helped me understand programming logic and ended up helping me a lot with future database programs. String manipulations can be done in programming, database, and reports which make it essential to know.   Class, have you been practicing some string manipulations? Any tips or tricks? Dealing with Python...
I have 3 tables, but I need that when the user logs in and enters his...
I have 3 tables, but I need that when the user logs in and enters his login and password, it shows me only the information of that client. But it is showing me the information of all the clients. Bank(mid,code,cid,sid,type,amount,mydate,note) from CPS300 This is the table where I want the information of a client to be seen Customers(id,name,login,password) from CPS200 Sources(id,name) from CPS200 --------------------------------------------------------------------------------------------------------------------------------- for now I have two queries, but I must correct the one for client authentication because...
What did I do wrong? When you click on the small caption of the photo, it...
What did I do wrong? When you click on the small caption of the photo, it is supposed to have a call to AJAX that changes the small description of my fav activities to a bigger description. For example, when you click "cooking" it should change to what I have in the biginfo file but it does not change. This is the full code. The "biginfo" files I have are done,  don't have anything but the fuller description.   HTML _________________ <!DOCTYPE...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT