Skip to contents

Formula: SMR = O / E; exact Poisson limits chi2_{alpha/2, 2O}/2 and chi2_{1-alpha/2, 2(O+1)}/2, divided by E

Usage

Smrind(observed, expected, alpha = 0.05)

Arguments

observed

See Usage.

expected

See Usage.

alpha

See Usage.

Value

List with smr, ci_lower, ci_upper, observed, expected.

References

Breslow and Day (1987), Statistical Methods in Cancer Research Volume II: The Design and Analysis of Cohort Studies, IARC. SMR = O/E with exact Poisson limits on O is the standard published form, and is what the existing morie.fn.smr implements.

Examples

Smrind(observed = 5L, expected = 5L)
#> $smr
#> [1] 1
#> 
#> $ci_lower
#> [1] 0.3246973
#> 
#> $ci_upper
#> [1] 2.333666
#> 
#> $observed
#> [1] 5
#> 
#> $expected
#> [1] 5
#> 
#> $method
#> [1] "Standardised mortality ratio (indirect)"
#> 
#> attr(,"class")
#> [1] "morie_rich_result" "list"