Test for mean of a normal sample with known variance.
Perform a Z-test of the null hypothesis mean (x) == m
for a sample x from a normal distribution with unknown
mean and known std deviation s.  Under the null, the test statistic
z follows a standard normal distribution.
Name-Value pair arguments can be used to set various options.
"alpha" can be used to specify the significance level
of the test (the default value is 0.05).  "tail", can be used
to select the desired alternative hypotheses.  If the value is
"both" (default) the null is tested against the two-sided 
alternative mean (x) != m.
If it is "right" the one-sided alternative mean (x)
> m is considered.  Similarly for "left", the one-sided 
alternative mean (x) < m is considered.  
When argument x is a matrix, "dim" can be used to selection
the dimension over which to perform the test.  (The default is the 
first non-singleton dimension.)
If h is 0 the null hypothesis is accepted, if it is 1 the null hypothesis is rejected. The p-value of the test is returned in pval. A 100(1-alpha)% confidence interval is returned in ci. The test statistic value is returned in z and the z critical value in zcrit.
Package: statistics