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

Post on 21-Jan-2016

222 views 1 download

Tags:

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

Chong Ho (Alex) Yu

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?

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!

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

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!

Spot outliers using the boxplot

What are these?Standard errorUpper and Lower CLP value

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?

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!

Spot ceiling or floor effects

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?

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?