6.6 Each of 12 patients went on the South Beach diet for 5 weeks. Their weights before and after the diet are listed here. Perform a paired t-test comparing before and after values. Analyze these data as if the values were not paired. How do the p-values compare? Note: If you want to make this problem easier, read in the data by subject, with the before and after values. If you would like a challenge, read in all of the before values (perhaps into an array) and then all the after values, and create the data set with each observation having a subject number and the before and after scores. Subject 1 2 3 4 5 6 7 8 9 10 11 12 Before 300 350 190 400 244 321 330 250 190 160 260 240 After 290 331 200 395 240 300 332 242 185 158 256 220

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.3: Measures Of Spread
Problem 11PPS
Question

using SAS

6.6 Each of 12 patients went on the South Beach diet for 5 weeks. Their weights before and
after the diet are listed here. Perform a paired t-test comparing before and after values.
Analyze these data as if the values were not paired. How do the p-values compare? Note:
If you want to make this problem easier, read in the data by subject, with the before and
after values. If you would like a challenge, read in all of the before values (perhaps into an
array) and then all the after values, and create the data set with each observation having a
subject number and the before and after scores.
Subject 1 2 3 4 5 6
7 8 9 10
11 12
Before 300
350
190
400
244
321
330
250
190
160 260
240
After
290
331
200
395
240
300
332
242
185
158
256 220
Transcribed Image Text:6.6 Each of 12 patients went on the South Beach diet for 5 weeks. Their weights before and after the diet are listed here. Perform a paired t-test comparing before and after values. Analyze these data as if the values were not paired. How do the p-values compare? Note: If you want to make this problem easier, read in the data by subject, with the before and after values. If you would like a challenge, read in all of the before values (perhaps into an array) and then all the after values, and create the data set with each observation having a subject number and the before and after scores. Subject 1 2 3 4 5 6 7 8 9 10 11 12 Before 300 350 190 400 244 321 330 250 190 160 260 240 After 290 331 200 395 240 300 332 242 185 158 256 220
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL