credibility.BuhlmannStraubFit
A fitted Bühlmann–Straub model, from buhlmann_straub.
Usage
credibility.BuhlmannStraubFit()Attributes
| Name | Description |
|---|---|
| between_variance | The between-group variance a (may be negative; the factors are |
| collective_mean | The credibility-weighted collective mean. |
| credibility | Each group’s credibility factor. |
| group_means | Each group’s weighted mean. |
| group_weights | Each group’s total weight. |
| iterations | Iterations of the iterative estimator (0 for the unbiased one). |
| k |
Bühlmann’s k = s2 / a (inf when a <= 0).
|
| premiums | Each group’s credibility premium. |
| within_variance |
The within-group variance s2.
|
between_variance
The between-group variance a (may be negative; the factors are
between_variance: float
then 0).
collective_mean
The credibility-weighted collective mean.
collective_mean: float
credibility
Each group’s credibility factor.
credibility: list[float]
group_means
Each group’s weighted mean.
group_means: list[float]
group_weights
Each group’s total weight.
group_weights: list[float]
iterations
Iterations of the iterative estimator (0 for the unbiased one).
iterations: int
k
Bühlmann’s k = s2 / a (inf when a <= 0).
k: float
within_variance
The within-group variance s2.
within_variance: float