## EXAMPLE 1:
## The observed number of disease events in a province is 4; the expected
## number of disease events is 3.3. What is the standardised morbidity ratio
## and its 95% confidence interval? Test the hypothesis that the SMR equals
## one.
epi.smr(obs = 4, exp = 3.3, method = "mid.p", conf.level = 0.95)
## The standardised morbidity ratio is 1.2 (95% CI 0.38 to 2.9). We accept
## the null hypothesis and conclude that the SMR does not significantly
## differ from one (p = 0.657).
Run the code above in your browser using DataLab