Documentation/How Tos/Calc: ZTEST function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 07:55, 15 June 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


ZTEST

Returns the result of a z-test.

Syntax:

ZTEST(data; μ σ)

data is a range or array containg a random sample from a population (population assumed to have a normal distribution).
μ is the (known) mean of the population.
σ is the (known) standard deviation of the population. If omitted, it is estimated from the sample data by STDEV(data).
ZTEST calculates the z statistic as
Calc z formula.png
and returns 1 - NORMSDIST(z).

Example:

ZTEST(A2:A20; 9; 2)

returns the result of a z-test on a smaple A2:A20 drawn from a population with known mean 9 and known standard deviation 2.

See also:

TTEST

Statistical functions

Issues:

  • The validity of this measure is not clear; see for example the draft ODFF standard 16May08, and that Excel has referred to this as both a one-tailed and a two-tailed test.
Personal tools