Question

In: Statistics and Probability

I need to figure this out in rstudio how to calculate this for Binomial and Poisson...

I need to figure this out in rstudio how to calculate this for Binomial and Poisson Distributions

Type 2 diabetes is becoming increasingly prevalent among the American adult population. Currently, 9.4% of American adults have diabetes (Centers for Disease Control and Prevention News Release, July 18, 2017). Suppose that 1000 American adults are randomly chosen and tested for Type 2 diabetes.

Use R to find the following probabilities, assuming that the rate of type 2 diabetes is 9.4%. Your R script should contain the commands you used to compute the probability.

Place your answers in the appropriate places in the Word document. Provide at least 4 decimal places for all probabilities.

  1. Probability that exactly 94 of the adult Americans will have type 2 diabetes

  1. Probability that more than 80 will have diabetes.

  1. Probability that not more than 65 will have diabetes

  1. Probability that fewer than 100 will have diabetes

  1. Probability that at least 75 will have diabetes

  1. Probability that Fewer than 20 will have diabetes.

  1. Probability that between 50 and 90 (inclusive) will have diabetes.

  1. Suppose that of the 1000 tested only 32 were found to have type 2 diabetes. What conclusions might you make concerning the assumption that the rate of type 2 diabetes is 9.4%? As part of your answer find the appropriate probability. Calculate it and enter it on your worksheet in addition to providing your written conclusions.

  1. Calculate the mean for the probability distribution. Recall: mean = µ= np

Solutions

Expert Solution

dbinom() function is used to calculate the exact probability and pbinom() function is used to calculate the cumulative probability. The R code is shown below,

R Code:

R output:


Related Solutions

Chemistry question: We did an experiment in lab and I need to figure out how to...
Chemistry question: We did an experiment in lab and I need to figure out how to A) calculate the mols of NaOH used in titration B) calculate mols HCl in titration C) calculate mols of CaCO3 reacted D) calculate grams of CaCO3 reacted E) calculate percentage of CaCO3 in TUMS. I really need to see all the steps that way I can understand what is going on. We did four titrations with the following information 38 mL HCl, 19.913 g...
I am trying to figure out how to calculate the sustainable earnings: Permanent Versus Transitory Earnings...
I am trying to figure out how to calculate the sustainable earnings: Permanent Versus Transitory Earnings Entrust, Inc., is a global provider of security software; it operates in one business segment involving the design, production, and sale of software products for securing digital identities and information. The consolidated statements of operations for a three-year period (all values in thousands) follows. On January 1, Year 1, the Entrust common shares traded at $10.40 per share; by year end Year 3, the...
I have two questions that need to be answered, I can't figure them out: 1) Steve...
I have two questions that need to be answered, I can't figure them out: 1) Steve Coleman has just won the state lottery and has the following three payout options for afterminus?tax prize? money:1. $ 152 comma 000$152,000 per year at the end of each of the next six years2. $ 318 comma 000$318,000 ?(lump sum) now3. $ 500 comma 000$500,000 ?(lump sum) six years from now The annual discount rate is? 9%. Compute the present value of the second...
In the binomial function, negative binomial function, poisson distribution, I dont know what to do when...
In the binomial function, negative binomial function, poisson distribution, I dont know what to do when we need to find a variable X. For example, If X is exactly at 0, 1 , 2, etc. Then I know that we only need to apply the formula and calculate it. However, in some cases like X <= 2, X >= 5, X > 4, etc, then I do not know how to calculate that X and how to apply the formula....
I need to figure out what questions could be asked from these scenarios. - A snowboarder...
I need to figure out what questions could be asked from these scenarios. - A snowboarder comes off of a ramp at an angle of theta above the horizontal, with a speed of v. The end of the ramp is a height h above the ground. Neglect friction and air resistance. - A boy is standing on a ramp that is inclined at an angle theta above the ground. He is not slipping due to a static frictional force of...
I am supposed to map out the following and can't figure out how to do it!...
I am supposed to map out the following and can't figure out how to do it! Can somebody help? The experiment has to do with determining the simplest formula of potassium chlorate and to determine the original amount of potassium chlorate in a potassium chlorate-potassium chloride mixture by measuring the oxygen lost from decomposition. The chemical reaction is 2KClO3(s) ------> 2KCL(s) + 3 O2(g) I am supposed to map out 1. Mass of oxygen lost in the first part 2....
How is this done in R-studio? I have been trying to figure it out but I...
How is this done in R-studio? I have been trying to figure it out but I am getting more and more confused. While imprisoned by the Germans during World War II, the English mathematician John Kerrich tossed a coin 10,000 times and obtained 5067 heads. Let p be the probability of a head on a single toss. We wish to check if the data are consistent with the hypothesis that the coin was fair. a) Set up the hypotheses. Why...
How to figure out haplotypes?
How to figure out haplotypes?  Site 1               Site 2               Site 3               Site 4   Mother             GT                   AA                   GG                  AT Father             TT                    AG                   CT                   AA Child 1             GT                   AA                   GT                   AT Child 2             TT                    AA                   GT                   AA Child 3             TT                    AG                   CG                  AA  
explain the interpretation of binomial and poisson random variables and how based on their definitions
explain the interpretation of binomial and poisson random variables and how based on their definitions
I need an example of how to calculate correlation in excel
I need an example of how to calculate correlation in excel
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT