Syntax
=ZTEST(array, x, [sigma])Arguments
| Argument | Required | Description |
|---|---|---|
array | Required | The data |
x | Required | The value to test |
sigma | Optional | The 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 Related compatibility functions
- RANKReturns the rank of a number in a list (older name of RANK.EQ).
- STDEVEstimates the standard deviation from a sample (older name of STDEV.S).
- STDEVPReturns the population standard deviation (older name of STDEV.P).
- TDISTReturns the one or two tailed Student's t distribution (older form of T.DIST.RT and T.DIST.2T).
- TINVReturns the two tailed inverse of the Student's t distribution (older name of T.INV.2T).
- TTESTReturns the probability of a Student's t test (older name of T.TEST).
- VAREstimates the variance from a sample (older name of VAR.S).
- VARPReturns the population variance (older name of VAR.P).
- WEIBULLReturns the Weibull distribution (older name of WEIBULL.DIST).