# Confidence Intervals for Seasonal Relative Risk with Null Boundary Values

In evaluating the relative risk of seasonality, the null value is a boundary value. In this case, tests for the null hypothesis exist, but standard methods for confidence intervals are not appropriate. We provide a method for constructing confidence intervals under the circular normal model. The proposed confidence intervals are valid for all values of the underlying seasonal risk if the model is correct and for the null boundary value of the seasonal risk, regardless of model assumptions and sample size. We apply our method to seasonal suicide data from a recent report.

From the Department of Biostatistics, Johns Hopkins University, 615 N. Wolfe Street, Baltimore, MD 21205; cfrangak@jhsph.edu

Address correspondence to: Constantine E. Frangakis, Department of Biostatistics, Johns Hopkins University, 615 N. Wolfe Street, Baltimore, MD 21205; cfrangak@jhsph.edu

This study was supported in part by the NIH EY014314â€“01 and HD38209â€“01.

Submitted 18 January 2002; final version accepted 28 June 2002.

Petridou *et al*. ^{1} recently evaluated the seasonality of suicides, showing evidence of association with months of higher sunshine. A reviewer of that paper had pointed out an interesting issue: how can we construct a confidence interval (CI) for the relative risk (RR) of suicide (maximum over minimum frequency) when the null value of RR (unity) is also a boundary of the possible values of RR? Although approaches exist for testing some boundary null hypotheses, ^{2} we are unaware of an application in this area that computed CIs when the null value is on the boundary. Therefore, in the original article, we first tested the null, finding strong evidence for seasonality for all countries, and then constructed the CIs using the maximum asymptotic margin of error across countries. This minimized potential false positive findings. Since then, we have developed and applied a more rigorous method to address the problem, which we briefly outline below. The results from the new method strengthen the substantive findings of the original paper.

## Methods

### Data and Model

The data are the numbers of suicides in each of the 12 months for twenty countries, for a period covering 4 to 24 of the most recent years. To demonstrate the new model, we focus on one such country, and let *n* *i* denote the number of suicides for *i* = 1, . . . , 12 months. We assume that the counts (*n* _{1}, . . . , *n* _{12}) are from a multinomial distribution with probabilities of suicide (*p* _{1}, . . . , *p* _{12}), where *p* _{i} are proportional to the periodic factor *e* ^{k cos (2Ï€} ^{(i âˆ’ Î²)/12)};*e* ^{2k} is the ratio of maximum over minimum frequency of suicide and Î² is the month of maximum frequency of suicides, where *k* is nonnegative and Î² is an integer between 1 and 12. This model is a discrete version of the circular normal distribution for continuous data. ^{3}

The model above has several notable features. It allows for the null hypothesis of no seasonality of suicides, when *k* = 0, whereby all the probabilities, *p* *i*, are equal to 1/12. Furthermore, the above model will be more powerful in detecting true seasonality compared to a less structured model, such as the saturated model that fits 11 different probabilities. The model also possesses a useful property that allows us to construct CIs for the risk parameter, *k*, when standard methods are not generally appropriate, as discussed next.

### Confidence Intervals when the Null Risk Is on the Boundary

Suppose (*k* _{0}, Î²_{0}) are the true values of the parameters (*k*, Î²) that generate the observed suicide counts (*n* _{1},â€¦*n* _{12}). We can write the likelihood function for any parameter values (*k*, Î²) as

We wish to construct CIs for *k* _{0}, based on the maximum likelihood estimates (MLE), Ë† and Ë†;&bgr, which are the values of *k* and Î² that maximize the likelihood function in Eq 1. However, because the null value, *k* = 0, is a boundary value, the usual theory for CIs of the form Ë† Â± 1.96 *se* (Ë†), obtained using a normal approximation of Ë†, is not applicable here. Moreover, although approaches exist for testing some boundary null hypotheses, ^{2} we are unaware of a previous application in this area that has offered CIs when the null value is on the boundary. Here we propose an approach for valid CIs with our model based on first principles.

For this approach, it is important to consider, for every pair (*k*, Î²), the quantile function *q* (*k*, Î²) defined so that *Pr* (â€–Ë†âˆ’*k* â€–â‰¤*q* (*k*, Î²)â€–*k*, Î²) is 95%. In words, the quantile *q* (*k*, Î²) is the number *q* such that, when counts of total size *n* are generated repeatedly from model 1 with true parameter values (*k*, Î²), the fraction of times that â€–Ë† âˆ’*k* â€– is less that *q* is 95%. For a fixed pair (*k*, Î²), we can calculate *q* (*k*, Î²) as follows: (i) simulate a large number of sets of (*n* _{1}, . . . , *n* _{12}) from model 1, each set totalling the fixed size *n*; (ii) for each set, calculate its MLE Ë† and its distance from *k*, â€–Ë† âˆ’*k* â€– and (iii) set *q* (*k*, Î²) equal to the smallest number below which fall 95% of the calculated distances â€–Ë† âˆ’*k* â€– across the simulations.

The quantile function gives an exact reference for how far the estimated risk parameter is expected to be from the true value. In particular, if for any month Î² we define the set *S* (Ë†, Î²) of values of the risk parameter *k* to be MATH

then, by result of inversion of tests, we have that the range of values *k* defined by the set *S* (Ë†, Î²_{0}) is an exact 95% CI for the true value *k* _{0}, whether or not *k* _{0} lies on the boundary.

Generally, finding the CI for *k* _{0} using *S* (Ë†, Î²_{0}) is difficult because the true peak month Î²_{0} is unknown. However, model 1 has the property that, for fixed risk parameter *k*, the quantile function *q* (*k*, Î²) is not a function of Î². The intuition for this is that, given the risk parameter *k*, the likely values of its estimator (Ë†) are invariant of the month at which the peak occurs (a proof is given in the Appendix). It follows that *S* (Ë†, Î²_{0}) =*S* (Ë†, Ë†;&bgr) so that, instead of the unknown month Î²_{0}, we can simply use the MLE, Ë†;&bgr, to calculate the set *S* (Ë†, Ë†;&bgr), which will then be the exact 95% CI for *k* _{0}.

### Algorithm

We have developed an algorithm to compute *S* (Ë†, Ë†;&bgr), the exact 95% CI for *k* _{0}, that involves three distinct computational tasks. The first is to compute the MLEs, Ë† and Ë†;&bgr. The second is to obtain the two roots of the equation, *f* (*k*) = 0, where *f* (*k*) = â€–*k* âˆ’ Ë†â€– minus;*q* (*k*, Ë†;&bgr); the larger root is the upper endpoint of the 95% CI; the lower endpoint is the smaller root, provided that the root is positive, and is zero otherwise. In this task, the roots of the equation are obtained iteratively using the secant method. ^{4} For the larger root, *k* _{u}, of the equation *f* (*k* _{u}) = 0, the secant method starts with two points, *k* *u* ^{(1)} and *k* *u* ^{(2)}, and proceeds iteratively to obtain a sequence *k* *u* ^{(i)}, *i* = 3, 4,. . ., that converges to *k* _{u}. Here we choose *k* *u* ^{(1)} and *k* *u* ^{(2)} to be around the normal approximations Ë† + 1.96 *se* (Ë†) and Ë† + 1.96 *se* (Ë†) + Î”, respectively, where Î” is a small number. The smaller root, *kl*, is obtained similarly where we choose the two starting points as *k* _{l} ^{(1)} = Ë† âˆ’ 1.96 *se* (Ë†) and *k* _{l} ^{(2)} =*k* _{l} ^{(1)} + Î”. A third task of our algorithm is required inside the secant method: because the quantile function, *q*, is not available in closed form, we compute *q* by simulation from the model at the values required by the iterations of the secant method. Although the parameter space for Î² is the integers, for ease of computation here we use the continuous scale.

In some simulations, we found that the endpoints of the exact 95% CI were relatively close to their starting normal approximations. However, as also discussed ear- lier, validity of the normal approximation cannot be guaranteed for arbitrary data with this model, and so the use of the exact 95% CIs here is generally preferable.

## Results

We applied our method to the suicide counts used in Petridou *et al*. ^{1} across the 12 months, for each country. The sample counts for all the months within a country ranged between 3,770 (Greece) and 222,227 (Japan), as summarized over recent years. (For further details, see Petridou *et al*. ^{1})

The CIs for the relative risk computed with the new method are presented in the table. As expected, the point estimates of RR remain essentially the same as in Petridou *et al*. ^{1} However, the exact CIs for RR computed with the new method are much shorter than the conservative ones originally reported and are theoretically valid for the boundary constraint, a fact that further strengthens the original findings. Because we find strong evidence for seasonality (*k* > 0) with this method, as well, we also report the normal approximation to the CIs for the date of peak incidence of suicide, Î²_{0} (in degrees).

## Discussion

We present a method that defines the relative risk in seasonality through a discrete version of the circular normal distribution, providing CIs that are valid no matter the underline value of that risk. Moreover, because the circular normal model is correct under the null hypothesis of all seasons having the same risk, our CIs are guaranteed to have the right coverage under the null hypothesis, regardless of model or sample size assumptions.

The method we discussed, illustrated here for 12 seasons (here, months) can be used for any arbitrary number of seasons when the researcher expects a single peak in the circular frequency of the studied event. Extensions of the method for CIs for multiple peaks, and for accounting for other covariates simultaneously, may be possible by introducing appropriate terms in the likelihood.

The computer program implementing the new method for obtaining CIs for a seasonal risk with general number of seasons is available from the Web site: http://biosun01. biostat.jhsph.edu/âˆ¼cfrangak/papers/suicide/

## Acknowledgments

The authors thank the Editor and three reviewers for constructive comments, and also Drs. D. Trichopoulos, E. Petridou, and K. Rothman for fruitful discussions.

### Appendix

To show that the quantile function *q* (*k*, Î²) is free of Î², it suffices to show that the distribution of the MLE (Ë†) is the same when the data are generated by (*k* _{0}, Î²_{0}) or by (*k* _{0}, Î²_{0} + 1), *ie*, that for any fixed k^{*}, MATH

The key to showing (2) is to note that, for any 12-count *n* = (*n* _{1},. . ., *n* _{12}) and (*k*, Î²), the model 1 is circularly invariant, that is MATH

where *n* *i* ^{(+1)} (*i* = 1,...,12) are the counts of the translated configuration *n* ^{(+1)} defined as (n_{12}, n_{1},..., n_{11}). This means that, given a fixed true value of the risk parameter *k*, an observation of a specific ordered pattern for the counts *n* when the true peak date is Î² is equally likely to an observation of that pattern rotated by an amount of time when the true peak date is also rotated by the same amount of time. In particular, denote by *N* *k* _{*} to be all configurations *n* that give Ë†(n) = k^{*}. Then, the RHS and LHS of (2), respectively, become *pr* (*n* âˆˆ*N* *k* _{*} â€–*k* _{0}, Î²_{0} + 1) and *pr* (*n* âˆˆ*N* *k* _{*} â€–*k* _{0}, Î²_{0}). But, by invariance (3), the latter equals *pr* (*n* âˆˆ*N* *k* _{*} ^{(+1)} â€–*k* _{0}, Î²_{0} + 1), where *N* *k* _{*} ^{(+1)} has the *n* ^{(+1)} configurations of *N* *k* _{*}. Therefore, to show (2), it suffices to show that *N* *k* _{*} =*N* *k* _{*} ^{(+1)}, or, that if *n* belongs to *N* *k* _{*} then it also belongs to *N* *k* _{*} ^{(+1)} and vice versa. We show the first.

Take *n* in *N* *k* _{*}, *ie*, Ë†(*n*) =*k* ^{*}, and say the MLE of the date, Ë†;&bgr(*n*) = Î²^{*}. Now, letting *n* ^{(} ^{âˆ’} ^{1)} = (*n* _{2},..., *n* _{12}, *n* _{1}), we have that:MATH

(by invariance of model in [3]) MATH

(by invariance property of MLEs) MATH

(by invariance of model in [3])

which shows that *k* ^{*} is then also the MLE of *k* with data *n* ^{(} ^{âˆ’} ^{1)}, so *n* ^{(} ^{âˆ’} ^{1)} belongs in *N* *k* _{*}, and so n ^{(} ^{âˆ’} ^{1 + 1)} =*n* must also belong in *N* *k* _{*} ^{(+1)}, as well as in *N* *k* _{*}. With a similar argument we can show that if *n* is in *N* *k* _{*} ^{(+1)} then *n* must also be in *N* *k* _{*}, which proves (2).

## References

*Numerical Analysis*. 7th ed. Pacific Grove, CA: Brooks/Cole Publishing, 2000.

**Keywords:**

confidence interval; boundary value; seasonality; suicide