1. Home
  2. Functions
  3. Compatibility
  4. ZTEST
CompatibilityCompatibility

ZTEST function

Returns the one tailed probability of a z test (older name of Z.TEST).

Syntax

=ZTEST(array, x, [sigma])

Arguments

ArgumentRequiredDescription
arrayRequiredThe data
xRequiredThe value to test
sigmaOptionalThe population standard deviation (the sample standard deviation when left out)

How to use ZTEST

ZTEST is kept so older workbooks keep working. It calculates the same way as Z.TEST, which is the name to use in new formulas.

ZTEST takes 2 required arguments and 1 optional argument. Type =ZTEST( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=ZTEST({3,6,7,8,6,5,4,2,1,9}, 4)Result 0.090574197

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.