ci_onesample_z(A, std, cl)

Computes a confidence interval for the mean of sample A with a known standard deviation std and confidence level cl.
Assumes the population is normal and the sample is large.


See also ci_onesample_pro ci_onesample_zreqsize ci_onesample_t 


Example


(See NOTE below)


a=( 22 33 60 27 42 58 16 41 31 40 40 49 28 33 31 42 29 35 24 34 43 30 37 34 38 32 43 51 28 35 34 37 37 39 29 45 19 65 43 33 38 21 57 26 32 19 62 26 38 33 )

( 22 33 60 27 42 58 16 41 31 40 40 49 28 33 31 42 29 35 24 34 43 30 37 34 38 32 43 51 28 35 34 37 37 39 29 45 19 65 43 33 38 21 57 26 32 19 62 26 38 33 )


ci_onesample_z(a, 12.1, .95)


One-Sample Z-Interval Test.

Confidence interval for the mean.

Confidence level : 0.95 (95%)

Results:

m : 36.38

s : 1.7111984104714448

Interval  : (33.0261127455499, 39.7338872544501 )

Margin of error : 3.3538872544501004





NOTE: The data used in this example was taken from the textbook Introductory Statistics 6th Ed. by Neil A. Weiss with kind permission of Addison Wesly Longman, Inc. (AWL). AWL does not endorse nor it supports the Calcugator.