Confidence Intervals for the Mean of Non-Normal Distribution: Transform or Not to Transform

Affiliation(s)

^{1}
Department of Psychology, York University, Toronto, Canada.

^{2}
Department of Mathematics and Statistics, York University, Toronto, Canada.

ABSTRACT

In many areas of applied statistics, confidence intervals for the mean of the population are of interest. Confidence intervals are typically constructed as-suming normality although non-normally distributed data are a common occurrence in practice. Given a large enough sample size, confidence intervals for the mean can be constructed by applying the Central Limit Theorem or by the bootstrap method. Another commonly used method in practice is the back-transformation method, which takes on the following three steps. First, apply a transformation to the data such that the transformed data are normally distributed. Second, obtain confidence intervals for the transformed mean in the usual manner, which assumes normality. Third, apply the back- transformation to obtain confidence intervals for the mean of the original, non-transformed distribution. The parametric Wald method and a small sample likelihood-based third order method, which can address non-normality, are also reviewed in this paper. Our simulation results suggest that common approaches such as back-transformation give erroneous and misleading results even when the sample size is large. However, the likelihood-based third order method gives extremely accurate results even when the sample size is small.

In many areas of applied statistics, confidence intervals for the mean of the population are of interest. Confidence intervals are typically constructed as-suming normality although non-normally distributed data are a common occurrence in practice. Given a large enough sample size, confidence intervals for the mean can be constructed by applying the Central Limit Theorem or by the bootstrap method. Another commonly used method in practice is the back-transformation method, which takes on the following three steps. First, apply a transformation to the data such that the transformed data are normally distributed. Second, obtain confidence intervals for the transformed mean in the usual manner, which assumes normality. Third, apply the back- transformation to obtain confidence intervals for the mean of the original, non-transformed distribution. The parametric Wald method and a small sample likelihood-based third order method, which can address non-normality, are also reviewed in this paper. Our simulation results suggest that common approaches such as back-transformation give erroneous and misleading results even when the sample size is large. However, the likelihood-based third order method gives extremely accurate results even when the sample size is small.

KEYWORDS

Back-Transformation, Bootstrap, Central Limit Theorem, Delta Method, Maximum Likelihood Estimate, Third Order Method

Back-Transformation, Bootstrap, Central Limit Theorem, Delta Method, Maximum Likelihood Estimate, Third Order Method

1. Introduction

In the last two decades, there has been a push in psychological science to improve research reporting with an emphasis on effect size and confidence interval reporting (see American Education Research Association [1] ; Cumming [2] ; Wilkinson and the Task Force for Statistical Inference [3] ). Effect sizes communicate the magnitude and direction of a practically important effect (e.g., treatment decreased depression scores by 13%), and confidence intervals communicate this effect’s estimate precision. The importance of confidence intervals, their basic construction, and interpretation have thus been the focus of several influential pedagogical articles (e.g., see Cumming and Fidler [4] ; Cumming and Finch [5] ; Greenland et al. [6] ).

Most, if not all, modern introductory statistics textbooks review and describe the construction of confidence intervals (e.g., see Moore et al. [7] ). Let $\left({x}_{1}\mathrm{,}\cdots \mathrm{,}{x}_{n}\right)$ be a sample obtained from a normally distributed population with mean $\mu $ and variance ${\sigma}^{2}$ . Then a $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\mu $ can be calculated by

$\left(\stackrel{\xaf}{x}-{t}^{\mathrm{*}}\frac{{s}_{x}}{\sqrt{n}}\mathrm{,}\stackrel{\xaf}{x}+{t}^{\mathrm{*}}\frac{{s}_{x}}{\sqrt{n}}\right)$ (1)

where

$\stackrel{\xaf}{x}=\frac{{\displaystyle \underset{i=1}{\overset{n}{\sum}}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{x}_{i}}{n},\text{\hspace{1em}}{s}_{x}^{2}=\frac{{\displaystyle \underset{i=1}{\overset{n}{\sum}}}{\left({x}_{i}-\stackrel{\xaf}{x}\right)}^{2}}{n-1},$

and t* is the $\left(1-\alpha /2\right){100}^{th}$ percentile of the Student t distribution with $\left(n-1\right)$ degrees of freedom. Moreover, when the sample size n is large (usually stated n is larger than 30), then the $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\mu $ can still be obtained from (1) except that we replaced t* by z*, which is the $\left(1-\alpha /2\right){100}^{th}$ percentile of the standard normal distribution.

The fundamental assumption underlying the construction of this confidence interval is that the data are normally distributed. However, collected data are usually non-normally distributed in practice (for examples in psychology, see Cain et al. [8] ; Micceri [9] ). In public health research, Bland and Altman [10] reported that serum triglyceride measurements are distributed with positive skewness. In biology, McDonald [11] reported that the number of Eastern mud- minnows in Maryland streams are non-normally distributed.

In this paper, we compare various methods for constructing confidence intervals when data are non-normally distributed. Three of the most popular and commonly used methods are the method based on the Central Limit Theorem, the bootstrap method, and the back-transformation method, which are reviewed in Section 2. The parametric based Wald method and likelihood-based third order method are also discussed in Section 2. Note that the popular back-trans- formation method requires the existence of a transformation such that the transformed data are normally distributed. The selection of such a transformation by the Box-Cox transformation and the Tukey’s ladder of power transformation are briefly discussed in Section 2. Two empirical examples are presented in Section 3 to illustrate that confidence intervals based on the different methods discussed in Section 2 can be vastly different. Simulation results are presented in Section 4 to compare the accuracy of the methods discussed in this paper and illustrated that the likelihood-based third order method gives extremely accurate coverage probability even when the sample size is small, the Wald method, the Central Limit Theorem method and then bootstrap method all performed poorly when sample size is small but the performance increases when the sample size increases, and the popular back-transformation method should not be used because it does not construct the confidence interval for the correct parameter. Finally, some concluding remarks are given in Section 5.

2. Methodology

This section reviews four commonly used methods, namely the Central Limit Theorem, bootstrap, back-transformation, and Wald for obtaining a confidence interval for the mean of a non-normal distribution. A very accurate likelihood-based method is also introduced in this section.

2.1. Central Limit Theorem Method

Let $\left({x}_{1}\mathrm{,}\cdots \mathrm{,}{x}_{n}\right)$ be a sample from a non-normal distribution with mean $\psi $ . When the sample size n is large, the Central Limit Theorem gives

$\frac{\stackrel{\xaf}{X}-\psi}{\sqrt{var\left(\stackrel{\xaf}{X}\right)}}\to \mathcal{N}\left(\mathrm{0,1}\right)$

where $\stackrel{\xaf}{X}=\frac{{\displaystyle {\sum}_{i=1}^{n}}\text{\hspace{0.05em}}{X}_{i}}{n}$ and $var\left(\stackrel{\xaf}{X}\right)=\frac{var\left(X\right)}{n}$ . Since $\stackrel{\xaf}{x}$ and ${s}_{x}^{2}$ are the unbiased

estimates of $\psi $ and $var\left(X\right)$ respectively; by the Central Limit Theorem, an approximate $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\psi $ is

$\left(\stackrel{\xaf}{x}-{z}^{\mathrm{*}}\frac{{s}_{x}}{\sqrt{n}}\mathrm{,}\stackrel{\xaf}{x}+{z}^{\mathrm{*}}\frac{{s}_{x}}{\sqrt{n}}\right)$ (2)

where ${z}^{\mathrm{*}}$ is the $\left(1-\alpha /2\right){100}^{th}$ percentile of the standard normal distribution.

2.2. Bootstrap Method

The bootstrap method is a popular non-parametric method, which does not require any distributional assumptions. Efron and Tibshirani [12] provide a detailed review of the bootstrap method. The following is an algorithmic approach of obtaining a $\left(1-\alpha \right)\mathrm{100\%}$ percentile bootstrap confidence interval for the population mean, $\psi $ .

Sample: $\left({x}_{1}\mathrm{,}\cdots \mathrm{,}{x}_{n}\right)$

Step 1: Resample the observed sample with replacement and calculate the sample mean for this bootstrap sample.

Step 2: Repeat Step 1 B times, where, typically, $B\ge 200$ .

Step 3: Sort the B bootstrapped sample means; the $\left(\alpha /2\right){100}^{th}$ and $\left(1-\alpha /2\right){100}^{th}$ percentiles give the $\left(1-\alpha \right)\mathrm{100\%}$ percentile bootstrap confidence interval for the population mean.

Note that as with the Central Limit Theorem method, the bootstrap method requires the observed sample size to be large so as to be representative of the population.

2.3. Back-Transformation Method

Recall that X is a non-normally distributed random variable with mean $\psi $ . Assume there exists a transformation $g(\cdot )$ such that $Y=g\left(X\right)$ is normally dis- tributed with mean $\mu $ and variance ${\sigma}^{2}$ . By the delta method,

$\psi =E\left(X\right)=E\left[{g}^{-1}\left(Y\right)\right]\approx {g}^{-1}\left(\mu \right),$

and an approximate $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\psi $ from (1) is

$\left({g}^{-1}\left(\stackrel{\xaf}{y}-{t}^{*}\frac{{s}_{y}}{\sqrt{n}}\right),{g}^{-1}\left(\stackrel{\xaf}{y}+{t}^{*}\frac{{s}_{y}}{\sqrt{n}}\right)\right).$ (3)

It is important to note that (3) could be misleading because ${g}^{-1}\left(\mu \right)$ can be very different from $\psi $ . For example, if X follows a $\text{lognormal}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ distribution, then $Y=\mathrm{log}\left(X\right)$ is distributed as $\mathcal{N}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ . It follows that the delta method gives $\psi =E\left(X\right)\approx \mathrm{exp}\left(\mu \right)$ . However, as shown in Table 1, $\psi =\mathrm{exp}\left(\mu +{\sigma}^{2}/2\right)$ , which can be quite different from $\mathrm{exp}\left(\mu \right)$ , especially when ${\sigma}^{2}$ is large. Consider another example where $Y=\sqrt{X}$ follows a $\mathcal{N}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ distribution. Here, the delta method gives $\psi \approx {\mu}^{2}$ . However, Table 1 shows that $\psi ={\mu}^{2}+{\sigma}^{2}$ , which can be quite different from ${\mu}^{2}$ , especially when ${\sigma}^{2}$ is large.

The rest of this subsection is to provide a systematic way of choosing the transformation $g(\cdot )$ . In practice, the most common simple transformations are the logarithmic transformation and square root transformation. Box and Cox [13] proposed a more complicated transformation, which requires the determination of the power parameter. Similarly, Tukey [14] suggested a ladder of power transformation, which also requires the determination of the power parameter. We review Tukey’s method in a later subsection. With an observed sample $\left({x}_{1}\mathrm{,}\cdots \mathrm{,}{x}_{n}\right)$ , our aim is to obtain confidence intervals for $\psi $ . In this paper, focus is placed on the two most commonly used transformations in practice: the logarithmic transformation and the square root transformation. Note that the tansformation methods discussed can be generalized to any known transformation in theory (cf., Box-Cox or Tukey’s transformations).

When observed data are non-normally distributed, a common approach is to first apply a transformation such that the transformed data become somewhat

Table 1. Transformation and the parameter of interest.

normally distributed. In the statistical literature, two very similar families of transformations are frequently discussed: the Box-Cox transformation and Tukey’s ladder of power transformation. In particular, Osborne [15] gives a detailed discussion of the application of the Box-Cox transformation. Mathematically, the Box-Cox transformation and Tukey’s ladder of power transformation are very similar. Because Tukey’s ladder of power transformation is easier to interpret compared to the Box-Cox transformation, we review the ladder of power transformation and suggested criteria to choose an appropriate transformation to address non-normally distributed data below.

Tukey’s ladder of power transformation takes the form

$Y={X}^{\lambda}=\{\begin{array}{ll}\mathrm{log}\left(X\right)\hfill & \text{if}\text{\hspace{0.17em}}\lambda =0\hfill \\ {X}^{\lambda}\hfill & \text{if}\text{\hspace{0.17em}}\lambda \ne 0\hfill \end{array}$

where $\lambda $ is called the power parameter of this transformation, where $\lambda $ is chosen such that Y is approximately normally distributed. Moreover, $\lambda $ should be chosen such that the power parameter is easy to interpret. Note that $\lambda =1$ is equivalent to no transformation. In practice, the popular reciprocal transformation, logarithmic transformation, and square root transformation are equivalent

to $\lambda =-1,0$ and $\frac{1}{2}$ , respectively.

Table 1 presents the mean of distribution prior to transformation, $\psi $ , in terms of $\mu $ and ${\sigma}^{2}$ based on the type of transformation used. Since $\psi $ does not exist for the reciprocal transformation, this transformation is not considered in this paper.

With an observed sample, we suggest the choice of $\lambda $ be based on three criteria:

1. de-trended normal quantile-quantile (Q-Q) plot,

2. p-value of the Shapiro-Wilk test of normality, and

3. skewness.

First, when the de-trended normal Q-Q plot deviates from the horizontal reference line which indicates identical quantiles between the data and a theoretical normal distribution, the plot suggests that the data are likely non-normally distributed. Second, simulation studies by Razali and Wah [16] illustrate that the Shapiro-Wilk test is the most powerful test among all formulated statistical tests for normality. Under the assumption of a normal distribution, the smaller the p-value associated with the Shaprio-Wilk test, the more evidence against the normality assumption. Thus, the transformation which gives the largest p-value of the Shapiro-Wilk test is associated with the least evidence against the transformed data being normally distributed. Finally, with regard to skewness, the normal distribution has skewness 0. In this vein, the transformation which results in a skewness value closest to 0 is most symmetric and would be the preferred transformation.

2.4. Wald Method

As in the previous subsection, we assume that X be a non-normally distributed random variable with mean $\psi $ and there exists a transformation $g(\cdot )$ such that $Y=g\left(X\right)$ is normally distributed with mean $\mu $ and variance ${\sigma}^{2}$ . Moreover, $\psi =\psi \left(\mu ,{\sigma}^{2}\right)$ .

The log-likelihood function concerning Y can be written as

$\mathcal{l}\left(\mu ,{\sigma}^{2}\right)=a-\frac{n}{2}\mathrm{log}{\sigma}^{2}-\frac{1}{2{\sigma}^{2}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}{\left({y}_{i}-\mu \right)}^{2}$ (4)

where a is an additive constant. Without loss of generality, a is set to zero hereafter. The overall maximum likelihood estimate (MLE), denoted by ${\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}^{\prime}$ , can be obtained by solving

${\frac{\partial \mathcal{l}\left(\mu ,{\sigma}^{2}\right)}{\partial \mu}|}_{\stackrel{^}{\mu},{\stackrel{^}{\sigma}}^{2}}=\frac{1}{{\stackrel{^}{\sigma}}^{2}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}\left({y}_{i}-\stackrel{^}{\mu}\right)=0$

${\frac{\partial \mathcal{l}\left(\mu ,{\sigma}^{2}\right)}{\partial {\sigma}^{2}}|}_{\stackrel{^}{\mu},{\stackrel{^}{\sigma}}^{2}}=-\frac{n}{2{\stackrel{^}{\sigma}}^{2}}+\frac{1}{2{\stackrel{^}{\sigma}}^{4}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}{\left({y}_{i}-\stackrel{^}{\mu}\right)}^{2}=0.$

Hence, we have

$\stackrel{^}{\mu}=\stackrel{\xaf}{y},\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\stackrel{^}{\sigma}}^{2}=\frac{1}{n}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}{\left({y}_{i}-\stackrel{^}{\mu}\right)}^{2}=\frac{\left(n-1\right){s}_{y}^{2}}{n}.$

The observed information matrix is the negative of the second derivatives of the log-likelihood function with respect to the parameters:

$j\left(\mu ,{\sigma}^{2}\right)=\left(\begin{array}{cc}\frac{n}{{\sigma}^{2}}& \frac{1}{{\sigma}^{4}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}\left({y}_{i}-\mu \right)\\ \frac{1}{{\sigma}^{4}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}\left({y}_{i}-\mu \right)& -\frac{n}{2{\sigma}^{4}}+\frac{1}{{\sigma}^{6}}{\displaystyle \underset{i=1}{\overset{n}{\sum}}}{\left({y}_{i}-\mu \right)}^{2}\end{array}\right).$

The variance-covariance matrix for ${\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}^{\prime}$ can be approximated by the inverse of Fisher’s expected information matrix, ${\left\{E\left[j\left(\mu \mathrm{,}{\sigma}^{2}\right)\right]\right\}}^{-1}$ , which, in general, can be difficult to obtain in practice. Nevertheless, the variance-covariance matrix for ${\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}^{\prime}$ can be approximated by the inverse of the observed information evaluated at the MLE, ${j}^{-1}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)$ where

$j\left(\stackrel{^}{\mu},{\stackrel{^}{\sigma}}^{2}\right)=\left(\begin{array}{cc}\frac{n}{{\stackrel{^}{\sigma}}^{2}}& 0\\ 0& \frac{n}{2{\stackrel{^}{\sigma}}^{4}}\end{array}\right).$

It is well-known that ${\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}^{\prime}$ is asymptotically distributed as normal with mean ${\left(\mu \mathrm{,}{\sigma}^{2}\right)}^{\prime}$ and variance ${j}^{-1}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)$ .

Recall that the parameter of interest is $\psi =\psi \left(\mu ,{\sigma}^{2}\right)$ , and we denote $\stackrel{^}{\psi}=\psi \left(\stackrel{^}{\mu},{\stackrel{^}{\sigma}}^{2}\right)$ . By the delta method,

$\stackrel{^}{var}\left(\stackrel{^}{\psi}\right)\approx \left(\frac{\partial \mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}{\partial \left(\mu \mathrm{,}{\sigma}^{2}\right)}\right){j}^{-1}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)\left(\frac{\partial \mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}{\partial \left(\mu \mathrm{,}{\sigma}^{2}\right)}\right)$

where

$\frac{\partial \mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}{\partial \left(\mu \mathrm{,}{\sigma}^{2}\right)}={\left(\begin{array}{c}\frac{\partial \mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}{\partial \mu}\\ \frac{\partial \mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}{\partial {\sigma}^{2}}\end{array}\right)|}_{\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)}\mathrm{.}$

Thus, an approximate $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\psi $ is

$\left(\stackrel{^}{\psi}-{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\psi}\right)}\mathrm{,}\stackrel{^}{\psi}+{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\psi}\right)}\right)\mathrm{.}$ (5)

For the case of the logarithmic transformation (i.e., Tukey’s ladder of power transformation where $\lambda =0$ ), the parameter of interest is $\psi =\mathrm{exp}\left(\gamma \right)$ , where $\gamma =\mu +{\sigma}^{2}/2$ . Therefore, by the Wald method, a $\left(1-\alpha \right)\mathrm{100\%}$ confidence in- terval for $\gamma $ is

$\left(\stackrel{^}{\gamma}-{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\gamma}\right)}\mathrm{,}\stackrel{^}{\gamma}+{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\gamma}\right)}\right)$

where $\stackrel{^}{\gamma}=\stackrel{^}{\mu}+{\stackrel{^}{\sigma}}^{2}/2$ and $\stackrel{^}{var}\left(\stackrel{^}{\gamma}\right)\approx \frac{{\stackrel{^}{\sigma}}^{2}}{n}+\frac{{\stackrel{^}{\sigma}}^{4}}{2n}$ . Thus, an approximate $\left(1-\alpha \right)\mathrm{100\%}$

confidence interval for $\psi $ is

$\left(exp\left\{\stackrel{^}{\gamma}-{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\gamma}\right)}\right\}\mathrm{,}exp\left\{\stackrel{^}{\gamma}+{z}^{\mathrm{*}}\sqrt{\stackrel{^}{var}\left(\stackrel{^}{\gamma}\right)}\right\}\right)\mathrm{.}$

For the case of the square root transformation (i.e., Tukey’s (1977) ladder of

power transformation where $\lambda =\frac{1}{2}$ ), the parameter of interest is $\psi ={\mu}^{2}+{\sigma}^{2}$ .

Therefore, an approximate $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval for $\psi $ is given by (5), where

$\stackrel{^}{\psi}={\stackrel{^}{\mu}}^{2}+{\stackrel{^}{\sigma}}^{2}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}\stackrel{^}{var}\left(\stackrel{^}{\psi}\right)=\frac{2{\stackrel{^}{\sigma}}^{2}\left(2{\stackrel{^}{\mu}}^{2}+{\stackrel{^}{\sigma}}^{2}\right)}{n}\mathrm{.}$

2.5. Likelihood-Based Third Order Method

Both the Central Limit Theorem method and Wald method have a theoretical rate of convergence of $O\left({n}^{-1/2}\right)$ , and both the back-transformation method and the bootstrap method have no known rate of convergence. In recent years, many methods have been developed to improve the rate of convergence of existing asymptotic methods. In this subsection, we review the modified signed log-like- lihood ratio method by Barndorff-Nielsen [17] . The modified signed log-like- lihood ratio statistic is defined as

${r}^{*}={r}^{*}\left(\psi \right)=r\left(\psi \right)-\frac{1}{r\left(\psi \right)}\mathrm{log}\frac{r\left(\psi \right)}{q\left(\psi \right)}$ (6)

where

$r\left(\psi \right)=sign\left(\stackrel{^}{\psi}-\psi \right){\left\{2\left[\mathcal{l}\left(\stackrel{^}{\mu}\mathrm{,}{\stackrel{^}{\sigma}}^{2}\right)-\mathcal{l}\left({\stackrel{^}{\mu}}_{\psi}\mathrm{,}{\stackrel{^}{\sigma}}_{\psi}^{2}\right)\right]\right\}}^{1/2}$ (7)

is the signed log-likelihood ratio statistic, $\left({\stackrel{^}{\mu}}_{\psi}\mathrm{,}{\stackrel{^}{\sigma}}_{\psi}^{2}\right)$ is the constrained MLE obtained by maximizing the log-likelihood function for a given $\psi $ value, and $q\left(\psi \right)$ is a statistic based on the log-likelihood function given in (4). Barndorff- Nielsen [17] showed that ${r}^{\mathrm{*}}$ is asymptotically distributed as a standard normal distribution with a rate of convergence of $O\left({n}^{-3/2}\right)$ . Thus, a $\left(1-\alpha \right)\mathrm{100\%}$ confidence interval obtained based on ${r}^{\mathrm{*}}$ is $\left({\psi}_{L}\mathrm{,}{\psi}_{U}\right)$ such that ${\psi}_{L}$ and ${\psi}_{U}$ satisfies $\left|{r}^{*}\left({\psi}_{L}\right)\right|<{z}^{*}$ , $\left|{r}^{*}\left({\psi}_{U}\right)\right|<{z}^{*}$ , and ${\psi}_{L}<{\psi}_{U}$ .

If the model is an exponential family model and the parameter of interest $\psi $ is a component parameter of the canonical parameter, Fraser [18] showed that $q\left(\psi \right)$ is the standardized MLE statistic. Given a general model and this idea in mind, Fraser and Reid [19] first approximate the model using an approximate tangent exponential model to obtain the locally defined canonical parameter. Then, they express the parameter of interest in terms of the locally defined canonical parameter and also derived the variance the estimated parameter of interest in this locally defined canonical parameter scale. Thus, $q\left(\psi \right)$ is the standardized MLE statistic expressed in the locally defined canonical parameter scale, and the modified signed likelihood ratio statistic can be used to obtain confidence interval for $\psi $ . Details of this algorithmic approach of obtaining ${r}^{\mathrm{*}}$ is outlined below.

Notation: $\mathcal{l}\left(\theta \right)$ is the log-likelihood function;

$\theta $ is a k-dimensional vector of parameters;

$\phi =\phi \left(\theta \right)$ is a k-dimensional vector of canonical parameters for the exponential family model;

$\psi =\psi \left(\theta \right)$ is a scalar parameter of interest;

$\left({x}_{1}\mathrm{,}\cdots \mathrm{,}{x}_{n}\right)$ is the observed data.

Aim: Inference about $\psi $ .

Step 1: From the log-likelihood function, obtain the overall MLE, $\stackrel{^}{\theta},\stackrel{^}{\psi}=\psi \left(\stackrel{^}{\theta}\right),\mathcal{l}\left(\stackrel{^}{\theta}\right)$ and $\stackrel{^}{j}={j}_{\theta \theta}\left(\stackrel{^}{\theta}\right)$ can be obtained.

Step 2: Apply the Lagrange multiplier technique to obtain the constrained MLE at $\psi ={\psi}_{0}$ . More specifically, maximize

$H\left(\theta ,\lambda \right)=\mathcal{l}\left(\theta \right)+\lambda \left(\psi \left(\theta \right)-{\psi}_{0}\right)$

with respect to $\left(\theta ,\lambda \right)$ , where $\lambda $ is defined as the Lagrange multiplier. Denote the result of the maximization be $\left({\stackrel{\u02dc}{\theta}}_{{\psi}_{0}}\mathrm{,}\stackrel{\u02dc}{\lambda}\right)$ .

Step 3: Define the tilted log-likelihood function as

$\stackrel{\u02dc}{\mathcal{l}}\left(\theta \right)=\mathcal{l}\left(\theta \right)+\stackrel{\u02dc}{\lambda}\left(\psi \left(\theta \right)-\psi \right)$

where $\psi $ is a fixed value. Obtain the constrained MLE either from the tilted log-likelihood function or from Step 2, ${\stackrel{\u02dc}{\theta}}_{\psi},\mathcal{l}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)=\stackrel{\u02dc}{\mathcal{l}}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)$ and ${\stackrel{\u02dc}{j}}_{\theta \theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)$ , which is the matrix of the negative of the second derivatives of the tilted log-likelihood function.

Step 4: The signed log-likelihood ratio statistic is

$r=sgn\left(\stackrel{^}{\psi}-\psi \right){\left\{2\left[\mathcal{l}\left(\stackrel{^}{\theta}\right)-\mathcal{l}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right]\right\}}^{1/2}\mathrm{.}$

Step 5: Define

$\chi \left(\theta \right)\mathrm{=}{\psi}_{\theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right){\phi}_{\theta}^{-1}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\phi \left(\theta \right)$

where ${\psi}_{\theta}\left(\theta \right)$ is the first derivative of $\psi \left(\theta \right)$ with respect to $\theta $ , and ${\phi}_{\theta}\left(\theta \right)$ is the first derivative of $\phi \left(\theta \right)$ with respect $\theta $ . This quantity is a recalibration of the parameter of interest $\psi $ in the canonical parameter $\phi $ space.

Step 6: The quantity $\left|\chi \left(\stackrel{^}{\theta}\right)-\chi \left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right|$ measures the departure of $\stackrel{^}{\psi}$ from $\psi $ in $\phi $ space.

Step 7: The estimated variance for the departure in $\phi $ space is given by

$\stackrel{^}{var}\left(\chi \left(\stackrel{^}{\theta}\right)-\chi \left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right)=\frac{{\psi}_{\theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right){\stackrel{\u02dc}{j}}_{\theta \theta}^{-1}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right){{\psi}^{\prime}}_{\theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\left|{\stackrel{\u02dc}{j}}_{\theta \theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right|{\left|{\phi}_{\theta}\left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right|}^{-2}}{\left|{j}_{\theta \theta}\left(\stackrel{^}{\theta}\right)\right|{\left|{\phi}_{\theta}\left(\stackrel{^}{\theta}\right)\right|}^{-2}}\mathrm{.}$

Step 8: The standardized MLE departure under the $\phi $ scale is given by

$q=sign\left(\stackrel{^}{\psi}-\psi \right)\frac{\left|\chi \left(\stackrel{^}{\theta}\right)-\chi \left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right|}{\sqrt{\stackrel{^}{var}\left(\chi \left(\stackrel{^}{\theta}\right)-\chi \left({\stackrel{\u02dc}{\theta}}_{\psi}\right)\right)}}\mathrm{.}$

Step 9: The modified signed log-likelihood ratio statistic is given by

${r}^{*}=r-\frac{1}{r}\mathrm{log}\frac{r}{q}.$

Although the algorithm involves many steps, it can easily be implemented into algebraic or statistical software such as MATLAB, Maple and R.

3. Empirical Examples

In this section, the different methods of constructing a confidence interval about the mean of non-normally distributed data are illustrated with two empirical examples. We demonstrate that the results obtained by the methods discussed in this paper can be very different.

3.1. Example 1: Serum Triglyceride Measurements

Bland and Altman [10] considered n = 278 serum triglyceride measurements, which had a positively skewed data distribution with an average of 0.51 mmol/l and a standard deviation of 0.22 mmol/l. By applying a base 10 logarithm transformation to the data to obtain a less skewed distribution, the transformed distribution became bell-shaped with an average of −0.33 and a standard deviation of 0.17. By applying the Central Limit Theorem, they report a 95% confidence interval for the mean serum triglyceride measurements to be (0.48, 0.54). Using the back-transformation method, the corresponding interval is (0.45, 0.49). Table 2 presents the 95% confidence intervals for the mean serum triglyceride

Table 2. 95% confidence interval for the mean serum triglyceride measurements.

measurements for the alternative methods reviewed above Note that for this example, the bootstrap method cannot be applied because the original data set is not unavailable.

Bland and Altman [10] noted that the interval obtained by the back-trans- formation method is actually the 95% confidence interval for the geometric mean of serum triglyceride measurements instead of the mean serum triglyceride measurements, where the latter is the parameter of interest. Stated differently, the back-transformation method does not provide information about the focal parameter of interest (i.e., the mean of the non-normal distribution). From Table 2, it can be observed that the results from the Central Limit Theorem method are different from those obtained by the Wald method and third order method. Additionally, the Wald method and third order method give results which agree up to the second decimal place. This observation is not surprising because these two methods theoretically converge to the same answer when the sample size goes to infinity. The only difference is that the third order method will have a faster rate of convergence than the Wald method (i.e., $O\left({n}^{-1/2}\right)$ versus $O\left({n}^{-3/2}\right)$ , respectively). The different rates of convergence are more formally illustrated in Section 4.

3.2. Example 2: Abundance of Eastern Mudminnows

McDonald [11] reported on data on the abundance of Eastern mudminnows in Maryland streams, which is reproduced below:

These data are non-normally distributed and McDonald [11] suggested that both the logarithmic and square root transformed data are suitable for analysis because they are more normally distributed compared to the original and other competing transformations. His final analysis makes use of the logarithmic transformed data.

Table 3 presents the 95% confidence intervals for the mean of the non-trans- formed distribution obtained by applying the Central Limit Theorem method

Table 3. 95% confidence intervals for the mean of the abundance of Eastern mud- minnows in Maryland streams.

and the bootstrap method with B = 5000 to the original data; and the back- transformation method, Wald method, and likelihood-based third order method to both the logarithmic transformed data and square root transformed data.

The results obtained by the methods discussed in this paper are very different for different transformations. In particular, the logarithmic transformation results in a much larger upper bound of the interval compared to the square root transformation. Thus, it is essential to identify which transformation is more appropriate for a given set of data.

The de-trended normal Q-Q plots for the original data, logarithmic transformed data and square root transformed data are shown in Figure 1. From

Figure 1. De-trended Normal Q-Q plots for original and transformed data of the abundance of Eastern mudminnows.

these plots, it is obvious that the original data are not normally distributed because the points deviate from the horizontal reference line, which indicates identical quantiles between the data and a theoretical normal distribution. The two sets of transformed data are more closely normally distributed because the points in the de-trended normal Q-Q plots lie more closely to the reference line relative to the original data.

The Shapiro-Wilk test on normality of the original data gives a p-value of 0.1091. The same test on the logarithmic transformed data gives a p-value of 0.5261, and it gives a p-value of 0.6479 on the square root transformed data. Consistent with the de-trended Q-Q plot, the p-values of the Shapiro-Wilk test similarly suggest that the two transformed data sets are more likely to be normally distributed. Additionally, the empirical skewness of the original data, logarithmic transformed data, and square root transformed data are 0.5864, −0.4886, and 0.1632, respectively. These quantifications of skewness imply that the square root transformed data are more symmetrical than the original data and logarithmic transformed data. Thus, based on the criteria discussed in Section 2.3, the square root transformation is recommended for these data.

4. Simulation Study

A simulation study was carried out to compare the accuracies of the methods discussed in this paper. R code for the simulation is available to the interested reader upon request. For each $\left(n\mathrm{,}\mu \mathrm{,}\sigma \right)$ combination, we generated 10,000 samples from $\mathcal{N}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ . These are our simulated transformed samples, and the non-transformed (i.e., original) samples can be obtained by applying the inverse transformation to the simulated data. The transformations examined are the natural logarithm and square root. For each simulated sample, we computed a 95% confidence interval for the mean of the untransformed population from the five reviewed methods: Central Limit Theorem, bootstrap (B = 5000), back- transformation, Wald, and likelihood-based third order. The following quantities are recorded: the proportion of true means falling within the 95% confidence interval (coverage proportion), the proportion of true means less than the lower 95% confidence limit (lower error), and the proportion of true means greater than the upper 95% confidence limit (upper error). The nominal values of coverage, lower error, upper error, and bias are: 0.95, 0.025, and 0.025, respectively. We present only a small subset of the simulations we conducted to highlight several key points below, and other simulation results are available upon request.

Table 4 presents results with the natural logarithmic transformed data being

generated from $\mathcal{N}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ and the parameter of interest is $exp\left(\mu +\frac{{\sigma}^{2}}{2}\right)$ .

It can be observed that the likelihood-based third order method outperforms the other methods especially when the sample size is small; coverage, lower and upper errors associated with the likelihood-based third order method are relatively closer to nominal rates compared to the alternative methods. Among the remaining methods, the Central Limit Theorem method and the bootstrap

Table 4. 95% coverage probability for the logarithmic transformation case.

method give similar results. The Wald method seems to converge faster than the Central Limit Theorem and bootstrap methods. As discussed in Section 2, the back-transformation method gives unacceptable coverage probability because it is constructing confidence intervals about a parameter that is not of interest.

It can be observed that the likelihood-based third order method outperforms the other methods especially when the sample size is small; coverage, lower and upper errors associated with the likelihood-based third order method are relatively closer to nominal rates compared to the alternative methods. Among the remaining methods, the Central Limit Theorem method and the bootstrap method give similar results. The Wald method seems to converge faster than the Central Limit Theorem and bootstrap methods. As discussed in Section 2, the back-transformation method gives unacceptable coverage probability because it is constructing confidence intervals about a parameter that is not of interest.

Table 5 presents results with the square root transformed data being generated from $\mathcal{N}\left(\mu \mathrm{,}{\sigma}^{2}\right)$ and the parameter of interest is ${\mu}^{2}+{\sigma}^{2}$ .

Similar to results in Table 4, we can observe that the likelihood-based third order method outperforms the other methods, especially when sample size is small. In this context, the Central Limit Theorem method and the bootstrap method give similar results and they seem to converge faster than the Wald method. The back-transformation method continues to give unacceptable coverage probability because it constructs confidence intervals about a parameter that is not of interest.

Based on these simulation results, the Central Limit Theorem method, bootstrap method and Wald method converge slowly relative to the likelihood-based third order method. Hence, we recommend using the likelihood-based third order method to obtain confidence intervals for the mean of the non-transformed distribution after applying a normalizing transformation to non-normal data, especially for small sample sizes or large departures from normality. It is important to note that researchers should not use the popular back-transformation method despite its simplicity except for the special case where $\psi =E\left(X\right)$ Math_195#.

More simulations have been performed with the same pattern of results. They are not reported here, but are available upon request.

5. Conclusion

When interest is in constructing a confidence interval about a non-normal distribution, normalizing transformations are typically recommended as a first step. This paper recommends the use of de-trended normal Q-Q plots, the largest p-value of the Shapiro-Wilk test, and quantifications of skewness on the transformed data to determine the power parameter ( $\lambda $ ) for Tukey’s ladder of power transformation when the exact transformation is unavailable. Our results strongly advise against using the popular back-transformation approach in applied work because it does not construct confidence intervals about the parameter of interest (i.e., the mean of the original distribution). Instead, we recommend the

Table 5. 95% coverage probability for the square root transformation case.

likelihood-based third order method because of its superior performance in terms of its rate of convergence, coverage, and accuracy relative to the Central Limit Theorem, bootstrap and Wald methods, even when the sample size is small or the distribution is far from being normal.

Acknowledgements

We thank the editor and the referee for their comments. This work was based on O.C.Y. Wong’s undergraduate honors thesis. J. Pek was supported by the Natural Sciences and Engineering Research Council of Canada Discovery Grant (RGPIN-04301-2014) and the Early Researcher Award by the Ontario Ministry of Research and Innovation (ER15-11-004). A.C.M. Wong was supported by the Natural Sciences and Engineering Research Council of Canada Discovery Grant (RGPIN-163597-2012).

Cite this paper

Pek, J. , Wong, A. and Wong, O. (2017) Confidence Intervals for the Mean of Non-Normal Distribution: Transform or Not to Transform.*Open Journal of Statistics*, **7**, 405-421. doi: 10.4236/ojs.2017.73029.

Pek, J. , Wong, A. and Wong, O. (2017) Confidence Intervals for the Mean of Non-Normal Distribution: Transform or Not to Transform.

References

[1] American Education Research Association (2006) Standards for Reporting on Empirical Social Science Research in AERA Publications. Educational Researcher, 35, 33-40.

https://doi.org/10.3102/0013189X035006033

[2] Cumming, G. (2014) The New Statistics: Why and How. Psychological Science, 25, 7-9.

https://doi.org/10.1177/0956797613504966

[3] Wilkinson, L. and the Task Force on Statistical Inference (1999) Statistical Methods in Psychology Journals: Guidelines and Explanations. American Psychologist, 54, 594-604.

https://doi.org/10.1037/0003-066X.54.8.594

[4] Cumming, G. and Fidler, F. (2009) Confidence Intervals: Better Answers to Better Questions. Journal of Psychology, 217, 15-26.

https://doi.org/10.1027/0044-3409.217.1.15

[5] Cumming, G. and Finch, S. (2001) A Primer on the Understanding, Use, and Calculation of Confidence Intervals that Are Based on Central and Noncentral Distributions. Educational and Psychological Measurement, 61, 532-574.

https://doi.org/10.1177/0013164401614002

[6] Greenland, S., Senn, S.J., Rothman, K.J., Carlin, J.B., Poole, C. Goodman, S.N. and Altman, D.G. (2016) Statistical Tests, P Values, Confidence Intervals, and Power: A Guide to Misinterpretations. European Journal of Epidemiology, 31, 337-350.

https://doi.org/10.1007/s10654-016-0149-3

[7] Moore, D.S., McCabe, G.P. and Craig, B.A. (2014) Introduction to the Practice of Statistics 8th Edition, W.H. Freeman and Company, New York.

[8] Cain, M.K., Zhang, Z. and Yuan, K.H. (2016) Univariate and Multivariate Skewness and Kurtosis for Measuring Nonnormality: Prevalence, Influence and Estimation. Behavior Research Methods, 1-20.

https://doi.org/10.3758/s13428-016-0814-1

[9] Micceri, T. (1989) The Unicorn, the Normal Curve and Other Improbable Creatures. Psychological Bulletin, 105, 156-166.

https://doi.org/10.1037/0033-2909.105.1.156

[10] Bland, J.M. and. Altman, D.G. (1996) Transformations, means, and confidence intervals. British Medical Journal, 312, 1079.

https://doi.org/10.1136/bmj.312.7038.1079

[11] McDonald, J.H. (2014) Handbook of Biological Statistics. Sparky House, Maryland.

[12] Efron, B. and Tibshirani, R.J. (1994) An Introduction to the Bootstrap. Chapman and Hall, New York.

[13] Box, G.E. and Cox, D.R. (1964) An Analysis of Transformation (with Discussion). Journal of the Royal Statistical Society B, 26, 211-252.

[14] Tukey, J.W. (1977) Exploratory Data Analysis. Addison-Wesley, Massachusetts.

[15] Osborne, J.W. (2010) Improving Your Data Transformation: Applying the Box-Cox Transformation. Practical Assessment, Research & Evaluation, 15, Article 12.

[16] Razali, N. and Wah, Y. (2011) Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling tests. Journal of Statistical Modeling and Analytics, 2, 21-33.

[17] Barndorff-Nielsen, O.E. (1991) Modified Signed Log Likelihood Ratio. Biometrika, 78, 557-561.

https://doi.org/10.1093/biomet/78.3.557

[18] Fraser, D.A.S. (1991) Statistical Inference: Likelihood to Significance. Journal of American Statistical Association, 86, 258-265.

https://doi.org/10.1080/01621459.1991.10475029

[19] Fraser, D.A.S. and Reid, N. (1995) Ancillaries and Third Order Significance. Utilitas Mathematica, 7, 33-53.

[1] American Education Research Association (2006) Standards for Reporting on Empirical Social Science Research in AERA Publications. Educational Researcher, 35, 33-40.

https://doi.org/10.3102/0013189X035006033

[2] Cumming, G. (2014) The New Statistics: Why and How. Psychological Science, 25, 7-9.

https://doi.org/10.1177/0956797613504966

[3] Wilkinson, L. and the Task Force on Statistical Inference (1999) Statistical Methods in Psychology Journals: Guidelines and Explanations. American Psychologist, 54, 594-604.

https://doi.org/10.1037/0003-066X.54.8.594

[4] Cumming, G. and Fidler, F. (2009) Confidence Intervals: Better Answers to Better Questions. Journal of Psychology, 217, 15-26.

https://doi.org/10.1027/0044-3409.217.1.15

[5] Cumming, G. and Finch, S. (2001) A Primer on the Understanding, Use, and Calculation of Confidence Intervals that Are Based on Central and Noncentral Distributions. Educational and Psychological Measurement, 61, 532-574.

https://doi.org/10.1177/0013164401614002

[6] Greenland, S., Senn, S.J., Rothman, K.J., Carlin, J.B., Poole, C. Goodman, S.N. and Altman, D.G. (2016) Statistical Tests, P Values, Confidence Intervals, and Power: A Guide to Misinterpretations. European Journal of Epidemiology, 31, 337-350.

https://doi.org/10.1007/s10654-016-0149-3

[7] Moore, D.S., McCabe, G.P. and Craig, B.A. (2014) Introduction to the Practice of Statistics 8th Edition, W.H. Freeman and Company, New York.

[8] Cain, M.K., Zhang, Z. and Yuan, K.H. (2016) Univariate and Multivariate Skewness and Kurtosis for Measuring Nonnormality: Prevalence, Influence and Estimation. Behavior Research Methods, 1-20.

https://doi.org/10.3758/s13428-016-0814-1

[9] Micceri, T. (1989) The Unicorn, the Normal Curve and Other Improbable Creatures. Psychological Bulletin, 105, 156-166.

https://doi.org/10.1037/0033-2909.105.1.156

[10] Bland, J.M. and. Altman, D.G. (1996) Transformations, means, and confidence intervals. British Medical Journal, 312, 1079.

https://doi.org/10.1136/bmj.312.7038.1079

[11] McDonald, J.H. (2014) Handbook of Biological Statistics. Sparky House, Maryland.

[12] Efron, B. and Tibshirani, R.J. (1994) An Introduction to the Bootstrap. Chapman and Hall, New York.

[13] Box, G.E. and Cox, D.R. (1964) An Analysis of Transformation (with Discussion). Journal of the Royal Statistical Society B, 26, 211-252.

[14] Tukey, J.W. (1977) Exploratory Data Analysis. Addison-Wesley, Massachusetts.

[15] Osborne, J.W. (2010) Improving Your Data Transformation: Applying the Box-Cox Transformation. Practical Assessment, Research & Evaluation, 15, Article 12.

[16] Razali, N. and Wah, Y. (2011) Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling tests. Journal of Statistical Modeling and Analytics, 2, 21-33.

[17] Barndorff-Nielsen, O.E. (1991) Modified Signed Log Likelihood Ratio. Biometrika, 78, 557-561.

https://doi.org/10.1093/biomet/78.3.557

[18] Fraser, D.A.S. (1991) Statistical Inference: Likelihood to Significance. Journal of American Statistical Association, 86, 258-265.

https://doi.org/10.1080/01621459.1991.10475029

[19] Fraser, D.A.S. and Reid, N. (1995) Ancillaries and Third Order Significance. Utilitas Mathematica, 7, 33-53.