Question

In: Statistics and Probability

We need to use R 1) By carefully going through patient records, you determine relative exposure...

We need to use R

1) By carefully going through patient records, you determine relative exposure by Unit and by patient as shown below:

Patient:   1,     2,    3,   4,   5,   6,      7,     8,      9,   10

Unit A:   84, 109, 57, 91, 80, 81, 109, 107,   98, 111

Unit B:   86, 104, 68, 95, 83, 87, 118, 114, 108, 116

  1. Create an appropriate chart to visualize the data
  2. What statistical test is appropriate to determine whether the exposures from the two units differ significantly

c. What can you conclude from the statistical analysis?

Solutions

Expert Solution

Result:

Create an appropriate chart to visualize the data

Box plot is used to present the data.

What statistical test is appropriate to determine whether the exposures from the two units differ significantly

test appropriate here is Independent sample t test ( two sided).

What can you conclude from the statistical analysis?

Obtained test statistic t = -0.67987, df = 18, p-value = 0.5052 which is > 0.05 level of significance. Ho is not rejected.

we conclude that the exposures from the two units not differ significantly.

R code:

A=c(84, 109, 57, 91, 80, 81, 109, 107, 98, 111)

B=c( 86, 104, 68, 95, 83, 87, 118, 114, 108, 116)

boxplot(A,B,names=(c("Unit A","Unit B")))

t.test(A,B, var.equal = TRUE, conf.level=.95)

R output:

t.test(A,B, var.equal = TRUE, conf.level=.95)

        Two Sample t-test

data: A and B

t = -0.67987, df = 18, p-value = 0.5052

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval:

-21.26896 10.86896

sample estimates:

mean of x mean of y

     92.7      97.9


Related Solutions

For this homework we are going to walk you through creating a class. Lets look at...
For this homework we are going to walk you through creating a class. Lets look at a pizza restaurant and create a class for this. We will call our class pizza. The goal for every class is to include everything that has to happen for that class in 1 place. So whenever we create a class we need to think of what the nouns or variables will be for that class and then what the actions or methods will be...
When do we use I=P/a or I=P/4pi(r)^2? for example question 1: 30 seconds of exposure to...
When do we use I=P/a or I=P/4pi(r)^2? for example question 1: 30 seconds of exposure to 115 dB sound can damage your hearing, but a much quieter 94 dB may begin to cause damage after 1 hour of continuous exposure.You are going to an outdoor concert, and you'll be standing near a speaker that emits 50W of acoustic power as a spherical wave. What minimum distance should you be from the speaker to keep the sound intensity level below 94...
Determine the quantity of each chemical that you are going to use for preparing the buffer:...
Determine the quantity of each chemical that you are going to use for preparing the buffer: Calculate the amount of each chemich you will need to weigh out to make solutions A-F as listed in the "materials" section below. Also perform the follwing calculations: 1. How much of solution A and solution B would you need to mix to obtain 100ml of 0.2M phosphate buffer at pH 6.8 (relevant pKa is 7.2)? Will you need to add any extra water...
1. In order to determine which is the best indicator to use, you need to calculate...
1. In order to determine which is the best indicator to use, you need to calculate the pH at the equivalence point of the titration of KHP with NaOH. Suppose you start with 50.0 mL of a 0.060 M solution of KHP and you titrate with 0.1000 M NaOH. What is the pH at the equivalence point?  Recall that at the equivalence point, all of the moles of acid have been converted to base. 2. Calculate the volume in mL of...
hi i need to do a C++ program. You are going to practice the use of...
hi i need to do a C++ program. You are going to practice the use of array by implementing the interface of Shuttle Puzzle. Here is an example of how you play the Shuttle Puzzle. Say that you start with a board with 7 holes and there are 3 black and 3 white marbles on the board in this configuration: W W W . B B B The dot (.) represents the empty hole withouth any marble. The objective of...
You will need to use R to compute the final probabilities, but show all of the...
You will need to use R to compute the final probabilities, but show all of the work up to that point and write down the R code that you ran to compute your final answer. Problems should be done in the order listed, and should be clear and complete for full marks. 1. The tensile strength of plastic used to make grocery bags is an important quality characteristic. It is known that the strength is normally distributed with mean, μ...
We need to use R for this example! 10 patients have diagnostic procedures repeated on two...
We need to use R for this example! 10 patients have diagnostic procedures repeated on two different units. Relative exposure data is shown below: Unit A: 84, 109, 57, 91, 80, 81, 109, 107,  98, 111 Unit B: 86, 104, 68, 95, 83, 87, 118, 114, 108, 116 Due to poor record keeping, we do not know what exposure corresponds to what patient. Create an appropriate chart to visualize the data What statistical test is appropriate to determine whether the exposures...
How can you determine if you need to use a combination or permutation to count the...
How can you determine if you need to use a combination or permutation to count the number of outcomes? Which will usually have more outcomes? Why? Provide an example in your explanation. (please provide detailed answer with no less than 100 characters)
we are going to focus on basic logic and how you can use logic outside of...
we are going to focus on basic logic and how you can use logic outside of the classroom. Unfortunately, many of our daily interactions include logical errors. Respond to the following prompts in a minimum of 175 words: Consider a recent interaction you have had with a co-worker or item that you saw in the media that might have included logical errors. Share the example as well as the logical errors that are present in the example. Be sure to...
In this assignment you are going to use the menu you created in Assignment 1 to...
In this assignment you are going to use the menu you created in Assignment 1 to test both your Double and Integer classes. You should add functionality to the menu to allow you test the add, sub, mul, div functions for instances of both classes You are going to have make a modification to your menu class. Currently it uses an array to hold a fixed amount of menu items. While this may be OK for most applications we want...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT