HCEB.est: Heteroscedasticity-Consistent Empirical Bayes rate

Description Usage Arguments Value References

Description

Compute HC-EB rate estimates for rates smoothed to the overall mean by their denominator data uncertainty.

Usage

1
HCEB.est(n, x, se)

Arguments

n

a numeric vector of counts of cases (numerator)

x

a numeric vector of populations at risk (denominator)

se

a numeric vector of sampling standard errors of corresponding populations at risk

Value

A data frame with three columns:

raw

a numerical vector of raw rates

EB

a numerical vector of empirical Bayes estimates

HCEB

a numerical vector of heteroscedasticity-consistent empirical Bayes estimates

with parameters

w.EB

Empirical Bayes weight

w.HCEB

Heteroscedasticity-consistent empirical Bayes weight

m

Overall mean rate

References

Jung, PH, Thill J-C, Issel M 2018 Spatial Autocorrelation Statistics of Areal Prevalence Rates under High Uncertainty in Denominator Data, Geographical Analysis


phjung/HCEB documentation built on May 27, 2019, 1:07 a.m.