Question

please the question. need R code to solve the question Assume that the literature on this...

please the question. need R code to solve the question

Assume that the literature on this topic suggests that the distribution of days of hospital stay are normally distributed with a mean of 5 and a standard deviation of 3. Recent publications have indicated that hypervirulent strains of C. Difficile are on the rise. Such strains are associated with poor outcomes, including extended hospital stays.An investigator is interested in showing that the average hospital stay durations have increased versus published literature. He has a sample of 10 patients from his hospital. If the published data are consistent with the truth, what is the probability that the sample mean in his sample will be greater than 7 days?

(the question before this question is:  Assume that the literature on this topic suggests that the distribution of days of hospital stay are normally distributed with a mean of 5 and a standard deviation of 3. What percentage of patients are in the hospital for less than a week? (Note: in percent, it is a number between 0 and 100)

and I know this answer is 74.75075% by pnorm(7,5,3) )

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

Given that, mean (mu) = 5 and standard deviation (sigma) = 3

sample size ( n ) = 10

Therefore, mean and standard deviation of the sampling diatribution of sample mean are,

5

Vn

a) P(X < 7 days) = 0.7475

R-command: pnorm(7, 5, 3) = 0.7475

Therefore, 74.75% of patients are in the hospital for less than a week.

b) We want to find, P(T > 7)

P(z > 7) = 1-P(F < 7) = 0.0175

R-command: pnorm(7, 5, (3/sqrt (10))) = 0.0175

Therefore, the probability that the sample mean in his sample will be greater than 7 days is 0.0175

( In percentage = 1.75%)

Add a comment
Know the answer?
Add Answer to:
please the question. need R code to solve the question Assume that the literature on this...
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
  • Question Help The standard deviation of the lengths of hospital stay on the intervention ward is...

    Question Help The standard deviation of the lengths of hospital stay on the intervention ward is 78 days. Come parts through (c) below a. For the variable length of hospital stay." determine the sampling distribution of the sample mear for samples of patients The standard deviation of the sample mean is days. (Round to four decimal places as needed.) b. The distribution of the length of hospital stayis right skewed Does this invalidate your result in part (a? Explain your...

  • The standard deviation of the lengths of hospital stay on the intervention ward is 7.4 days....

    The standard deviation of the lengths of hospital stay on the intervention ward is 7.4 days. Complete parts​ (a) through​ (c) below. a. For the variable​ "length of hospital​ stay," determine the sampling distribution of the sample mean for samples of 91 patients. The standard deviation of the sample mean is sigma Subscript x overbarequals 0.7757 days. ​(Round to four decimal places as​ needed.) b. The distribution of the length of hospital stay is right skewed. Does this invalidate your...

  • 42 Question In the general population, patients who are recovering from bronchial pneumonia normally take a...

    42 Question In the general population, patients who are recovering from bronchial pneumonia normally take a mean (average) of 4.75 days to leave the hospital, with a population standard deviation of 1 82 days. Medical personnel at a hospital are trying a new medication that is designed to ease breathing during recovery What is not current known is whether the new medication will impact duration of hospital stay The frst sample of 25 patients (n-25) to whom this medication was...

  • The patient recovery time from a particular surgical procedure is normally distributed with a mean of...

    The patient recovery time from a particular surgical procedure is normally distributed with a mean of 5.3 days and a standard deviation of 2.1 days.  The insurance company will not pay for patients to stay in the hospital if recovery time is more than the usual time to recover. Would a patient who takes ten days to recover have to pay some of his own bill? yes since this is outside of the normal range. no the score is within normal...

  • Name: Wit: SAMPLING DISTRIBUTION EXERCISE The average length of a hospital stay in general or community...

    Name: Wit: SAMPLING DISTRIBUTION EXERCISE The average length of a hospital stay in general or community hospitals in the United States is 6 days Assume that the population standard deviation is 7.7 days. A simple random sample of 49 patients is drawn from this population. 1. What is the sampling distribution of the sample mean? 2. What is the probability that the average length of stay for this group of patients will be no more thana week? 3. What is...

  • need help. please this question hace more parts! please i want to put the rest in...

    need help. please this question hace more parts! please i want to put the rest in the comments. so you cna help me out! WSUIT Help Use the standard normal distribution or the distribution to construct a 95% confidence interval for the population mean. Justify your decision. If neither distribution can be used, explain why. Interpret the results In a random sample of 13 mortgage institutions, the mean interest rate was 3.56% and the standard deviation was 0.37%. Assume the...

  • In the general population, patients who are recovering from bronchial pneumonia normally take a mean (average)...

    In the general population, patients who are recovering from bronchial pneumonia normally take a mean (average) of 4.75 days to leave the hospital, with a population standard deviation of 1.82 days. Medical personnel at a hospital are trying a new medication that is designed to ease breathing during recovery. What is not currently known is whether the new medication will impact duration of hospital stay. The first sample of 25 patients (n=25) to whom this medication was administered were released...

  • 12) The president is concerned about the escalating costs of providing health care in the United...

    12) The president is concerned about the escalating costs of providing health care in the United States. One of the components contributing to the increasing cost is the length of the hospital stay of a patient. In a sample involving 28 patients the mean time was ? = 4.6 days with standard deviation ? = 1.3 days. Do these results demonstrate that the true mean stay of a patient is significantly longer than 4 days? Carry out a test using...

  • The length of maternity stay in U.S. hospitals is normally distributed, with mean of 3.5 days...

    The length of maternity stay in U.S. hospitals is normally distributed, with mean of 3.5 days and a standard deviation of 0.5 days. We randomly survey 62 women who recently bore children in U.S. hospitals. Let Xmaternity stay in U.S. hospital, and Xaverage maternity stay for a sample of size 62 a. (30) Xickone) .) b. (.30) X ~ (pick one) . (.40) Which of the following is more likely? Oan individual stays more than 5 days the average stay...

  • Question 46 Not yet answered At a factory that produces batteries, every 50th battery is taken...

    Question 46 Not yet answered At a factory that produces batteries, every 50th battery is taken from the production line in order to test its quality. This is an example of a Marked out of 1.00 P Flag question Select one: a. stratified random sample. b. systematic sample O c. simple random sample O d. convenience sample. e. voluntary response sample The delivery times for a courier company are uniformly distributed between 2 day and 4 days. What is the...

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
ADVERTISEMENT