Throughout the package epiphy, special attention is given to stay consistent consistent with variable and parameter names. Some of the most significant names are the followings:
The aggregation parameter, θ, can be computed from the two shape parameters of the beta-binomial distribution, α and β. Note that in epiphy, θ = 1/(α + β) as in Madden, Hughes, and Bosch (2007), but this definition is not necessarily consistent with what can be found somewhere else in the literature. For example, θ = α + β in the package emdbook.
The intra-cluster correlation coefficient, ρ (Mak 1988), characterizes the spatial aggregation as the tendency for elements in a sampling unit to have the same disease status more frequently than expected on the basis of spatial randomness (Madden, Hughes, and Bosch 2007). In epiphy, ρ = θ/(θ + 1).
Functions of the two shape parameters of the beta-binomial distribution (α and β):
$$p = \frac{\alpha}{\alpha + \beta}; \theta = \frac{1}{\alpha + \beta}; \rho = \frac{1}{\alpha + \beta + 1}$$
Functions of the aggregation parameter (θ) or the intra-cluster correlation coefficient (ρ):
$$\theta = \frac{\rho}{1 - \rho}; \rho = \frac{\theta}{\theta + 1}$$
Functions of the average disease intensity (p) and the aggregation parameter (θ):
$$\alpha = \frac{p}{\theta}; \beta = \frac{1 - p}{\theta}$$
Functions of the average disease intensity (p) and the intra-cluster correlation coefficient (ρ):
$$\alpha = \frac{p(1-\rho)}{\rho}; \beta = \frac{(1 - p)(1-\rho)}{\rho}$$
There are different parametrizations of the binary form of the power law. The user should therefore be cautious when making computations and comparisons with published results. Below are reminders about definitions and relationships between these different parametrizations.
sobs2 = Vn = An[np(1 − p)]b = an[p(1 − p)]b
sobs2 = Vp = Ap[p(1 − p)/n]b = ap[p(1 − p)]b
where sobs2 stands for the observed variance. The relationships between the different binary power law parameters (Ap, ap, An, an and b) are specified in the following relationship tables. Note that Vn = n2Vp.
Full version.
Ap | ap | An | an | |
---|---|---|---|---|
Ap | 1 | Ap = apnb | Ap = Ann2(b − 1) | Ap = annb − 2 |
ap | ap = Apn−b | 1 | ap = Annb − 2 | ap = ann−2 |
An | An = Apn2(1 − b) | An = apn2 − b | 1 | An = ann−b |
an | an = Apn2 − b | an = apn2 | ap = Annb | 1 |
Reader-friendly version. To read it, the formula row = col × cell must be used.
Ap | ap | An | an | |
---|---|---|---|---|
Ap | 1 | nb | n2(b − 1) | nb − 2 |
ap | n−b | 1 | nb − 2 | n−2 |
An | n2(1 − b) | n2 − b | 1 | n−b |
an | n2 − b | n2 | nb | 1 |
Note that the function a2a
is kindly provided in
epiphy to make these tricky conversions as easy as
possible.
$$ \theta = \frac{a_p - f(p)/n}{f(p) - a_p} \text{, with } f(p) = [p(1-p)]^{1-b} $$