1 / 14

A quick guide to The Z , t and two-sample t tests

A quick guide to The Z , t and two-sample t tests. We now have the following pieces. A probability density function that lets us estimate probabilities by looking at how far a point is from the mean. The idea of one- and two-tailed hypothesis tests.

romeo
Download Presentation

A quick guide to The Z , t and two-sample t tests

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. A quick guide to The Z, t and two-sample t tests

  2. We now have the following pieces • A probability density function that lets us estimate probabilities by looking at how far a point is from the mean. • The idea of one- and two-tailed hypothesis tests. • A method of standardizing data to have a mean of 0 and a standard deviation of 1. • The Central Limit Theorem, which gives us the standard deviation of the sample mean.

  3. Let’s put them all together • I am interested in knowing if the mean of my sample is different from some population mean • First, take the idea of the standard transformation, which gives a data series with a mean of 0 and a standard deviation of 1.

  4. Next add the Central Limit Theorem • Given the standard normal transformation, I need to have a value for the standard deviation of the standardization formula. • The Central Limit Theorem tells me that it will be

  5. So… • This • Plus • Equals • Which is the Z test

  6. To use the Z test • Look up the Z value and calculate the probability • Multiply by 2 if you are doing a two tailed test. • If the area (value of Z in table) is less than your alpha level(.05), then your Z is statistically significant. • You conclude that your sample mean is statistically significant from the population mean • You reject the null hypothesis

  7. But what if you do not have the population Standard deviation () • Use the best estimate of it that you have. • the sample standard deviation (s). • This gives you the t-test • And for the t-test, we use a different table • the t-table

  8. And what if we do not have a Population? • Then compare one sample to another, using the two sample t-test. • To do this, we substitute a sample mean for the population mean, but must use a different estimate of the standard deviation of the sampling distribution

  9. If we think the samples have different variances… • Use the unequal variance two sample t-test.

  10. Degrees of Freedom • Because we are using a sample to estimate the population standard deviation, the effectiveness of our test is affected by the size of the sample • The t-test is adjusted according to the number of “degrees of freedom” • Which in the t-test context is equal to the sample size minus 1 (n-1).

  11. If we think the samples have the same variance… • Use the equal variance two sample t-test. • Where

  12. Degrees of Freedom for 2-sample tests • Note that the degrees of freedom is different across the two tests • Equal variance test • df= n1 +n2-2 • Unequal variance test • df= complicated – real number not integer

  13. Which test to Use? • One of the fortunate properties on statistics is that the ratio of two variances will have an F distribution. • Thus with this knowledge, we can perform a simple test.

  14. Interpretation of F-test • If we find that P(F) > .05, we conclude that the variances are equal. • If we find that P(F)  .05, we conclude that the variances are unequal. • We then select the equal– or unequal-variance t-test accordingly.

More Related