Thursday, August 19, 2010

Can anyone help with a statistics question?

It is claimed that a new drug for hypertension (high blood pressure) is effective in 70% of


treated patients. In a given experiment, seven patients were treated.


(a) What conditions must be satisfied for this to be considered a binomial experiment?


(b) Assuming that these conditions are met, find the expected number of successful treatments


and the standard deviation.


(c) Use R to find the probability that


(i) at least four patients will be successfully treated?


(ii) exactly four patients will be successfully treated.


(iii) no fewer than 3 and no more than 5 patients will be successfully treated.

Can anyone help with a statistics question?
a) the people are independent trials for the drug test with one of two possible outcomes, they are successfully treated or not.





b) expected number of successfully treated people is 7 * 0.7 = 4.9





in general for a binomial the expected number of successes is n * p where n is the number of observations and p is the success probability.





c) here is what to put into R. the %26gt; is the line to type and the number after [1] is the prob.





(i)


%26gt; sum(dbinom(4:7,7,0.7))


[1] 0.873964





(ii)


%26gt; dbinom(4,7,0.7)


[1] 0.2268945





(iii)


%26gt; sum(dbinom(3:5,7,0.7))


[1] 0.6417873


No comments:

Post a Comment