Ratio-specific internal helper. Two variants:
"fixed"(default)Premium treated as fixed (non-random). \(\mathrm{SE}(L/P) = \mathrm{SE}(L) / P\). Strictly a degenerate case of the delta method with
Var(P) = 0andCov(L,P) = 0."delta"First-order Taylor (delta method) including premium uncertainty and loss-premium correlation
rho: \(\mathrm{Var}(L/P) \approx (\mathrm{SE}(L)/P)^2 + (L \cdot \mathrm{SE}(P) / P^2)^2 - 2 \rho L \mathrm{SE}(L) \mathrm{SE}(P) / P^3\). The variance is clipped at zero before the square root (highrhocan drive the linearised estimate negative).
Not exported; called only by fit_ratio(). The "fixed" branch
encodes the actuarial assumption that earned premium is known (not
estimated), so this helper is not a generic ratio-SE utility.
Usage
.compute_ratio_se(
loss,
premium,
loss_se,
premium_se = NULL,
method = c("fixed", "delta"),
rho = 0.95
)