ZTESTM

Macro Sheets Only

Performs a two-sample z-test for means, assuming the two samples have known variances.

If this function is not available, you must install the Analysis ToolPak add-in macro.

Syntax

ZTESTM(inprng1, inprng2, outrng, labels, alpha, difference, var1, var2)
ZTESTM?(inprng1, inprng2, outrng, labels, alpha, difference, var1, var2)

Inprng1 is the input range for the first data set.

Inprng2 is the input range for the second data set.

Outrng is the first cell (the upper-left cell) in the output table or the name, as text, of a new sheet to contain the output table. If FALSE, blank, or omitted, places the output table in a new workbook.

Alpha is the confidence level for the test. If omitted, alpha is 0.05.

Difference is the hypothesized difference in means. If omitted, difference is 0.

Var1 is the variance of the first data set.

Var2 is the variance of the second data set.

Related Functions

List of Statistical Functions