Global randomization score

Test Set: {{ binomialTest.nTest }} rows
Expected Maximal Accuracy: {{ binomialTest.accuracyReference | nicePrecision : 2 }}

Propensity model

Lower
{{ binomialTest.accuracyLower | number:2 }}
Accuracy
{{ binomialTest.accuracy | number:2 }}
Upper
{{ binomialTest.accuracyUpper | number:2 }}

Lower is better

In order to detect non-randomized treatment, the propensity model is used to discriminate treated from control individuals. If the classifier has an accuracy strictly higher than the expected maximal accuracy (population ratio of the most present group among treated and control, {{ binomialTest.accuracyReference | nicePrecision : 2 }}), treatment and control data can be distinguished which implies that the treatment is not randomized.


Binomial test

Hypothesis tested Treatment randomized (accuracy <= {{ binomialTest.accuracyReference | nicePrecision: 2}})
Significance level {{ 1 - binomialTest.confidenceLevel | nicePrecision: 2 }}
p-value {{ binomialTest.pValue | nicePrecision:5 }}
Conclusion Treatment non-randomization detected Inconclusive

Binomial test explanations

The hypothesis tested is that the treatment is randomized, in which case the expected maximal propensity model accuracy is {{ binomialTest.accuracyReference | nicePrecision : 2}} (treated and control populations indistinguishable). The observed accuracy might deviate from this expectation and the Binomial test evaluates whether this deviation is statistically significant, modelling the number of correct predictions as a random variable drawn from a Binomial distribution.

The p-value is the probability to observe this particular accuracy (or larger) under the hypothesis of non-randomized treatment. If this probability is lower than the significance level (i.e. 5%), the hypothesis of treatment randomization is rejected, meaning it is unlikely for the treatment to be randomized: the treatment is considered non-randomized.

The significance level indicates the rate of falsely-detected hypothesis violations (treatment actually randomized) accepted for the test.

No propensity model was trained. You can enable treatment analysis from the Design.
A propensity model predicts the probability of being treated for each individual, to assess whether the treatment was randomly assigned.