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 |
|---|
Run the simulation to fill Monte Carlo metrics and convergence.
| 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.
Formula: phi = (both * neither - A-only * B-only) / sqrt(row and column margins)
Method last reviewed