Population phi
0.000
Filter independent traits on a shared selection rule and see the selected-sample association emerge.
Population phi
0.000
Selected phi
-0.500
| Cell | Population | Selected |
|---|
Value by category
Run the simulation to fill Monte Carlo metrics and convergence.
Mean selected phi against Trial; reference at Exact selected phi
| Trial | Mean selected phi |
|---|
phi = (both * neither - A-only * B-only) / sqrt(row and column margins)
How?
The full population starts with independent binary traits. The selected sample keeps only cases where trait A or trait B is present, which removes the neither cell and can create a negative association.
Berkson's paradox is collider bias: use the causal DAG builder to trace how conditioning on a shared effect opens a non-causal path.
Formula: phi = (both * neither - A-only * B-only) / sqrt(row and column margins)
Method last reviewed