Grouped Data
Study guides: Exam FAM, Exam ACIA-CAPSTONE
Grouped Data record each observation only by the interval it fell in: the data are the boundaries c_0 < c_1 < \cdots < c_k and the number of observations n_j in each interval (c_{j-1}, c_j]. Individual data, by contrast, record the exact value of each observation. Either kind is complete when no observation is truncated or censored.
Maximum likelihood handles grouped data by giving each interval the probability that the model assigns to it, so the likelihood is
L(\theta) = \prod_{j=1}^{k}\big[F(c_j \mid \theta) - F(c_{j-1} \mid \theta)\big]^{n_j}
F(x \mid \theta)is the model's distribution function.- An open last interval has
c_k = \inftyandF(\infty \mid \theta) = 1, so it contributesS(c_{k-1} \mid \theta)^{n_k}.
For individual data the likelihood is \prod_{i=1}^{n} f(x_i \mid \theta), in which each exact value contributes its density. Grouped data say nothing about where in its interval each value fell, so grouping is a form of interval censoring. A likelihood can mix individual values, grouped counts and censored claims, each record contributing its own term.
The grouped likelihood usually has to be maximised numerically. For the exponential with equally spaced boundaries, every term is a power of p = e^{-h/\theta}, where h is the spacing, and a likelihood of the form (1-p)^a\,p^b is maximised at p = b/(a+b). With only two groups, the maximum sets F(c_1 \mid \theta) = n_1/n for any one-parameter model that can reach it.
What is the maximum likelihood exponential fit to these claims counted by size band? A claims system reports 100 claims only by size band: 60 at or below
\$1{,}000, 25 between\$1{,}000and\$2{,}000, and 15 above\$2{,}000.Answer
- Write
p = e^{-1{,}000/\theta}, so that the three bands have probabilities1 - p,p(1 - p)andp^2.L = (1 - p)^{60}\,\big[p(1 - p)\big]^{25}\,\big(p^2\big)^{15} = (1 - p)^{85}\,p^{55}.- Setting the derivative of
85\ln(1 - p) + 55\ln pto 0 givesp = 55/140 = 0.39286.\hat\theta = -1{,}000/\ln 0.39286 = 1{,}000/0.93431 = 1{,}070.31.- The fitted model puts 60.7%, 23.9% and 15.4% of claims in the three bands, close to the observed 60%, 25% and 15%.
Using the density for a grouped observation A grouped observation contributes the probability of its interval,
F(c_j) - F(c_{j-1}). Using the density at the interval's midpoint treats the data as individual and gives a different estimate.
Histogram and ogive
With n = \sum n_j observations, the histogram is
f_n(x) = \frac{n_j}{n\,(c_j - c_{j-1})}, \quad c_{j-1} \le x < c_j
The histogram f_n is constant on each interval, with total area 1. The ogive F_n, its integral, is
F_n(x) = F_n(c_{j-1}) + (x - c_{j-1})\,f_n(x)
The ogive joins the empirical distribution function at the boundaries with straight lines, which assumes that the observations are spread evenly within each interval. Neither is defined on an open last interval.
What are
f_(800),F_(800)and the ogive's estimate of\Pr(X > 1500)for these claims? One hundred claims are grouped as follows:
Interval Claims (0, 500]30 (500, 1{,}000]35 (1{,}000, 2{,}500]25 (2{,}500, 5{,}000]10 Answer
- At the boundaries,
F_{100}(500) = 0.30,F_{100}(1{,}000) = 0.65andF_{100}(2{,}500) = 0.90.f_{100}(800) = \frac{35}{100(500)} = 0.0007.F_{100}(800) = 0.30 + 300(0.0007) = 0.51.F_{100}(1{,}500) = 0.65 + \frac{500}{1{,}500}(0.25) = 0.7333.- The estimate of
\Pr(X > 1{,}500)is1 - 0.7333 = 0.2667.