1 / 18

Hypothesis testing in the REAL world

Hypothesis testing in the REAL world. t tests: single sample repeated measures independent samples. Need for the t test . Hypothesis testing using z requires knowledge of population parameters (mean, SD) Typical psychological experiments

kostya
Download Presentation

Hypothesis testing in the REAL world

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. Hypothesis testing in the REAL world t tests: single sample repeated measures independent samples

  2. Need for the t test • Hypothesis testing using z requires knowledge of population parameters (mean, SD) • Typical psychological experiments • No knowledge of parameters • Often don’t really care • e.g. compare effects of IV manipulation in experimental and control group • Underlying population not critical • Interested in change produced by IV • Typically use ESTIMATES

  3. Estimation • Best predictor of population mean? • Sample mean • Best predictor of population SD? • Sample SD • BUT sample SD will systematically underestimate true population variability  biased estimate  bias to reject null hypothesis

  4. How do we fix it? • Adjust the formula for SD • Now we’ll call it s • n-1 • degrees of freedom • Number of scores in a sample that are free to vary • Adjust our comparison distribution

  5. The t distribution • Shape-shifter

  6. Using the t table • df • p • cutoff (critical) value • Things to note: • As df increases, critical value decreases • Related to sample size • With an infinite sized sample, what are the CVs? • n=30

  7. A sample problem: pg 232 • Conceptual and computational formuli • SPSS • Steps in hypothesis testing: hopefulness following a flood 1. Null hypothesis M(flood) = M(neutral) Alternative M(flood) not= M(neutral) • Neutral = score of 4

  8. 2. Comparison distribution use estimates from sample estimated mean sample mean estimated SD (s) s of the sampling distribution 3. Cutoff/critical value use t table with appropriate df 4. Compute t 5. Decide 6. Tell grandma

  9. A saner approach…. • Computational formula • SPSS

  10. Types of t tests • t test for single sample • Compares sample mean to known or predicted population mean (e.g. “neutral” hopefulness; no ESP baseline probability) • t test for dependent means • Compares samples (from the same people) collected before and after a given manipulation • aka – within subjects, repeated measures, paired samples • t test for independent means • Compares samples from two unique sets of people with different levels of the IV for each (EXP, control groups design)

  11. t test for dependent means • Difference between one test to the next • Role of IV • If null is true, then difference = ? • pg 238 Communication scores before and after premarital counseling • State null and alternative • Select appropriate t • Determine critical value • Compute • Decide • Tell your Babushka

  12. t test for independent means • Pooled estimate of the population SD • Weighted average of s for each sample • pg 279 Effects of writing on health • State null and alternative • Select appropriate t • Determine critical value • Compute • Decide • Tell your Nainai

  13. Let’s give it a whirl…. 1.  Siegel (1990) found that elderly people who owned dogs were less likely to pay visits to their doctors after upsetting events than those who did not own pets.  Similarly, consider the following data:  A sample of elderly dog owners is compared to a similar group of elderly persons who do not own dogs.  The researcher records the number of visits to the doctor during the past year for each person.  For the following data, is there a significant difference in the number of doctor visits between dog owners and control subjects?  Use the .05 level of significance. CONTROL GROUP:  12, 10, 6, 9, 15, 12, 14DOG OWNERS: 8, 5, 9, 4, 6 WHAT KIND OF TEST IS THIS???

  14. A psychologist tests a new drug for its painkilling effects.  Pain threshold is measured for a sample of subjects by determining the intensity (in milliamperes) of electric shock that causes discomfort.  After the initial baseline is established, subjects receive the drug and their pain thresholds are once again measured.  The data are listed below.  Do these data indicate that the drug produces a significant increase in pain tolerance?  Use a one tailed test with the .05 level of significance. PAIN THRESHOLDS (milliamperes) without drug            with drug 2.1                            3.22.3                            2.93.0                            4.62.7                            2.71.9                            3.12.1                            2.92.9                            2.92.7                            3.43.2                            5.32.5                            2.53.1                            4.9

  15. A group of students recently complained that all of the statistics classes are offered in the morning.  They claim that they "think better" later in the day and, therefore, would do better if the course was offered in the afternoon rather than in the morning.  To test this claim, the instructor scheduled the course at the 2:40 time slot one semester.  The afternoon class is given the exact same course as during prior semesters, including the same final exam.  The instructor knows that, for previous students the final exam scores had been normally distributed with a mean of 70.  The afternoon class, with 16 students enrolled, got a mean of 76 with a sample standard deviation of 8.  Did the students in the afternoon section perform significantly better? a. Test with p=.05 with a one tailed test. b. Identify the dependent and independent variables

More Related