Question

3. (10 pts) Elderly patients who had suffered hip fractures were randomly assigned to receive either a placebo (n=1,062) or zPlease show me the R outputs with the answer

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ans a )

> res <- prop.test(x = c(139,92), n = c(1062,1065) ,conf.level = 0.95, correct = TRUE)
> res

   2-sample test for equality of proportions with continuity correction

data: c(139, 92) out of c(1062, 1065)
X-squared = 10.422, df = 1, p-value = 0.001245
alternative hypothesis: two.sided
95 percent confidence interval:
0.01717529 0.07182500
sample estimates:
prop 1 prop 2
0.13088512 0.08638498

b ) we are 95 % confident that the difference of proportion of recieved placebo and zolendronic lies in this ( 0.01717529 ,0.07182500) interval

Add a comment
Know the answer?
Add Answer to:
Please show me the R outputs with the answer 3. (10 pts) Elderly patients who had...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • post the r code please 3. (10 pts) Elderly patients who had suffered hip fractures were...

    post the r code please 3. (10 pts) Elderly patients who had suffered hip fractures were randomly assigned to receive either a placebo (n=1,062) or zolendronic acid (n-1,065) in a double blind clinical trial. During the trial 139 placebo patients and 92 zolendronic acid patients had new fractures. Let pl and p2 represent the probabilities of fracture on placebo and zolendronic acid, respectively. (a) Construct the 95% confidence interval for (pl-p2) in R. Show your code and output. Hint: using...

  • Please show me the R outputs with it 4. (15 pts) Hip dysplasia is a hip...

    Please show me the R outputs with it 4. (15 pts) Hip dysplasia is a hip socket abnormality that affects many large breed dogs. A review of medical records of dogs seen at 27 veterinary medical teaching hospitals found that hip dysplasia was more common in Golden retrievers than in Border Collies; the data are shown in the following table. Border collie Golden retriever Hip dysplasia 3,995 42,946 46,941 221 Yes 5,007 5,228 No Total (a) Calculate the relative risk...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT