Commit c5e2b2a
authored
Stop considering that Geometric has a dispersion parameter (#633)
This is just incorrect. Fix tests to reflect correct degrees of freedom
and therefore AIC, BIC and standard errors.
Also avoid defining `dispersion_parameter` fallback for any distribution:
it's clearer for users to get a `MethodError` so that they have to define
the appropriate method themselves, than silently returning a wrong value.
`NegativeBinomial` will be fixed separately as it requires a deeper
refactoring of `negbin` (#624).1 parent 8976b53 commit c5e2b2a
2 files changed
+26
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
| 456 | + | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
459 | | - | |
| 460 | + | |
460 | 461 | | |
461 | | - | |
| 462 | + | |
| 463 | + | |
462 | 464 | | |
463 | 465 | | |
464 | 466 | | |
465 | | - | |
466 | | - | |
| 467 | + | |
| 468 | + | |
467 | 469 | | |
468 | 470 | | |
469 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
| 955 | + | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
959 | | - | |
960 | | - | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
965 | | - | |
966 | | - | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
967 | 972 | | |
968 | 973 | | |
969 | 974 | | |
| |||
974 | 979 | | |
975 | 980 | | |
976 | 981 | | |
977 | | - | |
978 | | - | |
979 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
980 | 986 | | |
981 | 987 | | |
982 | | - | |
983 | | - | |
984 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
985 | 991 | | |
986 | 992 | | |
987 | 993 | | |
| |||
0 commit comments