Top Banner
PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t- Test Chapter 15 -- Dependent Sample t-Test
26

PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

PSY 307 – Statistics for the Behavioral Sciences

Chapter 13 – Single Sample t-TestChapter 15 -- Dependent Sample t-Test

Page 2: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Midterm 2 Results

Score Grade N

52-62 A 6

46-51 B 6

40-45 C 4

34-39 D 5

0-33 F 2

The top score on the exam and for the curve was 58 – 4 people were close to it.

Page 3: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Student’s t-Test

William Sealy Gossett published under the name “Student” but was a chemist and executive at Guiness Brewery until 1935.

Page 4: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

What is the t Distribution?

The t distribution is the shape of the sampling distribution when n < 30.

The shape changes slightly depending on the number of subjects.

The degrees of freedom (df) tell you which t distribution should be used to test your hypothesis: df = n - 1

Page 5: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Comparison to Normal Distribution

Both are symmetrical, unimodal, and bell-shaped.

When df are infinite, the t distribution is the normal distribution.

When df are greater than 30, the t distribution closely approximates it.

When df are less than 30, higher frequencies occur in the tails for t.

Page 6: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

The Shape Varies with the df (k)

Smaller df produce larger tails

Page 7: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Comparison of t Distribution and Normal Distribution for df=4

Page 8: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Finding Critical Values of t

Use the t-table NOT the z-table. Calculate the degrees of freedom. Select the significance level

(.05, .01). Look in the column corresponding to

the df and the significance level. If t is greater than the critical value,

then the result is significant (reject the null hypothesis).

Page 9: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Link to t-Tables

http://www.statsoft.com/textbook/sttable.html

Page 10: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Calculating t

The formula for t is the same as that for z except the standard deviation is estimated – not known.

Sample standard deviation (s) is calculated using (n – 1) in the denominator, not n.

Page 11: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Confidence Intervals for t

Use the same formula as for z but: Substitute the t value (from the t-table)

in place of z. Substitute the estimated standard error

of the mean in place of the calculated standard error of the mean.

Mean ± (tconf)(sx)

Get tconf from the t-table by selecting the df and confidence level

Page 12: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Assumptions

Use t whenever the standard deviation is unknown.

The t test assumes the underlying population is normal.

The t test will produce valid results with non-normal underlying populations when sample size > 10.

Page 13: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Deciding between t and z

Use z when the population is normal and is known (e.g., given in the problem). Use t when the population is normal but

is unknown (use s in place of ). If the population is not normal,

consider the sample size. Use either t or z if n > 30 (see above). If n < 30, not enough is known.

Page 14: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

What are Degrees of Freedom?

Degrees of freedom (df) are the number of values free to vary given some mathematical restriction.

Example – if a set of numbers must add up to a specific toal, df are the number of values that can vary and still produce that total.

In calculating s (std dev), one df is used up calculating the mean.

Page 15: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Example

What number must X be to make the total 20?

5 10010 200 7 300 X X20 20

Free to vary

Limited by the constraint that the sum of all the numbers must be 20

So there are 3 degrees of freedom in this example.

Page 16: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

A More Accurate Estimate of

When calculating s for inferential statistics (but not descriptive), an adjustment is made.

One degree of freedom is used up calculating the mean in the numerator.

One degree of freedom must also be subtracted in the denominator to accurately describe variability.

Page 17: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Within Subjects Designs

Two t-tests, depending on design: t-test for independent groups is for

Between Subjects designs. t-test for paired samples is for Within

Subjects designs. Dependent samples are also called:

Paired samples Repeated measures Matched samples

Page 18: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Examples of Paired Samples

Within subject designs Pre-test/post-test Matched-pairs

Page 19: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Independent samples – separate groups

Page 20: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Dependent Samples

Each observation in one sample is paired one-to-one with a single observation in the other sample.

Difference score (D) – the difference between each pair of scores in the two paired samples.

Hypotheses: H0: D = 0 D ≤ 0 H1: D ≠ 0 D > 0

Page 21: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Repeated Measures

A special kind of matching where the same subject is measured more than once.

This kind of matching reduces variability due to individual differences.

Page 22: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Calculating t for Matched Samples

Except that D is used in place of X, the formula for calculating the t statistic is the same.

The standard error of the sampling distribution of D is used in the formula for t.

Page 23: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Degrees of Freedom

Subtracting values for two groups gives a single difference score.

The differences, not the original values, are used in the t calculation, so degrees of freedom = n-1.

Because observations are paired, the number of subjects in each group is the same.

Page 24: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Confidence Interval for D

Substitute mean of D for mean of X. Use the tconf value that corresponds

to the degrees of freedom (n-1) and the desired level (e.g., 95%= .05 two tailed).

Use the standard deviation for the difference scores, sD. Mean D ± (tconf)(sD)

Page 25: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

When to Match Samples

Matching reduces degrees of freedom – the df are for the pair, not for individual subjects.

Matching may reduce generality of the conclusion by restricting results to the matching criterion.

Matching is appropriate only when an uncontrolled variable has a big impact on results.

Page 26: PSY 307 – Statistics for the Behavioral Sciences Chapter 13 – Single Sample t-Test Chapter 15 -- Dependent Sample t- Test.

Deciding Which t-Test to Use

How many samples are there? Just one group -- treat as a population. One sample plus a population is not two

samples. If there are two samples, are the

observations paired? Do the same subjects appear in both

conditions (same people tested twice)? Are pairs of subjects matched (twins)?