Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the...

16
Chong Ho (Alex) Yu

Transcript of Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the...

Page 1: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Chong Ho (Alex) Yu

Page 2: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

One-sample z-test and one-sample t-testTest the sample mean against the population mean

To see whether there is a big gap between the sample and the populationTo see whether the sample comes from or belongs to the population.

Seldom used. Why?

Page 3: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Enter the population mean and SD to do the z-testEnter the mean only to do the t-test.But if you already know about the population, then you don’t need statistics.Usually you don’t know!

Page 4: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.
Page 5: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

You need two independent groups e.g. boys and girls.Test whether there is a performance gap between boys and girls

Page 6: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

T-test is a test to get the t-ratio.The difference between two means based on the standard deviation.Virtually any comparison test is about looking at the difference adjusted by a common standardOtherwise, it will be comparing apples and oranges!

Page 7: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Spot outliers using the boxplot

Page 8: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

What are these?Standard errorUpper and Lower CLP value

Page 9: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

In experiments we want to have two comparable groups; we want to reduce bias.We will divide the class into two groupsBut the two groups must be equivalent or symmetricali.e. the same numbers of two genders; the same numbers of different races; the same numbers of different SES, religion…etc.Can you do that?

Page 10: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Also known as 2 correlated sample t-testPaired t-testWhen you have no control group…You are your own control. The person that is most similar to you is: YOURSELF!

Page 11: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Spot ceiling or floor effects

Page 12: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.
Page 13: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.
Page 14: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.
Page 15: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Download the data set “between within” from Chapter 14 folder.Run a 2-sample independent t-test.Spot and exclude outliers, if there is any.Use the midterm as the DVUse sex (gender) as the IVReport the confidence intervals, the t-ratio and the p valueIs there any performance gap between boys and girls?

Page 16: Chong Ho (Alex) Yu. One-sample z-test and one-sample t-test Test the sample mean against the population mean To see whether there is a big gap between.

Use the same data setRun a paired t-testUse test and midterm as the variablesSpot and exclude students that show floor or ceiling effects, if there is any.Report the confidence intervals, the t-ratio and the p valueIs there any significant change/growth between the pretest and the midterm?