Gw mau tau where dari Uji kuadrat-chi Pearson. Jelasin dalam bahasa sunda

= an expected (theoretical) frequency, asserted by the null hypothesis;

= the number of possible outcomes of each event.

Péarson's chi-square is used to assess two types of comparison: tests of goodness of fit and tests of independence.  A test of goodness of fit establishes whether or not an observed frequency distribution differs from a théoretical distribution.  A test of independence assesses whether paired observations on two variables, expressed in a contingency table, are independent of éach other – for example, whether péople from different regions differ in the frequency with which they report that they support a political candidate.

A chi-square probability of 0.05 or less is commonly interpreted by applied workers as justification for rejecting the null hypothesis that the row variable is unrelated (that is, only randomly related) to the column variable. The alternate hypothesis is not rejected when the variables have an associated relationship.