1 / 25

The T-Test for Two Related Samples (Dependent Samples)

The T-Test for Two Related Samples (Dependent Samples). Introduction to Statistics Chapter 11 March 31, 2009 Class #20. Beyond the one-sample t test. Are people happier before or after therapy? In married couples, is the husband or wife happier?

arleen
Download Presentation

The T-Test for Two Related Samples (Dependent Samples)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The T-Test for Two Related Samples (Dependent Samples) Introduction to Statistics Chapter 11 March 31, 2009 Class #20

  2. Beyond the one-sample t test • Are people happier before or after therapy? • In married couples, is the husband or wife happier? • Among people with the same IQ, is performance higher on multiple choice or essay exams?

  3. How to do this? • For each person or pair of people, create difference score • Ignore the original scores • Calculate a t, comparing the mean of difference scores to 0 • df = number of pairs -1

  4. The t Test for Dependent Samples • Repeated-Measures Design • When you have two sets of scores from the same person in your sample, you have a repeated-measures, or within-subjects design

  5. The t Test for Dependent Samples • Related-Measures Design • When each score in one sample is paired, on a one-to-one basis, with a single score in the other sample, you have a related-measures or matched samples design. • You use a related-measures design by matching pairs of different subjects in terms of some uncontrolled variable that appears to have a considerable impact on the dependent variable.

  6. The t Test for Dependent Samples • You do a t test for dependent samples the same way you do a t test for a single sample, except that: • You use difference scores • You assume the population mean is 0 • See formulas on page 292

  7. Difference Scores • The way to handle two scores per person, or a matched pair, is to make difference scores. • For each person, or each pair, you subtract one score from the other. • Once you have a difference score for each person, or pair, in the study, you treat the study as if there were a single sample of scores (scores that in this situation happen to be difference scores).

  8. A Population of Difference Scores with a Mean of 0 • The null hypothesis in a repeated-measures design is that on the average there is no difference between the two groups of scores. • This is the same as saying that the mean of the population of the difference scores is 0.

  9. The t Test for Dependent Samples: Example 1

  10. Step 1 • State the statistical hypotheses:

  11. Step 2 • Set  and locate the critical region.

  12. Step 3: Shade in critical region

  13. Step 4: Calculate the t statistic

  14. Step 4: Calculate the t statistic • Calculate the sample mean of the difference scores • -16 8 = - 2.00

  15. Step 4: Calculate the t statistic • Calculate the sample variance (see page 292 for formula) • s2 = SS/df = SS/(n-1) • First you need to calculate the SS (use computational formula from page 93) • SS = 42 – 162 = 42- 256 = 42-32=10 8 8

  16. Step 4: Calculate the t statistic • Then you plug numbers into variance formula: • s2 = SS/df = SS/(n-1) = 10/7 = 1.42

  17. Step 4: Calculate the t statistic • Now compute the estimated standard error (see formula on page 292) s2 sMD = • estimated standard error= n

  18. Step 4: Calculate the t statistic • estimated standard error= 1.42 = .421 8

  19. Step 4: Calculate the t statistic • See new t formula (page 292) • t = 2 - 0 = 4.750 .421

  20. Step 5: Your decision • Make a decision – compare t computed in Step 3 (tOBTAINED) with tCRITICAL found in the t table. • If tOBT > tCRIT (ignoring signs)  Reject HO • If tOBT < tCRIT (ignoring signs)  Fail to reject HO • t obtained = 4.750 • t critical = + 2.365 • Answer: Reject HO • Interpret your results. • After the pro-socialized medicine lecture, individuals’ attitudes toward socialized were significantly different (more positive) than before the lecture.

  21. The t Test for Dependent Samples: Example 2 At the Olympic level of competition, even the smallest factors can make the difference between winning and losing. For example, Pelton (1983) has shown that Olympic marksmen shoot much better if they fire between heartbeats, rather than squeezing the trigger during a heartbeat. The small vibration caused by a heartbeat seems to be sufficient to affect the marksman’s aim. The following hypothetical data demonstrate this phenomenon. A sample of 6 Olympic marksmen fires a series of rounds while a researcher records heartbeats. For each marksman, an accuracy score (out of 100) is recorded for shots fired during heartbeats and for shots fired between heartbeats. Do the data indicate a significant difference? Test with an alpha of .05. During Heartbeats Between Heartbeats 93 98 90 94 95 96 92 91 95 97 91 97

  22. Go through the same five steps as in Example 1

  23. Step 3: Shade in critical region

  24. Issues with Repeated Measures Designs • Order effects. • Use counterbalancing in order to eliminate any potential bias in favor of one condition because most subjects happen to experience it first (order effects). • Randomly assign half of the subjects to experience the two conditions in a particular order. • Practice effects. • Do not repeat measurement if effects linger.

  25. Credits • http://myweb.liu.edu/~nfrye/psy53/ch11.ppt • http://psy.ucsd.edu/~sky/Psyc%2060%20t%20Tests.ppt#2

More Related