queries:functions:chisquare

chisquare

The chisquare function calculates the chisquare significance based on the submitted values. If the chisquare test is not appropriate, it will return null.

Return Type Number
Aggregates No
Flags Significance, Chisquare

Parameters

Parameters: chisquare(totalA, successA, totalB, successB)

Name Type Description
totalA Number The total amount of samples in A.
successA Number The amount of successes (conversions) in A.
totalB Number The total amount of samples in B.
successB Number The amount of successes (conversions) in B.

Notes

Convention: If there is an experiment evaluated, by convention A represents the baseline while B represents the experiment values. It obviously works the other way around, but is easier to follow if it is always the same.

IN THIS ARTICLE