Вы находитесь на странице: 1из 3

Returns the one-tailed probability-value of a z-test.

For a given hypothesized population mean, 0, ZTET


returns the probability that the sample mean !ould be greater than the average of observations in the data
set "array# $ that is, the observed sample mean.
To see ho! ZTET %an be used in a formula to %ompute a t!o-tailed probability value, see &Remar's&
belo!.
Syntax
ZTEST"array,0,sigma#
Array is the array or range of data against !hi%h to test 0
0 is the value to test.
Sigma is the population "'no!n# standard deviation. (f omitted, the sample standard deviation is used.
Remarks
(f array is empty, ZTET returns the )*+, error value.
ZTET is %al%ulated as follo!s !hen sigma is not omitted-
or !hen sigma is omitted-
!here . is the sample mean ,/ER,0E"array#1 s is the sample standard deviation T2E/"array#1 and
n is the number of observations in the sample 345*T"array#.
ZTET represents the probability that the sample mean !ould be greater than the observed
value ,/ER,0E"array#, !hen the underlying population mean is 0. From the symmetry of the *ormal
distribution, if ,/ER,0E"array# 6 0, ZTET !ill return a value greater than 0.7.
The follo!ing E.%el formula %an be used to %al%ulate the t!o-tailed probability that the sample
mean !ould be further from 0 "in either dire%tion# than ,/ER,0E"array#, !hen the underlying
population mean is 0-
89 : ;(*"ZTET"array,0,sigma
Example
The e.ample may be easier to understand if you %opy it to a blan' !or'sheet.
<o! to %opy an e.ample
=. 3reate a blan' !or'boo' or !or'sheet.
9. ele%t the e.ample in the <elp topi%.
Note 2o not sele%t the ro! or %olumn headers.
ele%ting an e.ample from <elp
>. ?ress 3TR@A3.
B. (n the !or'sheet, sele%t %ell ,=, and press 3TR@A/.
7. To s!it%h bet!een vie!ing the results and vie!ing the formulas that return the results, press
3TR@AC "grave a%%ent#, or on the Tools menu, point to Formula Auditing, and then %li%' Formula
Auditing Mode.

1
2
3
4
A
Data
3
6
7
5
6
7
8
9
10
11
8
6
5
4
2
1
9
Formula Description (Result)
=ZTEST(A2:A11,4) One-tailed pr!a!ilit"-#al$e % a &-te't %r t(e data 'et
a!#e, at t(e ("pt(e'i&ed pp$latin )ean % 4
(*+*9*574)
=2 , -./(ZTEST(A2:A11,4), 1 -
ZTEST(A2:A11,4))
T0-tailed pr!a!ilit"-#al$e % a &-te't %r t(e data 'et
a!#e, at t(e ("pt(e'i&ed pp$latin )ean % 4
(*+181148)
=ZTEST(A2:A11,6) One-tailed pr!a!ilit"-#al$e % a &-te't %r t(e data 'et
a!#e, at t(e ("pt(e'i&ed pp$latin )ean % 6
(*+863*43)
=2 , -./(ZTEST(A2:A11,6), 1 -
ZTEST(A2:A11,6))
T0-tailed pr!a!ilit"-#al$e % a &-te't %r t(e data 'et
a!#e, at t(e ("pt(e'i&ed pp$latin )ean % 6
(*+273913)

Вам также может понравиться