Before the Stata update released on the 29 October 2015, the 95% exact confidence interval for a Standardized Mortality Ratio where, for example, 15 deaths were observed and 34.5 deaths were expected, could be obtained as follows (under the common assumption that the number of observed deaths follows a Poisson distribution):
Following the 29oct205 update, this is no longer possible, because the #exposure argument (that is, the first argument) must be a positive integer. Therefore, the following code:
will return the following error message: first argument, #exposure, must be a positive integer.
Could anyone explain to me the reasons behind this choice?
Code:
version 14 cii 34.5 15, poisson
Code:
version 14.1 cii means 34.5 15, poisson
Could anyone explain to me the reasons behind this choice?
Comment