{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Statistics324_HW6

# Statistics324_HW6 - Statistics 324 Discussion 311 w Jack...

This preview shows pages 1–4. Sign up to view the full content.

Statistics 324 – Discussion 311 w/ Jack Homework 6 – Victoria Yakovleva 1. with(vitcap, t.test(vital.capacity~group, conf.level=0.99)) Welch Two Sample t-test data: vital.capacity by group t = -2.9228, df = 19.019, p-value = 0.008724 alternative hypothesis: true difference in means is not equal to 0 99 percent confidence interval: -2.06447665 -0.02219002 sample estimates: mean in group 1 mean in group 3 3.949167 4.992500 The result of this comparison may be misleading because there are only a total of 24 workers whose vital capacities were collected.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2. Paired t-test data: pre and post t = 11.9414, df = 10, p-value = 3.059e-07 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 1074.072 1566.838 sample estimates: mean of the differences 1320.455
dd<-intake\$post-intake\$pre str(dd) num [1:11] -1350 -1250 -1755 -1020 -745 . .. avg<-with(intake,(post+pre)/2) str(avg) num [1:11] 4585 4845 4762 5670 6018 . .. xyplot(dd~avg,type=c("g","p"), aspect="iso")

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 7

Statistics324_HW6 - Statistics 324 Discussion 311 w Jack...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online