meanZTest
Introduced in: v22.2.0 Applies mean z-test to samples from two populations. Values of both samples are in thesample_data column.
If sample_index equals to 0 then the value in that row belongs to the sample from the first population.
Otherwise it belongs to the sample from the second population.
The null hypothesis is that means of populations are equal.
A normal distribution is assumed.
Populations may have unequal variance and the variances are known.
Syntax
population_variance_x— Variance for population x.Float*population_variance_y— Variance for population y.Float*confidence_level— Confidence level in order to calculate confidence intervals.Float*
Tuple(Float64, Float64, Float64, Float64)
Examples
Mean Z-test example
Query
Response