Next Article in Journal
Folate Decorated Nanomicelles Loaded with a Potent Curcumin Analogue for Targeting Retinoblastoma
Next Article in Special Issue
Veterinary Pharmaceutics: An Opportunity for Interprofessional Education in New Zealand?
Previous Article in Journal
Blend Hydrogel Microspheres of Carboxymethyl Chitosan and Gelatin for the Controlled Release of 5-Fluorouracil
Previous Article in Special Issue
Polypharmacy in Zoological Medicine
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations

by
Marilyn N. Martinez
1,* and
Mary J. Bartholomew
2
1
Office of New Animal Drug Evaluation, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA
2
Office of Surveillance and Compliance, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA
*
Author to whom correspondence should be addressed.
Pharmaceutics 2017, 9(2), 14; https://doi.org/10.3390/pharmaceutics9020014
Submission received: 17 January 2017 / Revised: 31 March 2017 / Accepted: 5 April 2017 / Published: 13 April 2017
(This article belongs to the Special Issue Veterinary Medicine)

Abstract

:
Typically, investigations are conducted with the goal of generating inferences about a population (humans or animal). Since it is not feasible to evaluate the entire population, the study is conducted using a randomly selected subset of that population. With the goal of using the results generated from that sample to provide inferences about the true population, it is important to consider the properties of the population distribution and how well they are represented by the sample (the subset of values). Consistent with that study objective, it is necessary to identify and use the most appropriate set of summary statistics to describe the study results. Inherent in that choice is the need to identify the specific question being asked and the assumptions associated with the data analysis. The estimate of a “mean” value is an example of a summary statistic that is sometimes reported without adequate consideration as to its implications or the underlying assumptions associated with the data being evaluated. When ignoring these critical considerations, the method of calculating the variance may be inconsistent with the type of mean being reported. Furthermore, there can be confusion about why a single set of values may be represented by summary statistics that differ across published reports. In an effort to remedy some of this confusion, this manuscript describes the basis for selecting among various ways of representing the mean of a sample, their corresponding methods of calculation, and the appropriate methods for estimating their standard deviations.

1. Introduction

In setting the foundation for any discussion of data analysis, it is important to recognize that most studies are conducted with the goal of providing inferences about some population. If it were possible to assess every element in a population, inference would be unnecessary. Since it is rarely feasible to evaluate the entire population, measurements are made on a sample of the population and those measurements are used to make inference about the distribution of the variable of interest (e.g., body weight, treatment outcome, drug pharmacokinetics, food intake) in the entire population. Imbedded within the concept of using finite samples to represent the larger population is the requirement that the observations be derived from a randomly sampled subset of the population. The larger the sample size, the better will be the approximation of the population distribution.
An evaluation of the sample data frequently includes calculation of sample mean and variance. The sample mean is a measure of location. The standard deviation (stdev), i.e., the square root of the variance, provides a measure of the dispersion of the values about the mean [1]. In addition to their use in interpreting individual study outcomes, these values are often compared across studies.
Once a sample mean and variance (or stdev) are calculated, researchers often use these estimates to generate inferences about the population parameters, the true mean (which is the expected value of the population), and the variance. For example, the area under the concentration versus time curve (AUC) is one variable used as an indicator of rate and extent of drug absorption. In a crossover bioequivalence (BE) trial, an AUC is computed for each study subject following the administration of a test product and a reference product and the ratio test AUC/reference AUC is of interest. The natural logarithm of the ratio of test AUC/reference AUC (i.e., the difference in natural log (Ln)-transformed AUC values) is subsequently calculated for each study subject. The mean and residual error (variance) of the within subject test/reference product ratios are determined. On the basis of these statistics, we can generate conclusions as to whether or not two products will be bioequivalent when administered to the population of potential patients.
While the concept of “mean” may appear straightforward, the “mean” needs to be appreciated from the perspective of the distribution of the underlying data that determined the method by which that mean was estimated. In this regard, depending upon their characteristics (i.e., what they represent), a set of numbers can be described by different mean values. For this reason, it is important to understand the reason for selecting one type of “mean” over another. Similarly, distributional assumptions influence the calculation of the corresponding error (variance) estimates. Data transformations change the distributional assumptions that apply. Nevertheless, there are instances where investigators use transformations when estimating the means but revert back to arithmetic assumptions in the calculation of the variance. Such method for calculating summary statistics is flawed, rending the sample and population inferences derived from that data analysis likewise flawed.
This leads to the question of the consequence of using (or not using) data transformations in the calculation of means and variances. When the data are derived from a normal (symmetric bell curve) distribution, we can infer that about 68% of the population values will be within one stdev of the mean, about 95% of the population values will be within two stdevs of the mean, and 99.7% of the values will be within three stdevs of the mean (the three-sigma rule [1]). We do not have this property to rely upon when using the arithmetic mean and the associated stdev to describe data from any other type of distribution. Appropriately chosen data transformations can result in a distribution that is more nearly normal, that is, closer to a symmetric bell shape, than the distribution of the original data and will permit the use of the three-sigma rule and other benefits that apply to normal data. In other words, when applying the 3-sigma rule, it needs to be applied under the conditions of the transformation that made the data distribution closer to a symmetric bell shaped curve.
As an example of how the natural logarithm transformation can correct right-skewed data distributions (a larger proportion of low values) and result in a distribution that is more nearly normal (i.e., closer to a symmetric bell shaped curve), Figure 1 shows the best fit distribution to right-skewed “Number” values in the left graph and the best fit distribution, a normal distribution, to the “Ln number” values in the right graph. The natural logarithm transformation can only be calculated for original values that are non-negative.
Similar results may be shown for the use of the reciprocal transformation (1/”Number”) which applies only to positive values. While there are many data transformations in use, this paper focuses on the natural logarithm transformation and the reciprocal transformation, which are transformations commonly applied to the analysis of right-skewed positive-valued biomedical data.
Taking this example further, we compute the arithmetic mean and the stdevs for both the original “Number” values and the natural logarithm transformed values “Ln number”. The original values are recorded in the units in which they were measured and are familiar to the researcher. However, the “Ln number” values are in units that may be less familiar. As a result, the mean and the mean ± 1, 2 or 3 × stdevs of the Ln-transformed values are transformed back into the original units by exponentiation. When the back-transformed values are compared to those calculated from the original values, we find that the location of the exponentiated mean of the Ln-transformed assessment (i.e., the geometric mean) is shifted to the left of the arithmetic mean. In addition, the distribution of the exponentiated Ln-transformed values is again right-skewed, with larger differences between the mean + stdev than between mean − stdev. While the mean minus some multiple of the stdev may be calculated as a negative number for the untransformed values, the lower limit of the exponentiated Ln-transformed values is constrained to be non-negative. See Table 1.
Clearly, in the absence of an appropriate data representation (i.e., if and when a transformation of the original observations is appropriate), we will have flawed assessments that will bias our interpretation of the study results and the associated population inferences derived from our analysis. In other words, in the presence of inappropriate data transformations (or in the absence of necessary transformations), the analysis of the data will be biased. It should also be noted that the greater the skewing of the data being evaluated, the greater the magnitude of the difference between the two sets of predictions.
Given the vast differences in inference that might be made depending on the sample statistics used to describe a study’s results, it is evident that authors should specify the nature of the mean being calculated and reported, and that the corresponding stdev needs to be calculated in a manner consistent with the distributional assumptions associated with the calculated mean value.
It is with these points in mind that this educational article provides a review of the different kinds of means, examples of when each may be appropriately applied, and statistically sound methods for estimating the corresponding variances and stdevs. The types of means and their associated stdevs discussed in this article include arithmetic, geometric, harmonic and least squares (see Appendix A for further discussion of these means). We also discuss how to determine the arithmetic mean and variance when data are pooled across published investigations when only summary statistics are available.
Given the density of information covered in this manuscript, we divided the information into the following sections:
2.1. Illustrating the problems: here we provide a summary of the kinds of data or situations where the different methods of estimating the summary statistics may be appropriate. We also provide a table of values to illustrate the differences in the values of the means and stdevs that are estimated (based upon a single set of initial values) based upon the assumption made about the distribution of that data, and we describe how the types of means and stdevs are matched to the data distribution and to the type of question being addressed.
2.2. Within study estimation: ungrouped data: This section applies to the evaluation of means and stdevs for a single set of observations (e.g., the average elimination half-life (T1/2) for a given drug product). The study design is not intended for a comparison across effects (e.g., no inter-treatment comparison).
2.2.1. Arithmetic mean and stdev.
2.2.2. Harmonic mean and stdev.
2.2.3. Geometric mean and stdev.
2.3. Within study estimation: grouped data: Here we provide an example to showcase the importance of adjusting for unequal number of observations associated with the factors being compared. An example of a method for estimating the mean and stdev in the presence of study imbalance is provided for a simple situation of a parallel study design where the data are assumed to be normally distributed [1,2].
2.4. Between-study comparison: There are occasions when reported means and stdevs are combined to obtain a pooled estimate of the mean and stdev of a variable (e.g., AUC). This kind of analysis is frequently used by the generic drug working group within the Clinical and Laboratory Standards Institute (CLSI) Veterinary Antimicrobial Susceptibility Testing Subcommittee (VAST), VET01 document (Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated from Animals; Approved Standard) which can be found at the CLSI website, CLSI.org. When generating a cross-study pooling of data, it is important to consider the differences in the number of observations included in each of the pooled study reports. Using a hypothetical example (intentionally different from situations encountered by the CLSI), we provide a method for generating an unbiased estimate of means and stdevs in the presence of study imbalance. Of course, the statistical considerations (as described earlier in this review) need to be evaluated prior to the inclusion of any dataset within a pooled analysis.
It is important to recognize that there are many experimental and statistical considerations to be considered during study protocol development, data analysis, and study interpretation. Among these are estimator bias, independence of observations, distribution of the residuals, and homogeneity of variances. This information is discussed in great detail in basic statistics textbooks [1,2] and therefore will not be covered in this review.

2. Estimation of Means and Variances

2.1. Illustrating the Problem

Table 2 provides three types of means (averages) and stdev calculated from one set of values. The issue here is not which is the most appropriate “mean” to use but rather to illustrate that a single set of values can have different “means”, depending upon the assumptions associated with the nature of the distribution from which the data originates. In this example, in addition to use of the untransformed data (i.e., estimation of the arithmetic mean shown in Table 1), the individual values were either transformed to their natural log (Ln) values (resulting in the calculation of a geometric mean shown in Table 1 as the back-transformed value of the mean of “Ln-number”) or as the reciprocals of their original values (resulting in the calculation of a harmonic mean). For example, the value of the first “Number” is 11. When Ln-transformed, the value is 2.4 and when expressed as the reciprocal, the value is 1/11 or 0.09. Within each column, the summary statistics were evaluated based upon the equations provided in this review. The mean estimate, based upon whether the data values in the column are presented on the Ln scale or as a reciprocal and back-transformed from the mean of the values in the column to the original scale, is provided in the corresponding column. That is, the geometric mean is the value obtained, as shown in Equation (11), by exponentiating the arithmetic mean of the Ln-transformed values (2.34, not shown). The harmonic mean is the value obtained by taking the reciprocal of the arithmetic mean of the reciprocal values (0.11, not shown).
The corresponding geometric and harmonic stdevs were calculated in accordance with the methods described later in this manuscript, justified by the use of the Norris expansion method [3]. The percent coefficient of variation (%CV) (where %CV = 100 × stdev/mean), based upon the geometric and harmonic stdevs and corresponding means, is justified by the method we used for calculating the variability estimates. Please note, in contrast with the need to determine the mean ±1, ±2, or ±3 stdev within the scale of the transformation and then report them as their back-transformed values, the %CV is estimated using the means (Equations (1), (3), or (5)) and the formula for the associated stdev (Equations (2), (4), or (12)) described in the following sections (e.g., geometric stdev/geometric mean, harmonic stdev/harmonic mean).
Table 2 showcases the point that an estimate of the mean, stdev and %CV is dependent upon the assumptions made about the characteristics of the data distribution. Accordingly, and in response to confusion that has sometimes been expressed, what appears to be inconsistencies among study reports may in fact be a reflection of how these basic statistical values have been calculated. It is also interesting to note that the arithmetic mean > geometric mean > harmonic mean. A discussion for the mathematical underpinnings for this outcome is provided in Appendix B.
Identifying when each of the kinds of means should be applied is a first-step in this analysis. Indeed, these same points could be important to consider when designing the study as it can influence the number of subjects that need to be included. We leave the issue of study design to the reader, to be matched with the specific objective of the investigation. Within the framework of this review article, a summary of considerations with regard to matching the type of mean with the distribution and study considerations is provided in Table 3.

2.2. Within Study Estimation—Ungrouped Data

2.2.1. Arithmetic Mean and Standard Deviation

The arithmetic mean reflects the sum of the individual values divided by the number of values in the sum. In mathematical notation, we show the summing function using a capital sigma (Σ) and we indicate that we are summing over all n observed values, xi, by using the index, i, to indicate each integer from 1 to n, in turn.
X ¯ = i = 1 n x i n
The stdev is the square root of the sum of the squared differences between each observation and the arithmetic mean, divided by n − 1 [1].
S t d e v = i = 1 n ( x i X ¯ ) 2 n 1
One question that arises is why we divide by n – 1 rather than n. Assuming that we have a random selection of observations sampled from the population of interest, dividing by n − 1 versus n, is necessary to obtain an unbiased estimation of the population variance. This then is because the sample variance is itself a random variable (i.e., if variances were estimated for several sets of samples from the same distribution, we would obtain a range of values). If we were then to take the average of all possible sets of sample variances, the average value should equal the true population variance. Using n − 1 is said to account for the fact that one estimate (the sample mean) was used in the calculation of the sample variance. That is also why when one has measurements on the entire population of interest (e.g., the average height of all the students in fifth grade at a particular school in 2016), the population parameter values are obtained for the mean and the variance and the denominator for the variance is no longer n − 1 but n. In other words, we are no longer calculating sample statistics as population estimates but rather the population values themselves. Since small samples tend to underestimate the variance (stdev), a less biased estimate is achieved by dividing the value by (n − 1) rather than n.

2.2.2. Harmonic Mean and Standard Deviation

Harmonic Mean

The harmonic mean (HM) is the reciprocal of the arithmetic mean of the reciprocals of the observed values [4]. The reciprocal transformation applies to positive values only.
HM = 1 ( i = 1 n 1 x i n ) = n ( 1 x 1 + 1 x 2 + 1 x 3 + ... + 1 x n )
Table 3 indicates that the concept of harmonic mean is useful in the evaluation of half-lives. Confusion has occasionally been expressed by the observation that although the arithmetic mean of the individual T1/2 values is always greater than the HM of the individual T1/2 values, there is no difference in the estimate of the T1/2 mean when estimated as 0.693/(arithmetic mean of λz) or as the HM of T1/2 values. The reason for this relationship is detailed in Appendix C.

Estimation of the Harmonic Standard Deviation

The formula for the stdev associated with the HM is written as follows [3]:
HM 2 i = 1 n [ 1 x i i = 1 n 1 x i n ] 2 n 1
where xi is the original observation and n is the number of observations.
Note again that when the stdev for T1/2 is computed on the basis of the reciprocal λz values, to return to an estimate of the stdev associated with the T1/2, it is necessary to divide by the constant 0.693. Indeed, it is this estimate of the stdev which should be used when describing the variation of individual values about a HM. The use of stdev values estimated on the basis of the arithmetic T1/2 is appropriate only when used to describe the variability about an arithmetic mean. Such values should not be reported when the T1/2 is summarized as the HM.
The estimation of the stdev associated with the HM, and the corresponding Excel codes, are provided in Table 4.

2.2.3. Geometric Means and Standard Deviations

Estimation of the Geometric Mean

The geometric means are typically reported when describing data that have been Ln-transformed prior to analysis (e.g., AUC or Cmax). It is also used for the estimation of means when the values are multiplied rather than added together. Both of these situations are described below.

Multiplicative Relationships

The geometric mean is calculated as the nth root of the product (denoted by the symbol Π ) of the n positive observations.
G = Π i = 1 n x i n = ( x 1 x 2 x n ) 1 / n
To illustrate the error that would have occurred if the arithmetic (additive) rather than the geometric (multiplicative) mean was estimated when dealing with multiplicative relationships, we can consider the growth rate values provided in Table 5 (includes Excel code). Here we see that by calculating the arithmetic rather than the geometric mean, we would have markedly over-estimated the proportion of initial amount remaining (89.2% versus the 76.9%). Examples where this kind of calculation may be applicable include bacterial growth (where we are dealing with a constant time for change measurement) or in a financial situation where we are concerned with changes as a function of month or year.
A slightly different set of considerations would be needed if the time associated with the rates of change is not held constant. For example, consider the situation where geometric bacterial growth rate is being traced in response to changing ecological conditions. The numbers of bacteria after a period of change can be described as follows:
Y = X × Δτ/λ
where X = the starting bacterial number
  • Δ = the kind of change (where Δ = 2 for doubling; Δ = 0.5 for halving)
  • λ = the time associated with a doubling or halving of bacterial number
  • τ = the duration of time
  • Y = the resulting bacterial number
In this hypothetical example, we are starting with 100 isolates. These bacteria have an initial doubling time of 10 min for a duration of 20 min, a reduction in numbers (e.g., due to the presence of some stressors) where there is a halving of numbers every 35 min for a duration of 120 min, followed by a resumption of growth at the original growth rate for 60 min. Sequentially using the equation above, the estimated number of bacteria at the end of 200 min is found to be 2377.6:
Y1 = 100 × 220/10 = 400
Y2 = 400 × 0.5120/35 = 37.15
Y3 = 37.15 × 260/10 = 2377.6
The results are also depicted in Table 6 (values) and Table 7 (Excel spreadsheet code):
What was the average rate of change that occurred over this 200 min. duration? Can the formula for computing the geometric mean be applied to these three relative changes to obtain a meaningful geometric mean?
The answer to that is NO, and here is why. As expressed in this example, the three relative changes are not comparable expressions of rate of change. For the computation of the geometric mean to be meaningful, the relative changes must all be expressed for the same time interval.
In the financial example, the rate of increase was given in annual increments. In the bacterial growth example, the doubling time was expressed as a 10 min interval while the halving time is expressed as a 35-min interval. Thus, one of the rates needs to be converted to the time interval of the other. As an illustration, the rate of decrease during a 10-min time interval is determined by taking τ to be 10. Therefore, the relative decrease in a 10-min interval is:
Δτ/λ = (0.5)10/35 = 0.820
Following the format of the financial example above, there are two 10-min intervals with a relative change of 2, twelve 10 min intervals with a relative change of 0.820, followed by six more 10-min intervals with a relative change of 2. The geometric mean of the relative change per 10-min interval is (22 × 0.82012 × 26)1/20 = 1.172. Table 8 shows the calculation of the expected number of bacteria at the end of each 10-min interval and the calculation of the geometric mean of the 10-min interval rates. In addition, the table shows that replacing each 10-min interval rate with the geometric mean of the 10-min interval rates results in the same calculation of number of bacteria at the end of 200 min.
Note that if one wanted to estimate the mean number of colony forming units (CFUs) over the 200 min duration (i.e., mean CFU/min), this would be estimated by integrating the CFU vs. time profile (area under the curve, AUC), with the total area divided by 200 min (Figure 2). Concepts of AUC are familiar to scientists working with pharmacokinetic data. Since the AUC0–200 ~ 57982, the mean CFU/min ~ 290.

Ln-Transformed Data

This discussion of geometric means from the example of rates, as shown in the bacterial example, segues with the estimation of means when using Ln-transformed parameters such as AUC and Cmax. Ln-transformation of these pharmacokinetic parameter values is based upon an assumption that they are better described in terms of a log-normal rather than a normal distribution. Because Ln(a) + Ln(b) = Ln(ab), the process of adding Ln-transformed values is in fact a multiplicative computation. Furthermore, because Ln (ab)1/n = (1/n)Ln(ab) and exp[Ln (ab)1/n] = (ab)1/n, exponentiation of the averaged Ln-transformed values reverses the estimation procedure from one of addition (Ln-transformed values) to that of multiplication when expressed on the original scale.
In mathematical symbols, the geometric mean from Equation (5) may be obtained by:
exp [ i = 1 n ln ( x i ) n ] = ( x 1 x 2 x n ) 1 / n
In the situation where the original data are log-normal and log transformed, it is convenient and appropriate to obtain a value for the geometric means by exponentiating the arithmetic average of the log-transformed values.
Using the values provided in Table 2, let us this time assume that rather than T1/2, these reflect Cmax values (Table 9). The difference between the arithmetic mean of the untransformed data versus the geometric mean (based upon the Ln-transformed dataset), is provided below. Again, the arithmetic mean of the Ln-transformed data are exponentiated to obtain the geometric mean (i.e., 10.4 = exp2.34).

Estimation of the geometric standard deviation (for Ln-transformed values)

The following equation describes a method for obtaining an estimate [3] of the stdev when the geometric mean, G, is used:
G × i = 1 n [ ln ( x i ) ln ( x i ) n ] 2 n 1
where the xi are the individual observations, with i ranging from 1 to n [4].
The calculation of the stdev for the Cmax example from Table 9 is provided in tabular form (values and Excel equations) in Table 10.

2.3. Least Square (Marginal) Means Grouped Data

This discussion focuses on the estimation of means and stdevs when there are an unequal number of observations associated with the factors being compared [5,6]. While the precise calculation of the marginal means need to reflect the study design and the statistical model being used, we provide a simple case of two sets of independent observations associated with the effects being compared. We are also assuming that the data are normally distributed for the purpose of this example.

2.3.1. Estimation of the Mean

There are circumstances when the study design necessitates blocking the experimental units by a specified variable (e.g., gender, age, sequence of treatment administrations) due to expected differences among those experimental units that are attributable to the specified variable [6]. Under the conditions where there are an equal number of observations within each block, sample statistics may be based upon arithmetic means and variances. However, a more complicated situation is when there is study imbalance such that some blocks of experimental units are under-represented relative to other blocks, e.g., more males than females.
Least square means (LSmeans, also known as estimated population marginal means) provide an opportunity to obtain an unbiased estimate of averages in the face of this kind of study imbalance. For example, Table 11 provides a hypothetical example of body weights measured in two groups of men and women. In one group, all observations were made in the individuals that were enrolled in a daily exercise routine. The other group was comprised of individuals who did not engage in any regular exercise program. Due to differences in the proportion of men and women enrolled in these two groups (a parallel study), males had the greater total influence on results of the arithmetic mean generated in the exercise group (more males than females) while females had the greater influence on the arithmetic mean value calculated in the no exercise group (more females than males). For this reason, when looking at the arithmetic means (with and without exercise), the results suggest that body weights were actually lower in the no exercise group as compared to that associated with people who exercised. However, when averaging the means within each cell (i.e., the marginal means determined, for example, by taking the average of males in the exercise group and the average of the females in the exercise group) and then basing our LSmean estimates for the exercise group and the no exercise group on the average of the corresponding marginal means, we now see that on the average, body weight was slightly lower in those individuals that exercised than those that did not. That is, let X ¯ 1 be the marginal mean for the males in the no exercise group, let X ¯ 2 be the marginal mean for the females in the no exercise group, and similarly, let X ¯ 3 be the marginal mean for the males in the exercise group, and X ¯ 4 be the marginal mean for the females in the exercise group. Then, the LSmean for the no exercise group, T0 is:
X ¯ T 0 = X ¯ 1 + X ¯ 2 2

2.3.2. Estimation of the Stdev about the LSmean

Inherent in the use of LSmeans [6,7] is an assumption that there is some difference between the groups comprising the two treatments being compared (in our example, the difference between the groups is reflected by the separation of participants by gender). Under that assumption, we need to consider if the mean and stdevs reflect a normal distribution or some other type of distribution. With respect to the example above, we see that men and women clearly have unequal body weights, irrespective of whether or not they were on the exercise program. Thus, the means and, possibly, the variances will likewise be dissimilar. It is for this reason that the LSmeans for the treatment effects, which in our example corrected for the imbalance of gender blocks within treatment, provides a different result than did the arithmetic treatment mean.
For this reason, estimating the variability about the LSmean is far more complex than those associated with harmonic, geometric, or arithmetic means. This is because the estimation of variability for the LSmean needs to consider both the variability within a block and between blocks. Therefore, these are typically generated through using an analysis of variance (ANOVA) program. When running an ANOVA, the value that is reported with the LSmeans is the standard error (SE). Therefore, the question is “How does a statistical program estimate the LSmeans and the corresponding error about the mean estimate?” To begin, let us consider the equation for calculating the SE of an arithmetic mean. When dealing with a simple random sample taken from the population of interest, the SE of the mean is the square root of the variance divided by the sample size (which is equal to the stdev divided by the square root of the sample size).
S E   of   the   mean = variance n = Stdev n
In this case, if one is given the SE of the mean, simple multiplication of that value by the square root of the sample size yields the stdev estimate for the underlying population of values. In other words, if we repeatedly sampled and obtained means derived from the same population, the deviation of estimates of the average of those means (i.e., the stdev about the mean of the means) can be described by the SE of the mean, and the variability among the estimates of the means will be less than the variability associated with the individual observations.
For example, the LSmean for the no exercise treatment (T0) values is the average of the marginal mean of the 10 females (158 lbs) and the marginal mean of the 5 males (202 lbs). This results in the LSmean of 180 lbs, with a computer-generated SE for this LSmean being 3.21 lbs. Upon multiplying 3.21 lbs by the square root of 15 (the total number of observations in the no exercise group (5 males + 10 females), we estimate the stdev of the no exercise group to be 12.43 lbs. Based on this information, we would imagine the underlying population that generated this data summary to look as follows (Figure 3).
However, given that we know that there are differences between men and women, we need to ask whether such a variability estimate provides an accurate representation of the true population. Before reporting these error estimates, we need to ask how to provide a close approximation of the underlying population(s) from which we obtained our samples. In fact, it is with that question in mind that an ANOVA was performed with a model that accounted for both gender and treatment effects.
Revisiting the same dataset, we see that the distribution of weights in females that did not exercise is about normal (157.8, 11.73), as shown in Figure 4.
Similarly, the distribution of weights in the males that did not exercise is about normal (202.4, 11.72), as shown in Figure 5.
In requesting an estimate of the least squares mean for treatment in the no exercise group, we are essentially requesting an estimate of the mean that would have been obtained if we had sampled from the male population of non-exercisers and from the female population of non-exercisers equally. Figure 6 provides the distribution that results when we have an equal probability of drawing a value from the male distribution and from the female distribution. Note that the population is no longer represented as a single normal distribution but rather as a bimodal equal mixture of the male and the female distributions.
As evidenced by this figure, and as reflected in the corresponding estimation of the stdev, this bimodal distribution has a higher estimate of the stdev of T0 (25.10) as compared to that reflected by the previous assumption that the mean was associated with a single normally distributed population (stdev of T0 = 12.44). This underscores the importance of considering the underlying assumption that is the foundation for the data analysis. Within the context of this example, having generated a statistical analysis using a model containing a term for gender effects and having discovered that gender is a statistically significant term, one needs to determine the information that should be conveyed about the LSmeans when combining the two genders and the stdev for the underlying joint population. In light of the identified gender effects, the question is whether it was more appropriate to compare treatments (with or without exercise) using data that are pooled across sexes or whether it would have been preferable to separate the assessment to one generated within a gender. The answer to that question depends upon the study objective which in turn, should be reflected in the study protocol.
How does this relate to our typical pharmacokinetic or bioequivalence studies? This kind of question may have relevance when there is reason to believe that there may be gender-by-formulation interactions. Unless there are data to the contrary, however, we typically assume that the two subpopulations do not differ with respect to their overall mean values and variances. Another example of potential relevance is imbedded within the design of crossover trials where there is the assumption of no statistically significant sequence effects (i.e., that the relationship between the rate and extent of absorption for two treatments do not differ as a result of the order in which they are administered). Accordingly, even in the face of an imbalance in subjects nested within sequence, we allow for the use of the ratio of the LSmeans and the corresponding SEs of that estimate when calculating the 90% confidence intervals for AUC and Cmax. Nevertheless, this exercise underscores why, from a statistical perspective, calculation of the 90% confidence interval could be biased in the face of statistically significant sequence effects.
For each main effect LSmean, Table 12 provides a comparison of the corresponding stdev estimated by using the within/between calculation vs. that estimated by simulating the population as if there were an equal probability of drawing from the two groups comprising the LSmeans. On the outside chance that the stdev for the bimodal situation is desired, it can be approximated by using the within/between type of calculation used for the meta-analysis example described in the next section (estimating the variance when utilizing data derived across several studies).

2.4. Cross Study Comparisons

Research based on synthesizing information from a number of independently conducted biomedical studies has been occurring since at least 1904 when Karl Pearson compared infection rates among inoculated soldiers and soldiers that had not been inoculated [8]. In the 1930s, as related in the Hodges and Olkin [9], publications on how to combine data from agricultural experiments were written by groundbreakers in the field of statistics, L.H.C. Tippett, R.A. Fisher, Karl Pearson, Yates and Cochran. From there, the synthesis method (that came to be known as the meta-analysis) expanded into the social sciences and has experienced a burgeoning popularity in the areas of clinical medicine and epidemiology. Accompanying the increase in its application, there was a concomitant growth in the numbers of papers that provided complex methodologies for combining information from various studies.
When pooling information across studies to estimate an overall average and variance, there needs to be consideration given to the number of observations in each of the respective studies, the within-study variance associated with each investigation, and the cross-investigational variance. In situations where this numerical solution would be employed, we may have access only to published sample statistics such as the sample size, mean and stdev from each of studies evaluated. We may not have access to the underlying datasets. Therefore, there is a need to ascertain an appropriate method by which to estimate means and variances when using conducting a cross study evaluation based solely on the available summary statistics.
To address this question, let us consider a scenario where there were four trainers, each one having a different number of runners under their tutelage. A separate study was conducted for each of these trainers to ascertain the average miles per hour (MPH) and the stdev among runners covering a given course. Their corresponding metrics are summarized below (Table 13):
If the goal is to estimate a global stdev and mean (i.e., to describe the MPH for all runners, irrespective of their trainer), the data generated from each of these studies would need to be combined. The synthesis of the information derived from each of the four trainers is contingent upon an assumption that the samples were drawn from the same underlying population (i.e., runners for the four trainers were derived from the identical population of potential runners). In other words, we assume that the differences in the statistics among the studies reflect only sampling variation. It is only on the basis of that assumption, that the cross study mean and stdev can be calculated as described below.

2.4.1. Estimating the Population Mean

The index for study number (the trainer in this example) is i, going from 1 to I, the number of studies. I is four in this example. For study i, we have the sample size ni (i.e., the number of subjects included in study i), a sample average X ¯ i , and a standard deviation stdevi.
In many cases, published manuscripts provide a biased estimate of cross study mean and stdev because differences in samples sizes are not considered. It is not uncommon to find the study averages, or cross-study mean, used to estimate the population mean. In so doing, each observation is not receiving an equal weight (influence) on the total population average. Accordingly, as shown in Equation (15), the mean is the unequally weighted (uneqwtd) mean.
X ¯ .. u n e q w t d = i = 1 I X ¯ i I
In this example, it is important to recognize that what is being described is the average of the individual study (trainer) averages and not the averages across all of the individual observations. When the population mean estimate is calculated in this way, individual observations from different studies exert an unequal influence on the overall estimate. For example, if one study contains data on 4 subjects while another study includes 20 subjects, then the simple averaging of the two studies would result in each subject in Study 1 contributing 1/8th (1/4 × 1/2) of the overall influence on means and variances while each subject in Study 2 would contribute only 1/40th (1/20 × 1/2) of the overall influence. We need to adjust the values so that each subject in each study contributes only 1/24th to the estimate of the population mean.
To weight each subject equally in the population mean estimate, the LSmean should be used.
In this example, N = 35 (10 + 5 + 8 + 12 runners).
X ¯ .. = i = 1 I n i X ¯ i N   where   N = i = 1 I n i
So in our trainer example, the overall LSmean would equal:
[(10 × 6.2) + (5 × 5.5) + (8 × 6.1) + (12 × 6.8)]/35
The calculations are provided in the two right hand columns of Table 13.

2.4.2. Estimating the Population Variance

Recognizing that the stdev is the square root of the variance, we will first consider estimating the global stdev since the stdevs are given for each study.
Each standard deviation, SDi estimates the (square root of) variation within the study from which it was calculated. Just as with the samples averages, one might think of estimating the population within study stdev as the average of the sample stdevs, deriving an average within-study standard deviation (SDWA) as follows.
S D W A = i = 1 I S D i I
Similarly, one might think to estimate between-study standard deviation (SDBA) as the stdev among the study means as follows:
S D B A = i = 1 I ( X ¯ .. X ¯ i ) 2 I 1
The concept of partitioning total variance into both within study and between study variations is familiar to anyone who has studied the analysis of variance. Clearly, using the square of just one of SDWA or SDBA will seriously underestimate the total population variance. The most straightforward way to think about calculating an estimate of the population variance from the estimates of within and between study stdevs would be to square the stdevs and to add them.
T o t a l V a r u n w t d = ( S D B A ) 2 + ( S D W A ) 2
Doing so, however, results in a sum which, much like the unweighted mean in Equation 15, does not appropriately weight the contribution of the within and between study components of variance to the total, nor the magnitude of that contribution for each study within the two components. Therefore, to calculate the estimate of population variance with the correct weights, we follow the steps as described in Appendix D. Accordingly, the within study sums of squares, SSw is the weighted sum of the individual study variance estimates.
S S W =   i = 1 I ( n i 1 )   S D i 2
The between-study sums of squares, SSB, is the weighted sum of the squared deviations of the individual study means from the LSmean.
S S B   = i = 1 I n i ( X ¯ i X ¯ .. )   2  
Then the estimate of the population variance is the total sums of squares divided by the total sample size minus one.
V a r i a n c e W B   = [ S S W + S S B ] N 1 = S S T N 1
The weighted total stdev is the square root of the weighted variance estimate (Table 14) and the corresponding Excel codes are provided in Table 15. A discussion of the numerical underpinnings of this approach is provided in Appendix D.

3. Closing Comments

Our hope is that this educational article will serve both as a resource and as an instructional tool for the scientific community. Where possible, we provide samples of excel coding so that an estimation of the respective means and stdevs can be readily transferred to an Excel spreadsheet.
Importantly, through the discussions in this manuscript, our goal is to encourage an appreciation and identification of the underlying assumptions that influence our interpretation of any dataset.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Types of means discussed in this article (refer to references as defined in the body of the manuscript):
Arithmetic   mean   =   s u m n
Geometric   mean   =   p r o d u c t n   ( e . g . ,   growth   rate )
Harmonic   mean   =   n [ 1 a + 1 b + 1 c ... 1 n ]
Least square means are estimated in a manner comparable to that of the arithmetic mean. However, the fundamental difference is that the study design and potential imbalance (dissimilarity between the numbers of observations in the comparators) are adjusted for, such that each observation becomes equally weighted [7]. This is accomplished by the use of marginal means. For example, for two groups of size n1 and n2, with marginal means X ¯ 1 and X ¯ 2 :
Least   squares   mean   =   ( n 1 × X ¯ 1 + n 2 × X ¯ 2 ) / ( n 1 + n 2 )
For more information on the challenges associated with the use of a spreadsheet to estimate the LSmeans and the lack of a simple formula to follow, please see the blog discussion link: http://onbiostatistics.blogspot.com/2009/04/least-squares-means-marginal-means-vs.html.
With two or more factors in a model, the least squares mean calculation is depicted in matrix algebra which is beyond the scope of this manuscript. For more information, refer to [10].

Appendix B

Proof that the arithmetic mean is always greater than the geometric mean, which is always greater than the harmonic mean:
Arithmetic   mean   =   A + B 2
Geometric   mean   =   A B
Harmonic   mean   =   2 [ 1 A + 1 B ]   and   if   multiplied   by   A B A B   can   be   written   as   2 A B B + A
Demonstrating that the arithmetic mean > geometric mean:
( A B ) 2 0
A2 − 2AB + B2 ≥ 0.
By adding 4AB to each side of the inequality,
A 2 + 2 A B + B 2 4 A B ,   which   is   ( A + B ) 2 4 A B
Taking the square root of the both sides, A + B ≥ 2 A B and then dividing both sides by 2,
A + B 2 A B
Showing that the arithmetic mean is greater than or equal to geometric mean.
Continuing, we multiply the line above by 2, returning to A + B ≥ 2 A B . Then, divide both sides by A + B,
1 ≥ 2 A B A + B and next multiply both sides by A B
A B 2 A B A + B
Showing that the geometric mean is greater than or equal to the harmonic mean.
Note that these relationships hold under the condition that A and B are non-negative values.
These results can be extended to an arbitrary number of variables [11]. However, only two are included here to facilitate understanding.

Appendix C

Relationship of Terminal Elimination Rate Constant and the T1/2

Starting at 1 (for 100%) as the portion of the initial amount of a chemical, the decay curve decreases to nearly zero. Using 0 to 1 on the y-axis, the half-life is the time associated with the point at which the curve crosses 0.5. Typically, the amount on the y-axis is transformed to its natural log (Ln) values since decay curves are curvilinear and the log transformation linearizes the relationship between the Ln fractional amount of original material remaining and time. Lambdaz (λz) is the elimination rate constant at the zth phase of the decay portion of the profile, estimated as the slope of the line. For the sake of this discussion, assume that the drug in question follows a one-compartment open body model and therefore “z” is the terminal phase of decline.
Assume that the fractional part of the original amount at time 0 is 1, the entire original amount, which is the intercept of a (log linear) regression. Let Y be the fractional amount of original material remaining at time t, then the linear relationship is:
Ln(Y(t)) = Ln(1) − λz × (t),
Note that since Ln(1) = 0, the regression equation is really:
Ln(Y(t)) = −λz × (t),
The regression equation associated with the half-life would be that of the time when the value of Y(t) would be ½ or 0.5. That is,
Ln(1/2)= −λz × (T1/2).
Since Ln(½) = Ln(1) − Ln(2), then upon dividing both sides by −λz, we can solve for T1/2:
((Ln(1) − Ln(2)) /(−λz) = T1/2
Since Ln(1) = 0, the equation can be rewritten as:
−Ln(2)/−λz = T1/2 = 0.693/λz
The relationship between Y(t) vs. t and Ln(Y(t)) vs. t is illustrated in Figure A1 and Figure A2 and in Table A1.
Figure A1. Depletion curve shown on the linear scale. The curve is best described by the relationship: Y = 100 × exp−0.1735x; where X = time (h).
Figure A1. Depletion curve shown on the linear scale. The curve is best described by the relationship: Y = 100 × exp−0.1735x; where X = time (h).
Pharmaceutics 09 00014 g007
Figure A2. Depletion curve shown for Ln-transformed values. The line is best described by the equation Ln(Y) = −0.1735X + 4.6052, where X = time (h).
Figure A2. Depletion curve shown for Ln-transformed values. The line is best described by the equation Ln(Y) = −0.1735X + 4.6052, where X = time (h).
Pharmaceutics 09 00014 g008
Table A1. Comparison of arithmetic vs. HM for T1/2 estimates (including both the values and the codes for estimating these values based upon the columns and rows that might be found in an Excel spreadsheet).
Table A1. Comparison of arithmetic vs. HM for T1/2 estimates (including both the values and the codes for estimating these values based upon the columns and rows that might be found in an Excel spreadsheet).
Data RowColumn CColumn DColumn E
T1/2λz1/T1/2T1/20.693/λzT1/2
Row 2110.0630.091
Row 370.0990.143
Row 490.0770.111
Row 540.1730.25
Row 6100.0690.1
Row 7120.0580.083
Row 8230.030.043
Row 9150.0460.067
Row 1070.0990.143
Row 11180.0390.056
Arithmetic mean11.60.075 sum(C2:C11)/10
0.693/(Arith mean λz) 9.202 0.693/(sum(D2:D11)/10)
Harmonic mean of T1/2 9.202 1/(sum(E2:E11)/10)

Appendix D

Cross-Study Variability Estimation Procedure (Background)

It is demonstrated through the following algebra that a total variance estimate calculated by adding the squared weighted within- and between-study stdevs is biased and gives incorrect weights to the within and between-study components of variance.
In the general setting where Xij is the jth observation from group I, basic textbook introductions [1] to analysis of variance show that the SST, the total sum of squared deviations from the grand mean, X ¯ .. , can be divided into two sums of squares, as illustrated below, because their cross products sum to zero.
S S T = i = 1 I j = 1 n i ( X i j X ¯ .. )   2 =   i = 1 I j = 1 n i [ ( X i j X ¯ i . )   2 + ( X ¯ i . X ¯ .. )   2 ]  
The first component of the right hand side of this equation is the SSW. As discussed prior to Equation (21), by definition of the sample Stdev for study i, the contribution of study i to SSW is equal to (ni − 1) S i 2 and the SSW is the sum of the contributions from all studies.
S S W =   i = 1 I j = 1 n i ( X i j X ¯ i . ) 2 = i = 1 I ( n i 1 )   S i 2
The second component of the right hand side of the equation describing SST is the SSB. It can be simplified as displayed in Equation (22) because there are no terms involving the index j.
S S B   = i = 1 I j = 1 n i ( X ¯ i . X ¯ .. ) 2 = i = 1 I n i ( X ¯ i . X ¯ .. )   2
We examine the case where all the studies have the same sample size, n, to facilitate further discussion. (n × I = N total observations). When conducting a meta-analysis, we assume that all studies have drawn samples from the same population. Therefore, the average of the stdevs across the studies ( S ¯ . ) is an estimate of stdev for the population and squaring S ¯ . provides an estimate of the within group variance, which is the same for all groups. Under these two assumptions, (n − 1) S ¯ . 2 can be substituted for the sum of the squared deviations for each group. Carrying this out, one finds that SSW is estimated by (NI) S ¯ . 2
S S W   = i = 1 I ( n 1 )   S ¯ . 2   = I ( n 1 ) S ¯ . 2   = ( N I ) S ¯ . 2
Next, consider the between group sums of squares SSB with equal n.
S S B   = n   i = 1 I ( X ¯ i X ¯ .. )   2  
The definition of the sample variance among the group averages S X ¯ i 2 is as follows.
S X ¯ i 2   =   i = 1 I ( X ¯ i X ¯ .. ) 2   I 1
Using the same argument as the one used prior to Equation (21), the sum of squared deviations of the study means about their grand mean can be rewritten as (I − 1) S X ¯ i 2 .
S S B   =   n i = 1 I ( X ¯ i X ¯ .. ) 2   =   n   ( I 1 )   S X ¯ i 2   =   ( N n ) S X ¯ i 2
When the SSW and SSB are put back over N − 1 to estimate the total variance, the weights given to each component are seen more clearly.
S S T N 1   =   ( N     I ) N 1 S ¯ . 2   +   ( N n ) N   1 S X ¯ i 2
This shows that the contribution of the two variance components to the total variance is not equal and depends on the number of studies and the size of the studies. For a fixed total size of N, as the number of equal size studies increase (implying smaller n per study), less weight is placed on the within component and similarly, as the size of the studies increase (implying fewer studies, which results in smaller values of i), less weight is placed on the between component.
While it is not possible to obtain a neat form for the weights when the sample sizes vary per study, as is typically the case, the same principles apply. The equations used in the development of the unweighted method of estimating the LSmean and the total variance use the observed sample sizes and therefore use the appropriate weights for the within and between components in calculating the total population variance.

References

  1. Snedecor, G.W.; Cochran, W.G. Statistical Methods, 8th ed.; Iowa State University Press: Ames, IA, USA, 1989. [Google Scholar]
  2. Petrie, A; Watson, P. Statistics for Veterinary and Animal Science, 1st ed.; Blackwell Science: Maledon, MA, USA, 1999; pp. 1–299. [Google Scholar]
  3. Lam, F.C.; Hung, C.T.; Perrier, D.G. Estimation of variance for harmonic mean half-lives. J. Pharm. Sci. 1985, 74, 229–231. [Google Scholar] [CrossRef] [PubMed]
  4. Norris, N. The standard errors of the geometric and harmonic means and their application to index numbers. Ann. Math. Statist. 1940, 11, 445–448. [Google Scholar] [CrossRef]
  5. Searle, S.R.; Speed, F.M.; Milliken, G.A. Population marginal means in the linear model: an alternative to least squares means. Am. Stat. 1980, 34, 216–221. [Google Scholar] [CrossRef]
  6. Milliken, G.A.; Johnson, D.E. Analysis of Messy Data–Volume I: Designed Experiments, 1st ed.; Chapman & Hall/CRC Press: Boca Raton, FL, USA, 1992. [Google Scholar]
  7. Goodnight, J.H.; Harvey, W.R. Least Squares Means in the Fixed-Effects General Linear Models, 1st ed.; SAS Institute Inc.: Cary, NC, USA, 1997. [Google Scholar]
  8. O′Rourke, K. An historical perspective on meta-analysis dealing quantitatively with varying study results. J. R. Soc. Med. 2007, 100, 579–582. [Google Scholar] [CrossRef] [PubMed]
  9. Hedges, L.V.; Olkin, I. Statistical Methods for Meta-Analysis; Academic Press: Orlando, FL, USA, 1985. [Google Scholar]
  10. Xia, D.F.; Xu, S.L.; Qi, F. A proof of the arithmetic mean-geometric mean-harmonic mean inequalities. RGMIA Res. Collect. 1999, 2, 85–87. [Google Scholar]
  11. SAS Institute Inc. SAS/STAT® 9.3 User’s Guide; SAS Institute Inc.: Cary, NC, USA, 2011. [Google Scholar]
Figure 1. Best fit distribution for “Number” and for “Ln number”.
Figure 1. Best fit distribution for “Number” and for “Ln number”.
Pharmaceutics 09 00014 g001
Figure 2. AUC for estimating average CFD over time.
Figure 2. AUC for estimating average CFD over time.
Pharmaceutics 09 00014 g002
Figure 3. The distribution of weight values for the no exercise group predicted using the LSmean and a stdev estimate based on the standard error (SE) of the LSmean when assuming that the sample was generated from a single normal population.
Figure 3. The distribution of weight values for the no exercise group predicted using the LSmean and a stdev estimate based on the standard error (SE) of the LSmean when assuming that the sample was generated from a single normal population.
Pharmaceutics 09 00014 g003
Figure 4. Distribution of female weights based upon the mean and variance of the sample values of body weights of females in the no exercise group. The X-axis represents body weight (lbs) and the Y-axis represents the fraction of the population of females at that body weight based upon the information contained within subset of individuals included in this hypothetical study. The possible values of the Y-axis range from a value of zero (no individuals expected at that body weight) to 1 (all individuals in the population will have the identical body weight).
Figure 4. Distribution of female weights based upon the mean and variance of the sample values of body weights of females in the no exercise group. The X-axis represents body weight (lbs) and the Y-axis represents the fraction of the population of females at that body weight based upon the information contained within subset of individuals included in this hypothetical study. The possible values of the Y-axis range from a value of zero (no individuals expected at that body weight) to 1 (all individuals in the population will have the identical body weight).
Pharmaceutics 09 00014 g004
Figure 5. Distribution of male weights based upon the mean and variance of the sample values of body weights of the males in the no exercise group.
Figure 5. Distribution of male weights based upon the mean and variance of the sample values of body weights of the males in the no exercise group.
Pharmaceutics 09 00014 g005
Figure 6. Distribution of population of male and female body weights based upon the mean and variance of the sample values from the no-exercise group, assuming an equal likelihood of sampling from either gender.
Figure 6. Distribution of population of male and female body weights based upon the mean and variance of the sample values from the no-exercise group, assuming an equal likelihood of sampling from either gender.
Pharmaceutics 09 00014 g006
Table 1. Comparison of statistics based on original values and Ln-transformed values back-transformed to the original units. Stdev: standard deviation.
Table 1. Comparison of statistics based on original values and Ln-transformed values back-transformed to the original units. Stdev: standard deviation.
Transformation UsedMeanMean ± StdevMean ± 2 StdevMean ± 3 Stdev
Untransformed11.65.7, 17.30.2, 23−5.5, 28.7
Back-transformed from Ln10.46.2, 17.33.7, 28.82.2, 47.9
Table 2. Example of differing summary values depending upon the underlying assumptions and estimation procedures for obtaining the mean.
Table 2. Example of differing summary values depending upon the underlying assumptions and estimation procedures for obtaining the mean.
NumberLn number1/Number
112.40.09
71.950.14
92.200.11
41.390.25
102.300.10
122.480.08
233.140.04
152.710.07
71.950.14
182.890.06
Type of estimateArithmeticGeometricHarmonic
Mean11.6010.389.20
Stdev5.705.295.06
%CV49.1450.9650.03
Table 3. Matching the selection of mean to the nature of the distribution and the question being addressed.
Table 3. Matching the selection of mean to the nature of the distribution and the question being addressed.
Type of mean and standard deviationNature of distribution (examples)Considerations for its application
ArithmeticNormal (i.e., additive)When the estimate of interest is based upon the sum of the individual observations and the data are best presented as a normal distribution.
HarmonicReciprocal transformation of positive real valuesIn general, the harmonic mean (HM) is useful for expressing average rates (e.g., miles per hour; widgets per day). In clinical pharmacology, an elimination rate constant, λz, is estimated for each subject based on his/her systemic drug concentration during the depletion portion of the Ln-concentration vs. time profile. The corresponding estimate of the elimination half-life (T1/2) is then derived on the basis of the elimination rate constant (see Appendix C for more details on calculating the terminal elimination rate where we show that T1/2 = Ln 2/λz or 0.693/λz). Because of the relationship of T1/2 to the reciprocal value of λz (the latter being a rate constant), harmonic means may be used when describing the average time to reduce the systemic drug concentrations by 1/2. It should be noted that if the mean T1/2 was generated by obtaining the arithmetic average of the T1/2 values, then that estimate should be referred to as an arithmetic mean and not as a HM. The mean T1/2 represents a HM only when the actual averaging was done on the basis of λz estimates. It is only in that case (i.e., when the mean T1/2 was derived via transformation of the HM of λz) that we have the HM of T1/2.
GeometricLog transformation of positive real valuesWithin the realm of pharmacokinetics, geometric means are typically used when describing the means of variables such as area under the curve (AUC) and maximum concentrations (Cmax). These variables are often transformed to the natural logarithm (Ln) prior to analysis and the geometric mean computed using the back-transformation shown in Equation (11). This type of assessment is also important for estimating the average performance of an investment where the interest rates are compounded over time or when averaging changes in bacterial growth rates.
Least square meansShould be consistent with the distribution characteristics of the data collected and the model used to address the study assumptions and investigationThe use of least square means is important when there are an unequal number of observations associated with any of the terms in the statistical model.
Table 4. Comparison of arithmetic vs. harmonic standard deviation (Stdev) values and Excel codes for T1/2.
Table 4. Comparison of arithmetic vs. harmonic standard deviation (Stdev) values and Excel codes for T1/2.
Data RowColumn CColumn DColumn EColumn F
T1/2λzT1/2 sq′d Deviationsλz sq′d Deviations
Row 2110.063(C2–C12)2(D2–D12)2
Row 370.099(C3–C12)2(D3–D12)2
Row 490.077(C4–C12)2(D4–D12)2
Row 540.17325(C5–C12)2(D5–D12)2
Row 6100.0693(C6–C12)2(D6–D12)2
Row 7120.05775(C7–C12)2(D7–D12)2
Row 8230.05775(C8–C12)2(D8–D12)2
Row 9150.0462(C9–C12)2(D9–D12)2
Row 1070.099(C10–C12)2(D10–D12)2
Row 11180.077(C11–C12)2(D11–D12)2
Row 12Arithmetic mean11.60.0753
Row 13Harmonic mean of T1/2 9.20
Arithmetic Stdev5.70 sqrt[(sum(E2:E11))/9]
Harmonic Stdev 5.06 [D132 × sqrt[(sum(F2:F11))/9]]/0.693
Table 5. Comparison of estimating average change when expressed as an arithmetic versus as a geometric mean when there are compounded (multiplicative) changes.
Table 5. Comparison of estimating average change when expressed as an arithmetic versus as a geometric mean when there are compounded (multiplicative) changes.
Data RowInterest (percent)Column D relative changeExcel code for geometric mean
Row 20.251.25-
Row 3−0.360.64
Row 40.181.18
Row 50.141.14
Row 6−0.750.25
Arithmetic mean-−0.108-
Geometric mean 0.769(D2 × D3 × D4 × D5 × D6)(1/5)
Proportion remaining-0.892--
Table 6. Estimation of bacterial growth.
Table 6. Estimation of bacterial growth.
Doubling time or halving time (λ)Time duration (τ)Value of “XRelative change (Δτ/λ)Resulting # bacteria (Y)
10201004400
351204000.092937.150
106037.15642377.591
Table 7. Excel spreadsheet code for estimating bacterial growth rate.
Table 7. Excel spreadsheet code for estimating bacterial growth rate.
Data RowColumn AColumn BColumn CColumn DColumn E
Doubling time or halving timeTime durationValue of “XRelative changeResulting # bacteria (Y)
Row 110201002B1/A1C1 × D1
Row 2351204000.5B2/A2C2 × D2
Row 3106037.152B3/A3C3 × D3
Table 8. Calculating the number of bacteria at 10-min intervals. GM: geometric mean.
Table 8. Calculating the number of bacteria at 10-min intervals. GM: geometric mean.
Column AColumn BColumn CColumn DColumn EColumn FColumn G
RowMinutes10 min change rate change ()Number of bacteria (Y) based on 10-min changeEstimating Y [X × τ/λ where τ = 10 and λ = 10]Number of bacteria based on geometric meanX × GM (τ/λ)
20 100
3102200D2 × C3117.17D2 × $C$26
4202400D3 × C4137.28F3 × $C$26
5300.82328.13D4 × C5160.85F4 × $C$26
6400.82269.18D5 × C6188.46F5 × $C$26
7500.82220.82D6 × C7220.82F6 × $C$26
855 200.00D7 × (0.820.5)
9600.82181.14D8 × (C90.5)258.73F7 × $C$26
10700.82148.60D9 × C10303.14F9 × $C$26
11800.82121.90D10 × C11355.18F10 × $C$26
12900.82100.00D11 × C12416.16F11 × $C$26
131000.8282.03D12 × C13487.60F12 × $C$26
141100.8267.30D13 × C14571.31F13 × $C$26
151200.8255.20D14 × C15669.39F14 × $C$26
16125 50.00D15 × (0.820.5)
171300.8245.29D16 × (C170.5)784.31F15 × $C$26
181400.8237.15D17 × C18918.96F17 × $C$26
19150274.30D18 × C191076.72F18 × $C$26
201602148.60D19 × C201261.56F19 × $C$26
211702297.20D20 × C211478.14F20 × $C$26
221802594.40D21 × C221731.90F21 × $C$26
2319021188.80D22 × C232029.22F22 × $C$26
2420022377.59D23 × C242377.59F23 × $C$26
25GMProduct (C3:C24)(1/20)
26GM1.17
Table 9. Estimation of geometric means (based upon Ln-transformation of individual observations).
Table 9. Estimation of geometric means (based upon Ln-transformation of individual observations).
Data RowCmax Column DLn Cmax Column ELn Cmax
Row 2112.40-
Row 371.95
Row 492.20
Row 541.39
Row 6102.30
Row 7122.48
Row 8233.14
Row 9152.71
Row 1071.95
Row 11182.89
Arithmetic mean11.62.34sum(E2:E11)/10
Geometric mean (exponentiation of arithmetic mean of Ln values))-10.4exp[sum(E2:E11)/10]
Table 10. Values and spreadsheet code for estimating the geometric stdevs.
Table 10. Values and spreadsheet code for estimating the geometric stdevs.
Column AColumn BColumn CColumn D
Row NumberLn numberGeometric sq′d dev
1-112.400.00(B1–D12)
271.950.15(B2–D12)2
392.200.02(B3–D12)2
441.390.91(B4–D12)2
5102.300.00(B5–D12)2
6122.480.02(B6–D12)2
7233.140.63(B7–D12)2
8152.710.14(B8–D12)2
971.950.15(B9–D12)2
10182.890.30(B10–D12)2
11Sum--2.34sum(D1:D10)
12Average-sum(B1:B10)/10
13Geometric meanexp(D12)
14Arithmetic Stdev-
14Geometric Stdev5.29D13 × sqrt(D11/9)
Table 11. Arithmetic means versus LSmeans for the effect of exercise on body weights.
Table 11. Arithmetic means versus LSmeans for the effect of exercise on body weights.
No exercise groupExercise group
MaleFemaleMaleFemale
210150200138
215168192138
189145176144
196160202154
202166210140
155189
159176
149188
138192
188
Marginal means202158192143
Arithmetic mean173174
LSmean180167
Table 12. Comparison of stdev based upon an assumption of a single versus bimodal dataset comprising the treatment effect.
Table 12. Comparison of stdev based upon an assumption of a single versus bimodal dataset comprising the treatment effect.
LSmeanDescriptionWithin/between calculated StdevSimulated Stdev (equal probability of sampling from each group)
No exercise (T0)Average of T0 males and T0 females25.7025.10
Exercise (T1)Average of T1 males and T1 females27.7727.05
MalesAverage of T0 males and T1 males12.5712.95
FemalesAverage of T0 females and T1 females13.7113.93
Table 13. Example of a cross study assessment of mean and stdev. MPH: miles per hour.
Table 13. Example of a cross study assessment of mean and stdev. MPH: miles per hour.
HeadingTrainer# RunnersAverage MPHStdevMean × niLSmean
1106.21.2462-
255.50.5527.5-
386.10.91548.8-
4126.81.781.6-
Sum-35--219.96.28
Table 14. Total weighted stdev across the four trainers.
Table 14. Total weighted stdev across the four trainers.
Data RowTrainer Col B# Runners Col CAverage MPH Col DStdev Col EMean×ni Col FLsmean Col GSSW Col HSSB Col IVarianceWB Col JStdevWB Col K
Row 21106.21.2462-13.840.07--
Row 3255.50.5527.51.213.06
Row 4386.10.91548.85.860.27
Row 54126.81.781.631.793.21
Row 6-35--219.96.2852.706.611.741.32
Table 15. Excel cell formulas.
Table 15. Excel cell formulas.
Data RowTrainer Col B# Runners Col CAve MPH Col DStdev Col EMean×ni Col FLsmean Col GSSW
Col H
SSB
Col I
VarianceWB
Col J
StdevWB
Col K
Row 21106.21.24D2 × C2-(E22) × (C2-1)C2 × (D2-$G$6)2-
Row 3255.50.55D3 × C3(E32) × (C3-1)C3 × (D3-$G$6)2
Row 4386.10.915D4 × C4(E42) × (C4-1)C4 × (D4-$G$6)2
Row 54126.81.7D5 × C5(E52) × (C5-1)C5 × (D5-$G$6)2
Row 6-SUM
(C2:C5)
--SUM
(F2:F5)
F6/C6SUM
(H2:H5)
SUM
(I2:I5)
(I6 + H6)/(C6 − 1)SQRT(J6)

Share and Cite

MDPI and ACS Style

Martinez, M.N.; Bartholomew, M.J. What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations. Pharmaceutics 2017, 9, 14. https://doi.org/10.3390/pharmaceutics9020014

AMA Style

Martinez MN, Bartholomew MJ. What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations. Pharmaceutics. 2017; 9(2):14. https://doi.org/10.3390/pharmaceutics9020014

Chicago/Turabian Style

Martinez, Marilyn N., and Mary J. Bartholomew. 2017. "What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations" Pharmaceutics 9, no. 2: 14. https://doi.org/10.3390/pharmaceutics9020014

APA Style

Martinez, M. N., & Bartholomew, M. J. (2017). What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations. Pharmaceutics, 9(2), 14. https://doi.org/10.3390/pharmaceutics9020014

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop