Commit a2c235e
Add ICC feasibility guard for zero non-PSU variance
Raise ValueError when icc is set but unit_fe_sd=0, noise_sd=0, and
add_covariates=False, since the target ICC is unattainable with zero
non-PSU variance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 11d8501 commit a2c235e
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
1408 | 1414 | | |
1409 | | - | |
| 1415 | + | |
1410 | 1416 | | |
1411 | 1417 | | |
1412 | 1418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1534 | 1543 | | |
1535 | 1544 | | |
1536 | 1545 | | |
| |||
0 commit comments