digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

A Z-test is any statistical test for which the distribution of the test statistic under the null hypothesis can be approximated by a normal distribution. Because of the central limit theorem, many test statistics are approximately normally distributed for large samples. For each significance level, the Z-test has a single critical value (for example, 1.96 for 5% two tailed) which makes it more convenient than the Student's t-test which has separate critical values for each sample size. Therefore, many statistical tests can be conveniently performed as approximate Z-tests if the sample size is large or the population variance known. If the population variance is unknown (and therefore has to be estimated from the sample itself) and the sample size is not large (n < 30), the Student t-test may be more appropriate.

If T is a statistic that is approximately normally distributed under the null hypothesis, the next step in performing a Z-test is to estimate the expected value θ of T under the null hypothesis, and then obtain an estimate s of the standard deviation of T. We then calculate the standard score Z = (T − θ) / s, from which one-tailed and two-tailed p-values can be calculated as Φ(−Z) (for upper-tailed tests), Φ(Z) (for lower-tailed tests) and 2Φ(−|Z|) (for two-tailed tests) where Φ is the standard normal cumulative distribution function.

Contents

Use in location testing[edit]

The term Z-test is often used to refer specifically to the one-sample location test comparing the mean of a set of measurements to a given constant. If the observed data X1, ..., Xn are (i) uncorrelated, (ii) have a common mean μ, and (iii) have a common variance σ2, then the sample average X has mean μ and variance σ2 / n. If our null hypothesis is that the mean value of the population is a given number μ0, we can use X −μ0 as a test-statistic, rejecting the null hypothesis if X −μ0 is large.

To calculate the standardized statistic Z = (X  −  μ0) / s, we need to either know or have an approximate value for σ2, from which we can calculate s2 = σ2 / n. In some applications, σ2 is known, but this is uncommon. If the sample size is moderate or large, we can substitute the sample variance for σ2, giving a plug-in test. The resulting test will not be an exact Z-test since the uncertainty in the sample variance is not accounted for — however, it will be a good approximation unless the sample size is small. A t-test can be used to account for the uncertainty in the sample variance when the sample size is small and the data are exactly normal. There is no universal constant at which the sample size is generally considered large enough to justify use of the plug-in test. Typical rules of thumb range from 20 to 50 samples. For larger sample sizes, the t-test procedure gives almost identical p-values as the Z-test procedure.

Other location tests that can be performed as Z-tests are the two-sample location test and the paired difference test.

Conditions[edit]

For the Z-test to be applicable, certain conditions must be met.

  • Nuisance parameters should be known, or estimated with high accuracy (an example of a nuisance parameter would be the standard deviation in a one-sample location test). Z-tests focus on a single parameter, and treat all other unknown parameters as being fixed at their true values. In practice, due to Slutsky's theorem, "plugging in" consistent estimates of nuisance parameters can be justified. However if the sample size is not large enough for these estimates to be reasonably accurate, the Z-test may not perform well.
  • The test statistic should follow a normal distribution. Generally, one appeals to the central limit theorem to justify assuming that a test statistic varies normally. There is a great deal of statistical research on the question of when a test statistic varies approximately normally. If the variation of the test statistic is strongly non-normal, a Z-test should not be used.

If estimates of nuisance parameters are plugged in as discussed above, it is important to use estimates appropriate for the way the data were sampled. In the special case of Z-tests for the one or two sample location problem, the usual sample standard deviation is only appropriate if the data were collected as an independent sample.

In some situations, it is possible to devise a test that properly accounts for the variation in plug-in estimates of nuisance parameters. In the case of one and two sample location problems, a t-test does this.

Example[edit]

Suppose that in a particular geographic region, the mean and standard deviation of scores on a reading test are 100 points, and 12 points, respectively. Our interest is in the scores of 55 students in a particular school who received a mean score of 96. We can ask whether this mean score is significantly lower than the regional mean — that is, are the students in this school comparable to a simple random sample of 55 students from the region as a whole, or are their scores surprisingly low?

We begin by calculating the standard error of the mean:

\mathrm{SE} = \frac{\sigma}{\sqrt n} = \frac{12}{\sqrt{55}} = \frac{12}{7.42} = 1.62 \,\!

Next we calculate the z-score, which is the distance from the sample mean to the population mean in units of the standard error:

z = \frac{M - \mu}{\mathrm{SE}} = \frac{96 - 100}{1.62} = -2.47 \,\!

In this example, we treat the population mean and variance as known, which would be appropriate either if all students in the region were tested, or if a large random sample were used to estimate the population mean and variance with minimal estimation error.

The classroom mean score is 96, which is −2.47 standard error units from the population mean of 100. Looking up the z-score in a table of the standard normal distribution, we find that the probability of observing a standard normal value below -2.47 is approximately 0.5 - 0.4932 = 0.0068. This is the one-sided p-value for the null hypothesis that the 55 students are comparable to a simple random sample from the population of all test-takers. The two-sided p-value is approximately 0.014 (twice the one-sided p-value).

Another way of stating things is that with probability 1 − 0.014 = 0.986, a simple random sample of 55 students would have a mean test score within 4 units of the population mean. We could also say that with 98.6% confidence we reject the null hypothesis that the 55 test takers are comparable to a simple random sample from the population of test-takers.

The Z-test tells us that the 55 students of interest have an unusually low mean test score compared to most simple random samples of similar size from the population of test-takers. A deficiency of this analysis is that it does not consider whether the effect size of 4 points is meaningful. If instead of a classroom, we considered a subregion containing 900 students whose mean score was 99, nearly the same z-score and p-value would be observed. This shows that if the sample size is large enough, very small differences from the null value can be highly statistically significant. See statistical hypothesis testing for further discussion of this issue.

Z-tests other than location tests[edit]

Location tests are the most familiar t-tests. Another class of Z-tests arises in maximum likelihood estimation of the parameters in a parametric statistical model. Maximum likelihood estimates are approximately normal under certain conditions, and their asymptotic variance can be calculated in terms of the Fisher information. The maximum likelihood estimate divided by its standard error can be used as a test statistic for the null hypothesis that the population value of the parameter equals zero. More generally, if \hat{\theta} is the maximum likelihood estimate of a parameter θ, and θ0 is the value of θ under the null hypothesis,


(\hat{\theta}-\theta_0)/{\rm SE}(\hat{\theta})

can be used as a Z-test statistic.

When using a Z-test for maximum likelihood estimates, it is important to be aware that the normal approximation may be poor if the sample size is not sufficiently large. Although there is no simple, universal rule stating how large the sample size must be to use a Z-test, simulation can give a good idea as to whether a Z-test is appropriate in a given situation.

Z-tests are employed whenever it can be argued that a test statistic follows a normal distribution under the null hypothesis of interest. Many non-parametric test statistics, such as U statistics, are approximately normal for large enough sample sizes, and hence are often performed as Z-tests.

See also[edit]

References[edit]

  • Sprinthall, Richard C. Basic Statistical Analysis: Seventh Edition, copyright 2003, Pearson Education Group

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Z-test — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
1000000 videos foundNext > 

The Z test

A brief explanation of how to complete a 1 sided z-test. In this video I show a four step procedure, including calculation of the z statistic and finally the...

Z Test for the Mean

Supplemental Instruction Video for Elementary Statistics.

One Sample z-Test

statisticslectures.com - where you can find free lectures, videos, and exercises, as well as get your questions answered on our forums!

Intro to stats - the Z test and t test.wmv

Introduction to statistics - Z test and t test. Not finished yet.

z test p-value approach

Describes the 6 steps of the z-test hypothesis test using the p-value appoach.

Hypothesis testing: one-/two-tailed z-test

A quick and informal introduction to the notion of statistical hypothesis testing. A basic knowledge of probability, expected value and standard deviation is...

Sony Xperia Z - Knife Screen Scratch Test

Today I will do a video with the Sony Xperia Z. Pricing and Availability: http://goo.gl/me7sE Sony Xperia Z Secrets Exposed: http://www.youtube.com/watch?v=O...

Sony Xperia Z - Put to The Test!

Follow us on twitter! bit.ly/WDMopZ @StuvProductions Sony Xperia Z is Sony's new completely waterproof phone, and we put it to the test Stuv style! Thanks fr...

Sony Xperia Z - Acid Test

We dip a Sony Xperia Z into a bath of sulphuric acid to see if it can handle more than water. Happy April 1st!

stats Z test and t test

Objective is to understand why Z tests are used for teaching purposes, but t tests are what get used in practice.

1000000 videos foundNext > 

494 news items

 
USA TODAY
Tue, 04 Jun 2013 15:55:56 -0700

Don't try this with your iPad. I took a tablet computer and submerged it in a bowl of water for several minutes. I then poured more liquid onto it from a pitcher. Later I gave the machine a cold shower. There were no ill effects after each dousing. I ...
 
netzwelt.de
Thu, 13 Jun 2013 07:05:25 -0700

Dem Xperia Tablet Z sieht man seine Nehmerqualitäten nicht an. Ganz im Gegenteil - es gehört mit zu den elegantesten derzeit erhältlichen Android-Tablets überhaupt. Es ist flach, die Front schützt ein durchgängiges Glas. Nebenbei lässt es sich auch als ...
 
Frandroid
Wed, 05 Jun 2013 02:58:11 -0700

Xperia Z : Test de son autonomie. marie le 05 juin 2013 à 11:55 Tests 2 Commentaires. L'autonomie, un sujet crucial que j'ai d'ailleurs déjà abordé sur mon blog, est aujourd'hui à nouveau au centre de mes préoccupations avec le smartphone que j'ai en ...
 
Lab Manager Laboratory News
Thu, 23 May 2013 07:10:53 -0700

Sandia Pulsed Power Sciences Center director Keith Matzen, asked by the National Nuclear Security Administration to host the hour-long tour, answered Kaneko's question of how much plutonium was involved in a Z test shot by pulling a nickel from his ...

Chip Online

Chip Online
Thu, 23 May 2013 05:13:51 -0700

88,9. Asus Fonepad 16GB · 5. Asus Fonepad 16GB. Betriebssystem: Android 4.1.2. Testbericht · ab 225 €. Preis/Leistung. 100. Gesamtwertung. 84,6. Zur gesamten Bestenliste · Video: Sony Xperia Tablet Z - Test · Play Video · Günstig kaufen: Sony Xperia Z ...

Yahoo!7 News

Yahoo!7 News
Sun, 19 May 2013 18:49:01 -0700

LONDON (AFP) - Stuart Broad bowled England into a winning position with five wickets as New Zealand suffered a dramatic top-order collapse in the first Test at Lord's on Sunday. At lunch, New Zealand had slumped to 29 for six in their second innings ...

Posta

Posta
Fri, 24 May 2013 07:39:37 -0700

Sony'nin Barcelona'da yapılan MWC(Mobile World Congress)'de tanıttığı son amiral gemisi tablet, Xperia Tablet Z, test merkezimize konuk oldu. Her ne kadar bir ön-üretim modeli de olsa, tabletin ilk performans ölçümlerini yapma şansı bulduk. Şık ...
 
MainStreet
Wed, 22 May 2013 13:22:04 -0700

The calculation is based on a Z-test distribution so someone that has 80 correct recommendations out of a 100 is much better than someone who has 8 out 10. 2. The average return on buy/sell recommendations. 3. The analyst's total ranking compared to ...
Loading

Oops, we seem to be having trouble contacting Twitter

Talk About Z-test

You can talk about Z-test with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!