one sample z-test

27

Upload: raven

Post on 07-Feb-2016

49 views

Category:

Documents


0 download

DESCRIPTION

One Sample Z-test. Convert raw scores to z-scores to test hypotheses about sample Using z-scores allows us to match z with a probability Calculate: z = (statistic – parameter)/standard error of statistic = (sample mean – population mean)/standard error of mean - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: One Sample Z-test
Page 2: One Sample Z-test
Page 3: One Sample Z-test
Page 4: One Sample Z-test
Page 5: One Sample Z-test
Page 6: One Sample Z-test
Page 7: One Sample Z-test

One Sample Z-test

• Convert raw scores to z-scores to test hypotheses about sample

• Using z-scores allows us to match z with a probability

• Calculate:

z = (statistic – parameter)/standard error of statistic = (sample mean – population mean)/standard error of mean where standard error of mean = /sqrt(n)

Page 8: One Sample Z-test

One Sample Z-test

• If the calculated Z falls outside of the “likely” zone of our distribution, we reject the null hypothesis.

• The area in the distribution that falls outside of the “likely” zone is called the “region of rejection” and is formally called --- or the probability of making a Type 1 error

• Typically is set at .05

Page 9: One Sample Z-test
Page 10: One Sample Z-test

Types of alternative hypotheses• Non-directional – “there is a difference”

– Also called “two-tailed”• Directional – “there is a difference that is

directional”– Also called “one-tailed”

• Students in CPS have a different average GRE score than OSU graduate students in general

• Students in CPS have a higher average GRE score than OSU graduate students in general

Page 11: One Sample Z-test

Types of alternative hypotheses• Students in CPS have a different average GRE

score than OSU graduate students in general• H0: =average OSU GRE

• H1: average OSU GRE

• Students in CPS have a higher average GRE score than OSU graduate students in general

• H0: =average OSU GRE

• H1:average OSU GRE

Page 12: One Sample Z-test

Two tailed hypothesis

• If we take a sample of 30 students and find their average IQ to be 106.58, we can test whether the population from which our sample came had an average IQ of 100

H0: =100 (average IQ)

H1: ≠ 100• Convert our sample mean to Z statistic(106.58-100)/2.74 = 2.4

Page 13: One Sample Z-test

Z=-2.4 Z= 2.4

Page 14: One Sample Z-test

One tailed hypothesis• If we take a sample of 30 students and find their average

IQ to be 106.58, we can test whether the population from which our sample came had an average IQ greater than 100

H0: =100 (average IQ)H1: > 100

• Convert our sample mean to Z statistic(106.58-100)/2.74 = 2.4

Page 15: One Sample Z-test

Z=2.4

Page 16: One Sample Z-test

One tailed hypothesis• If we take a sample of 30 students and find their average

IQ to be 93.42, we can test whether the population from which our sample came had an average IQ less than 100

H0: =100 (average IQ)H1: < 100

• Convert our sample mean to Z statistic(93.42-100)/2.74 = - 2.4

Page 17: One Sample Z-test

Z=-2.4

Page 18: One Sample Z-test

Steps of Hypothesis Testing

1. State Hypothesis2. Set Criterion for Rejection H0

3. Compute Test Statistic and Probability4. Make Decision

Page 19: One Sample Z-test

One-Sample T-test

• If we do not know the of the population – we can’t calculate the SE of the mean

• We can estimate it with the SD of the sample: SEmean=s/sqrt(n)

• Instead of calculating z statistic – we calculate the t-statistic

t = (statistic – parameter)/standard error of statistic = (sample mean – population mean)/standard error of mean where standard error of mean = s/sqrt(n)

Page 20: One Sample Z-test

One-Sample T-test

• After calculating t-statistic, we find associated p-value

• SPSS does this for us• T is about the same as Z in large samples.• For this class we will always use T

Page 21: One Sample Z-test

Making a decision

• We compare the calculated p-value to our preset level

• If p< reject null hypothesis• If p> fail toreject null hypothesis

Page 22: One Sample Z-test

1-tailed t-test

Page 23: One Sample Z-test

1-tailed t-test

Page 24: One Sample Z-test
Page 25: One Sample Z-test

1-tailed t-test

Page 26: One Sample Z-test
Page 27: One Sample Z-test

1-sample t-test

• As sample size increases, the results from a t-test approximate a z-test

• SPSS only does one sample t-tests