Z.TEST()/ZTEST()

Syntax. Z.TEST(array,μ0,sigma)

Definition. This function returns the one-tailed probability value for a Gauss test (normal distribution). For the expected value of a random variable (μ0), the Z.TEST() function returns the probability that the sample mean would be greater than the average of observations in the data set (array)—that is, the observed sample mean.

Arguments

  • array (required). The array or range of data against which to test μ0.

  • μ0 (required). The value to test.

  • sigma (optional). The known standard deviation of the population. If this argument is not specified, the standard deviation of the sample is used.

Note

If array is empty, the Z.TEST() function returns the #N/A error.

Z.TEST() is calculated as follows when sigma is specified:

image with no caption

or when sigma is omitted:

image with no caption

where:

  • x is the sample mean AVERAGE(array).

  • s is the sample standard deviation STDEV.S(array).

  • n is the number of observations in the sample COUNT(array).

Z.TEST() indicates the probability that the sample mean is greater than the observed value AVERAGE(array) when the underlying expected value of a random variable is μ0.

Because of the symmetry of the normal distribution, if AVERAGE(array) is smaller than μ0, Z.TEST() returns a value greater than 0.5.

The following Excel formula can be used to calculate the two-tailed probability that the sample mean is further from μ0 (in either direction) than AVERAGE(array) when the underlying expected value of a random variable is μ0:

=2 * MIN(Z.TEST(array,μ0,sigma), 1 – Z.TEST(array,μ0,sigma))

Background. The Gaussian test (named after the mathematician Carl Friedrich Gauss) is a statistical test based on the standard normal distribution. This test is used to examine the significance of a value from a normal distributed population where the expected value and the standard deviation have to be known.

Example. Use the following values to calculate Z.TEST():

  • Data = the data range against which you want to test μ0

  • 4 = the value of the random variable μ0 to test

  • 6 = the value of the random variable μ0 to test

Figure 12-156 shows the calculation of Z.TEST().

Calculating Z.TEST().

Figure 12-156. Calculating Z.TEST().

The Z.TEST() function returns the one-tailed probability value for a Gaussian test by using the parameters shown in Figure 12-156. The following results were calculated:

  • For an expected value of 4 for a random variable, the result is a one-tailed probability value of 0.09057 = 9.06 percent.

  • For an expected value of 6 for a random variable, the result is a one-tailed probability value of 0.86304 = 86.30 percent.

See Also

CONFIDENCE(), NORM.DIST(), NORM.INV(), NORM.S.DIST(), NORM.S.INV(), STANDARDIZE()

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.27.74