Question

Eleven employees were put under the care of the company nurse because of high cholesterol readings....

Eleven employees were put under the care of the company nurse because of high cholesterol readings. The nurse lectured them on the dangers of this condition and put them on a new diet. You have the cholesterol readings of the 11 employees both before the new diet and one month after use of the diet began.

(2). Use R command to construct a 98% confidence interval to estimate the population mean difference of cholesterol readings before and after for people who are involved in this program. Assume differences in cholesterol readings are normally distributed in the population.

(3). Import dataset cholesterolReadings.csv to R script file, and write the correct R commands to solve this problem. What is the p value? What is the statistical decision?

Employee_ID Before After
1 255 197
2 230 225
3 290 215
4 242 215
5 300 240
6 250 235
7 215 190
8 230 240
9 225 200
10 219 203
11 236 223

Homework Answers

Answer #1

The R output is ,

> x=c(255,230,290,242,300,250,215,230,225,219,236)
> x
[1] 255 230 290 242 300 250 215 230 225 219 236
> y=c(197,225,215,215,240,235,190,240,200,203,223)
> y
[1] 197 225 215 215 240 235 190 240 200 203 223
> t.test(x,y,paired=T,conf.level=0.98)

Paired t-test

data: x and y
t = 3.6094, df = 10, p-value = 0.004773
alternative hypothesis: true difference in means is not equal to 0
98 percent confidence interval:
6.581057 49.600761
sample estimates:
mean of the differences
28.0909

(2) The 98% confidence interval to estimate the population mean difference of cholesterol readings before and after for people who are involved in this program is ,

( 6.581057 , 49.600761 )

(3) P value = 0.004773

Decision : Here , P value = 0.004773 <

Therefore , reject Ho at significance level.

Know the answer?
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
Similar Questions
A random sample of employees were put under the care of the company nurse because of...
A random sample of employees were put under the care of the company nurse because of high cholesterol readings. The nurse lectured them on the dangers of this condition and put them on a new diet. Data were observed on the cholesterol readings of the employees both before the new diet and one month after use of the diet began. We'd like to know if there is enough evidence that the mean cholesterol reading for all employees would be lower...
Pat.# Before After 1 195 125 To the left is 2 datasets measured for a sample...
Pat.# Before After 1 195 125 To the left is 2 datasets measured for a sample of 107 patients with the high cholesterol level before and after taking medication. Obtain the following for both sets: 2 208 164 3 254 152 1- the mean, mode and median 4 226 144 5 290 212 2- the variance and standard deviation 6 239 171 7 216 164 3- First, second and third quartiles 8 286 200 9 243 190 10 217 130...
A loan made on March 14 is due September 13 of the following year. Find the...
A loan made on March 14 is due September 13 of the following year. Find the exact time for the loan in a​ non-leap year and a leap year. days. The exact time in a​ non-leap year is ? days The exact time in a leap year is ? days. Data Table Sequential Numbers for Dates of the Year Day of Month Jan. Feb. Mar. Apr. May June July Aug. Sept. Oct. Nov. Dec. 1 1 32 60 91 121...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the seasonal influenza vaccine in preventing acute respiratory infection (ARI). A total of 507 subjects from Texas who showed symptoms of ARI were recruited for this study. The data provided show the result of each subject's test for influenza. Click to download the data in your preferred format.    CrunchIt!    CSV    Excel    JMP    Mac-Text    Minitab    PC-Text    R   ...
Your firm works in construction and buys ASTM A325M8S bolts in very large numbers. You are...
Your firm works in construction and buys ASTM A325M8S bolts in very large numbers. You are interested in purchasing bolts from different suppliers and have obtained and tested samples of 200 bolts from three suppliers: Allnutt, Boltzman, Coachers.You have tested these in your new bolt testing machine, purchased after you had discovered your old bolt testing machine was performing erratically. (For the purposes of this question, you are safe to assume that the new machine works perfectly and that its...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT