You are on page 1of 10

Tropical Medicine and International Health doi:10.1111/j.1365-3156.2012.02987.

volume 17 no 6 pp 684–693 june 2012

Review: analysis of parasite and other skewed counts


Neal Alexander

London School of Hygiene and Tropical Medicine, London, UK

Abstract objective To review methods for the statistical analysis of parasite and other skewed count data.
methods Statistical methods for skewed count data are described and compared, with reference to a
10-year period of Tropical Medicine and International Health (TMIH). Two parasitological datasets are
used for illustration.
results The review of TMIH found 90 articles, of which 89 used descriptive methods and 60 used
inferential analysis. A lack of clarity is noted in identifying the measures of location, in particular
the Williams and geometric means. The different measures are compared, emphasising the legitimacy
of the arithmetic mean for the skewed data. In the published articles, the t test and related methods were
often used on untransformed data, which is likely to be invalid. Several approaches to inferential analysis
are described, emphasising (1) non-parametric methods, while noting that they are not simply com-
parisons of medians, and (2) generalised linear modelling, in particular with the negative binomial
distribution. Additional methods, such as the bootstrap, with potential for greater use are described.
conclusions Clarity is recommended when describing transformations and measures of location. It is
suggested that non-parametric methods and generalised linear models are likely to be sufficient for most
analyses.

keywords statistical data analysis, parasitology, statistics, non-parametric, regression analysis

82, 83, 84… statistics, it is often taught that such skewness precludes
the use of the arithmetic mean because it is ‘overly’
87 weevils today, Mr. Victor. influenced by the high values (Kirkwood & Sterne 2003).
A possible alternative is to analyse the logarithms of the
That’s above average, but the trend is down. data instead of the original values. However, for count
data, this is only feasible in the absence of zeros, because
In a wartime detention camp, a boy counts the vermin in the logarithm of zero is not a finite number. This has led to
his food rations (from the film Empire of the Sun, based controversy over what measures of location are appropri-
on the autobiographical novel by JG Ballard). ate, and to basic terms such as ‘geometric mean’ being used
inconsistently.
Introduction
Much of this controversy results from a reliance on
Counting items such as parasites results in non-negative statistical methods, which use the normal (Gaussian)
integer data: 0, 1, 2, etc. The aim of this article is to review distribution, whose symmetry usually precludes a good fit
methods for statistical analysis of such data in medical to count data. However, this dependence is now largely
research. The focus will be on parasite counts although outdated, due to the availability of approaches based on
most of the same methods are applicable to other count skewed distributions such as the negative binomial
data such as numbers of insects, plaques or disease episodes. (Anderson & May 1991).
Descriptive analysis of such data usually includes This article aims to review the statistical methods
summary numbers which aim to convey average values of currently being used for such data and to describe their
the data. In statistics, these are called ‘measures of advantages and disadvantages. It concentrates on the most
location’. For count data, even these simple measures common kinds of analyses, leaving aside more specialised
prove problematic. This is because the data are often ones such as spatial patterns, repeatability and reproduc-
skewed: their ‘long tail’ (Mumpower & McClelland 2002) ibility. Descriptive methods are addressed first, then infer-
means that a small proportion of people can, for example, ential methods, the latter being those which compare counts
harbour a large proportion of the parasites. In basic between groups or correlate them with other variables.

684 ª 2012 Blackwell Publishing Ltd


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

Remme et al. 1986). This scale dependence can be avoided


Methods and results
by adding and subtracting a value with units e.g. 1 ⁄ mg rather
Descriptive methods than a dimensionless 1 (Alexander et al. 2005).
Measures of location: median and means.
The geometric mean is not a clever way to estimate the
Location is ‘‘the notion of central or ‘typical value’ in a
arithmetic mean.
sample distribution’’ (Everitt 1995). The most common
Fulford explains that the Williams mean (he calls it the
measures of location are the median and the various
geometric mean) should not be used to estimate the
types of mean. The median is the middle value of the sorted
arithmetic mean (Fulford 1994). Similarly, Dobson et al.
data. If the number of values is even, then there are two
(2009) define helminth vaccine efficacy as a fold reduction
middle values, and the convention is to define the median
in arithmetic mean egg count, then show that this is not
as the value half way between them. The median is zero
well estimated by a ratio of Williams means. The points
if more than half of the values are zero.
made by these articles are valid although may seem rather
By default ‘the mean’ usually refers to the arithmetic
tautological. The different types of mean differ mathe-
mean – the sum of the values divided by n, the number
matically, so it should not be a surprise that one of them
of values – although there are other types of mean which
cannot properly estimate another. Their values are no more
may be useful for count data. In particular, the
commensurable than, for example, weight-for-height and
geometric mean is obtained by multiplying together
weight-for-age in nutrition.
all the data values and then taking the nth root
(Borowski & Borwein 1989; Everitt 1995). The geo-
Choice of measure of location: arithmetic vs. geometric
metric mean is always less than the arithmetic mean,
mean.
unless all values in the dataset are identical, in which
Compared to the arithmetic mean, the geometric mean is
case the two are equal (Borowski & Borwein 1989).
said to be ‘not overly influenced by the very large values in
The geometric mean is zero whenever any of the
a skewed distribution’ (Kirkwood & Sterne 2003). How
individual values is zero. This makes it rather meaning-
much is ‘overly’? We can try to answer this question
less for datasets with zeros, e.g. uninfected people.
objectively by going back to whichever health outcomes
The geometric mean is related to logarithmic transfor-
motivated the study.
mation of the data. If there are no zero values, then the
A clear-cut example would be noise pollution. Human
geometric mean equals the exponential of the mean of
perception of sound is approximately logarithmic and in
the log-values. Any exponent can be used, but it must equal
that, orders of magnitude change in sound pressure
the logarithm base, e.g. 10 to the power of the mean of the
(measured in Pascals) are perceived as approximately
log10-values. This suggests the following modification of
uniform increments on a linear scale. This is known as
the geometric mean to accommodate zero values: add 1 to
Weber’s law (Wojtczak & Viemeister 2008) and is why
all the data values, then take the geometric mean, then
sound volumes are expressed in decibels (log-ratio of
subtract 1 again. This is known as the Williams mean
pressure over baseline). Hence, averaging is more aligned
(Williams 1937). There are also other types of mean. For
with human perception if carried out on the logarithmic
example, the square mean root is the square of the mean of
scale: geometric mean of Pascals or arithmetic mean of
the square root-transformed data. This measure has
decibels (Olayinka & Abdullahi 2009). This reasoning is
applications in meta-analysis (Bushman & Wang 1995)
independent of the statistical distribution of the data: even
and in assessing the agreement of counts between observers
if the decibel values were skewed, their arithmetic mean
or methods (Alexander et al. 2007). Other powers can also
would still be more relevant than the geometric mean.
be used – in general, these are called power means or
The choice of measure of location may not always be so
algebraic means (Bonferroni 1950).
straightforward. If we consider malaria parasite density,
Confusion between geometric and Williams means. then we could imagine either the arithmetic or the
In the medical research literature, the Williams mean is geometric mean having more interest, depending on the
sometimes called the geometric mean, as in the onchocer- purpose of the study. If the intensity of transmission is
ciasis community microfilarial load (CMFL) (Remme et al. of interest, it may be reasonable to assume that this is
1986). Nevertheless, the two are not equal. One disad- proportional to parasite density, in which case the
vantage of the Williams mean is its dependence on the arithmetic mean would be relevant. This would correspond
choice of units. For example, if skin snips weigh 2 mg, to the use of the annual transmission potential in filarial
the CMFL per snip is not double the CMFL per mg, although diseases, which is based on the arithmetic mean number
both units are used in the literature (Marshall et al. 1986; of filariae per mosquito (Bockarie et al. 1996). If, by

ª 2012 Blackwell Publishing Ltd 685


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

contrast, the objective of the study relates to the number of Table 1 Descriptive statistics of example datasets
clinical cases, the geometric mean may be more appropri-
Plasmodium falciparum
ate because the relation of parasite density to the proba-
Hookworm eggs asexual blood stages
bility of being a case (as opposed to asymptomatic) is
non-linear, the slope reducing at higher densities (Smith Sample size 1237 (603:634) 477 (247:230)
et al. 1994). In this case, we would need to exclude non- (male:female)
parasitaemic people from the calculation of the geometric Mean age in years 26 (0–95) 4.9 (1–10)
(range)
mean, although this is not problematic for this purpose
Mass or volume of Two Kato-Katz 1 High power field of
because, by definition, they cannot have malaria. each sample faecal slides, a thick blood film,
In other situations, another measure of location, such as totalling approximately
the median, may be preferable. The general point is to approximately 0.001–0.0025 ll
‘deconstruct’ the problem (Hand 1994), so that the choice 1 ⁄ 12 g (Warrell & Gilles 2002)
of measure is subordinated to the study’s objectives, with Per cent positive 76 100*
purely statistical concerns – for example achieving a Mean 126 139
Median 22 74
normal distribution – being secondary.
Geometric mean 0  59
Williams mean 18 61
Measures of dispersion. Range 0–4803 1–4941
The most commonly used measures of dispersion are Inter-quartile range 1–103 23–181
probably the standard deviation, range and interquartile Standard deviation 322 266
range. The standard deviation is the square root of the Reference (Cundill et al. (Dunyo et al. 2006)
2011)
variance, which is the average squared deviation from the
mean.
q More specifically, the standard deviation equals
ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi *A positive malaria slide was an entry criterion for the study.
P P
i i x
ðx Þ2 =ðn  1Þ, where i means the sum over the  The geometric mean is necessarily zero because the dataset con-
tains zero values (i.e., negative people).
data values xi and x  is the sample mean. The range is
the interval between the minimum and maximum values of Poisson distribution are equal whereas, if the variance of
the data. This tends to increase with larger sample sizes. data is considerably greater than the mean, there it is said
Percentiles are values below which a certain percentage of to be overdispersion (Elliott 1977; Mwangi et al. 2008).
the data lie, after they have been sorted into ascending order. The variance of the negative binomial distribution, for
The median, for example, is the 50th percentile. The example, equals l + l2 ⁄ k, where l is the mean and k is a
interquartile range is the interval between the 25th and 75th positive-valued parameter. For small values of k, the
percentiles: this interval contains the middle half of the data. variance is much greater than the mean, reflecting a high
As the distributions of count data are usually asymmet- degree of overdispersion. Such distributions are sometimes
ric, using the standard deviation for error bars, or in also called ‘contagious’ – even if no infectious disease is
±notation about the mean, is not usually helpful. This is involved – because they reflect clustering in the data (Elliott
because they will often imply negative values whereas, of 1977). These two situations – homogeneity and overdi-
course, for count data, the lowest possible value is zero. spersion – are illustrated in Figure 1. It is also possible for
For example, looking at the mean and standard deviation the variance to be less than the mean. This occurs when
of the hookworm egg counts in Table 1, quoting distances between events tend to be similar, with both
‘126 ± 322’ would be rather meaningless. The interquartile smaller and larger distances being rare. This is rare in
range would be one preferable option. Similarly, error bars practice but would be the case, for example, for spatial
based on standard deviations are likely to go below zero, as events on an even grid.
in, for example, the figure showing schistosomiasis faecal
eggs per gram by age in one of the articles in the review
Example datasets
described below (Seto et al. 2007). Again, plotting the
interquartile range, or superimposing box and whisker Hookworm eggs.
plots (Kirkwood & Sterne 2003), would be better options. These are baseline data from a longitudinal study of
For count data, the greatest utility of the standard hookworm in Minas Gerais state, Brazil (Cundill et al.
deviation or variance may be to assess how homogeneous a 2011). Table 1 shows summary statistics for the total egg
distribution the data have. The Poisson distribution results count from two Kato-Katz thick smears, each pair being
from homogeneous processes, which are the simplest prepared from a single stool sample. Those with missing
models for count data. The mean and variance of the data on age, gender or either egg count have been excluded.

686 ª 2012 Blackwell Publishing Ltd


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

tional Health. The following search was carried out in


the PubMed online database: (parasit* OR malaria* OR
helmint* OR filar*) AND (count* OR intensit* OR
densit*) AND trop med int health.
For the years 2001–2010 (volumes 6–15), the search
returned 156 articles. They were retained in the review if
they were found to include either (i) descriptive analysis of
parasite count data or (ii) inferential analysis in which
count data constituted an outcome variable. Articles using
correlation coefficients – which do not distinguish between
outcome and explanatory variables – were also included
under the second category. Of the 156 articles, 90 were
found to include such analyses: 89 descriptive and 60
inferential (see supporting information).
Methods for descriptive and inferential analysis are
shown in Tables 2 and 3. The former includes measures
of location, of which the geometric mean was the most
commonly used (51% of articles). In some articles, the
Williams mean was calculated but presented as the
geometric mean. It is likely that there were other instances
of this which could not be unambiguously identified from
the text. In other words, the Williams mean category
(13%) was difficult, in practice, to separate from the
geometric mean. The arithmetic mean was also commonly
used (35%) and the median less so (7%).

Table 2 Descriptive measures of location for count data used


in 89 articles in Tropical Medicine and International Health,
2001–2010

Number
Descriptive measure of location of articles (%)*
Figure 1 Simulated spatial data showing homogeneous and clus- Arithmetic mean 31 (35)
tered processes in the upper and lower panels respectively. The Geometric mean , or arithmetic mean of logarithms
dashed lines divide each area into a 5 · 5 grid. For the homoge- Zeros absent 25 (28)
nous process, the variance and mean of the 25 counts are similar: Zeros present 7 (8)
3.88 and 3.94 respectively, consistent with a Poisson distribution. Unclear whether zeros present or not 13 (15)
For the clustered process, the variance is much larger than the Williams mean or similar à 12 (13)
mean: 28.4 vs. 4.0, indicating overdispersion. Although these data Median 6 (7)
are spatial, the same principle applies to counts per person, for Prevalence by category of infection intensity 20 (22)
example. The data were generated using the ‘rpoispp’ and Other§ 1 (1)
‘rMatClust’ functions of the ‘spatstat’ package in the R software.
*The percentages add to more than 100 because some articles used
more than one measure.
Plasmodium falciparum asexual blood stages.  The term ‘geometric mean’ is sometimes used in these articles
Children participating in a trial of anti-malarial drugs had to refer to the Williams mean. Unambiguous examples of this,
a thick blood film read microscopically (Dunyo et al. e.g., evidenced by an equation in the article, are included under
2006). The parasite counts from a single high power field ‘Williams mean or similar’. However, it is likely that more of the
are shown in Table 1. ‘geometric means’ are, in fact, Williams means, especially where
the data included zeros.
àWilliams mean = (geometric mean of (x + d)))d, for d = 1. Here,
Literature review ‘similar’ measures include those which: used values of d other than
1; added 1 without then subtracting it; or took the mean of
Statistical methods used for parasite count data were log(x + 1) without then exponentiating.
reviewed over 10 years of Tropical Medicine and Interna- §The arithmetic mean restricted to parasite-positive individuals.

ª 2012 Blackwell Publishing Ltd 687


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

Table 3 Inferential statistical methods used in 60 articles in

0.6
Tropical Medicine and International Health, 2001–2010

0.5
Number
Inferential method of articles (%)*

Probability density
0.4
Distribution-based
Normal (Gaussian) 
On untransformed data 6 (10)

0.3
After transformation of the data
Logarithmic 9 (15)

0.2
Other 8 (13)
Unclear what, if any, 9 (15)
transformation was used

0.1
Negative binomial 6 (10)
Poisson with allowance for 1 (2)

0.0
overdispersion
Non-parametric 14 (23)
1 10 100 1000 10 000
Otherà 8 (13)
Unclear 7 (12) Asexual parasite count

*The percentages add to more than 100 because some articles used Figure 2 Histogram, on a log scale, of numbers of Plasmodium
more than one method. falciparum asexual blood stages on one high power field of a
 Including t test, analysis of variance (anova) and ordinary least thick blood film in a clinical trial (Dunyo et al. 2006). The dashed
squares regression. line is the fitted normal distribution.
àComprising: ratios of parasite densities as response variable (2);
v2 test for trend on infection categories (1); normal distribution- then yield ratios of geometric means and so can easily be
based analysis of village-level indices (1); inference on overlap of interpreted. Such methods were used in at least 15% of the
confidence intervals (1); Wagstaff index of aggregation of parasites articles in Table 3. As noted above, their robustness
among people (1); logistic regression of high vs. low parasite means that the normal distribution does not need to be a
intensity (1); review citing previous analysis (1). perfect fit for the results to be reliable. Figure 2 shows a
histogram of malaria parasite densities from Dunyo et al.
Inferential analysis
(2006) on a log scale. The shape is similar to that of the
t test and related methods. superimposed fitted normal curve, suggesting that the t
The t test compares means between two samples. Although test and related methods are likely to be applicable to the
it assumes that the samples are drawn from normal log-transformed data.
distributions with equal means, the results are surprisingly The logarithmic transformation is not applicable,
robust to departure from these assumptions (Heeren & however, in the presence of zeros. Various other options
d’Agostino 1987). Nevertheless, it is liable to break down are available although, in most cases, they lack the same
when ‘skew is severe or when population variances and ease of interpretation. One option is to add 1, or another
sample sizes both differ’(Boneau 1960; Stonehouse & value, before taking logarithms. Table 2 shows that at
Forrester 1998). At least one of these two circumstances is least 13% of the articles in the literature review used a
likely to pertain with count data. Skewness has already transformation other than the simple logarithmic,
been mentioned, whereas a difference in means implies a whereas in 15% it was not clear what, if any,
difference in variances if the data are actually drawn from, transformation was used. For negative binomial distri-
for example, a Poisson or negative binomial distribution. butions, the value k ⁄ 2 can be added instead of 1 before
Hence the t test cannot be recommended for untrans- taking logarithms, or an inverse hyperbolic sine trans-
formed parasite data. The same caveats apply to regression formation can be used (Beall 1942; Anscombe 1948;
and analysis of variance, because these are all mathemat- Laubscher 1961; Elliott 1977). Apart from the basic
ically similar. Nevertheless, such analyses were carried out logarithmic transformation, these have at least two
on untransformed data in at least 10% of the articles in the disadvantages. With few exceptions, the results cannot
literature review (Table 3). be interpreted easily, and the transformation ‘cannot
The performance of these methods may be improved by remove the clump’ of zeros, if present, and so the data
first transforming the data. In particular, if there are no will not be normalised (Hallstrom 2010). In general, if
zeros in the data, then a logarithmic transformation may zeros are present, then other techniques, in particular
suffice. Moreover, the t test and related techniques will generalised linear models (GLMs) (see below), are likely

688 ª 2012 Blackwell Publishing Ltd


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

to be preferable to normal-theory methods on trans- We model a function of the mean, not necessarily the
formed data (O’Hara & Kotze 2010). mean itself. This function is called the link function and,
for present purposes, it is likely to be the logarithm. It is
Non-parametric methods. conventional here for statistical packages to use the natural
These methods generally use the ranks of the data rather (base e) logarithms.
than the original values. This means that, for example, a Parasite counts are usually overdispersed relative to
single data value much greater than the others will not Poisson, requiring a distribution such as the negative
greatly affect the results as it would for a t test. One of the binomial, which can accommodate this. If a Poisson
simplest non-parametric methods is the Mann–Whitney distribution is used regardless, the results can be misleading
test, which compares data from two independent samples. (Barker & Cadwell 2008). However, it is possible to use
In the literature review, non-parametric methods were the ‘sandwich’ estimator [e.g. with the ‘vce(robust)’ option
used in 23% of those articles which used any inferential in STATA] or ‘quasi-likelihood’ models, both of which
method (Table 3). Nevertheless, they do have some effectively multiply the standard errors by a factor
disadvantages: estimated from the data (White 1980; Sileshi 2006; Noe
If the sample size is low and the distribution of the et al. 2010), but which do not fully characterise a specific
data is close to normal, then they are likely to have distribution for the data.
considerably lower power than parametric methods such Once the distribution has been chosen, a GLM is fitted
as the t test (Bland 1995). In these – rather limited – by maximising the likelihood – i.e. the probability of the
circumstances, a parametric method is likely to be data, considered as a function of the model parameters
preferable. (Everitt 1995) – over possible values of the regression
Contrary to common conception, they cannot, in coefficients. A couple of points are worth stressing.
general, be interpreted as comparisons of medians(Hart First, it is the fitted mean, not the data, which is
2001). For example, the Mann–Whitney test (also known transformed in this approach. Hence, a logarithmic link
as the Wilcoxon test) assesses whether two distribution function models the logarithm of the arithmetic mean, not
functions are unequal for at least one value (Conover the geometric mean as with an ordinary regression on the
1980). The test can only be interpreted as a comparison of log-transformed data.
medians if the samples are drawn from populations whose Secondly, the data must have values which are feasible
distributions have the same shape, i.e., when represented for the chosen distribution. In the case of the Poisson or
graphically, they can be laid exactly on top of each other negative binomial distributions, for example, which apply
simply by shifting one along the horizontal axis by an to whole-number (integer) data, then, we must model the
amount D: a ‘shift alternative’ (Bauer 1972). This is actual counts. If we have, for example, a set of parasite
unlikely to apply to count data but, if it were, it’s likely counts based on varying numbers of replicates, e.g. Kato-
that a t test would be applicable in the first place (Bland Katz slides, we should not input the average values to the
1995). When software provides a confidence interval, it is GLM, because these are not necessarily whole numbers.
not necessarily for the difference in medians. Rather, the log number of replicates should be included as
They are not generally capable of complex analyses, in an offset in the model. This is an explanatory variable with
particular those with multiple explanatory (predictor) its regression coefficient constrained to equal 1. In the
variables. example of multiple slides per person, if there is a single
Overall, non-parametric methods are suitable for simple explanatory variable x with coefficient b, then we model
analyses of skewed count data, although they are not as the log mean count per person as loge(l) = a + bx + loge(n),
fool-proof as they may appear. so loge(l ⁄ n) = a + bx. We can then obtain exp(b) as the
ratio of the average count per slide, even though we
Generalised linear models. specified the total count as the response variable. Similarly,
We have seen techniques which assume that the distribu- when analysing the incidence of events when the follow-up
tion of the data is normal (Gaussian) and others which do time varies between people, using log-time as an offset
not depend on it having any particular form. Another enables the analysis to yield rate ratios. Figure 3 shows
option is to find a distribution which does fit the data mean hookworm egg count fitted as a function of age. As
adequately: this is carried out in generalised linear mod- with other regression models, different forms of depen-
elling. This can be thought of a kind of regression in which dence can be included (e.g. polynomial), as can multiple
the distribution of the data is not necessarily normal. For explanatory variables.
count data, the Poisson or negative binomial, for example, O’Hara and Kotze (2010) compared GLMs with trans-
may be suitable. formation-based methods and found that the latter perform

ª 2012 Blackwell Publishing Ltd 689


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts


Mean of total egg count over two slides (log scale)

3000

4
200

3
2000
Mean eggs per gram

Probability density
150

2
100

1
1000
75

0
5 10 20 30 40 60 80 0 1 10 100 1000
Age (years, log scale) Total eggs counted on two slides
Figure 3 Negative binomial regression of faecal egg count on Figure 4 Histogram of numbers of hookworm eggs counted
age, the sloped solid line showing the fitted values. The · symbols on two Kato-Katz slides per person in the baseline survey of a
are the means by age group, with vertical solid lines showing prospective study in Brazil. The axis labels show the original
the 95% confidence intervals. Although age groups are shown, values although the scale has been eighth-root transformed. The
the fitted model uses the exact age for each person. The curved long-dashed line is the fitted negative binomial distribution and the
dashed lines are the pointwise 95% confidence intervals based short-dashed line the fitted Poisson.
on the whole dataset.
other distributions which have been little used (Grenfell
poorly – in terms of bias and sampling error – unless et al. 1990; Shoukri et al. 2004; Hoshino 2005), if at all,
dispersion is small and the mean counts are large. Good- (Dobbie 2001; Massé & Theodorescu 2005; Shmueli et al.
ness of fit measures for GLMs, and negative binomial 2005) for parasite data.
regression in particular, include checking that the residual
deviance is similar to the residual degrees of freedom (Hilbe Other methods with potential for greater use.
2007), and plotting the residuals against fitted values to There are several statistical methods which have not been
check that they have random scatter with constant described above, but which have scope for greater use with
variance (McCullagh & Nelder 1983). Chi-squared tests count data. The bootstrap was notable because of its absence
can also be carried out to compare the numbers in various in the articles reviewed. This approach is based on re-
categories of the outcome variable with those expected sampling the data and observing the sampling variation in
under the given distribution. However, it should be borne any outcome of choice, such as a difference or ratio in
in mind that, with a large sample size, a departure from the medians or means (Efron & Tibshirani 1993). For simple
assumed distribution may be large enough to be detected by comparisons, this would seem to have some advantages over
the goodness-of-fit test, but too small to affect materially non-parametric methods. However, it is not recommended
the results of the main analysis. I tend to rely on visual for small sample sizes because the discreteness of the
assessment of the overall distribution as shown in Figure 4. sampling distribution may make the inference unreliable.
Other distributions for skewed data include versions of The median or other percentile of the counts can be
the Poisson and negative binomial in which the proportion modelled as a function of explanatory variables using
of zeros is defined by additional parameters. These are quantile regression (Yu et al. 2003). Transformation of the
called zero-inflated distributions. The zero-inflated nega- counts may be advisable but, because the usual functions
tive binomial may be a better fit than the negative binomial maintain rank order (they are monotonic), this will not
in some cases (Walker et al. 2009). If zeros were not affect the interpretation of the results.
recorded in the dataset, then a zero-truncated distribution In many cases, the negative (zero) instances may warrant
may be suitable, while if counting stopped at a maximum different treatment, whether for purely statistical reasons
value – for example no more than 500 Ascaris eggs were or due to clinical or scientific distinctions between them
counted per slide by Cundill et al. (2011) – then censored and the positive group. There is a well-developed literature
distributions are available (Hilbe 2007). There are yet on models which treat these two groups distinctly within a

690 ª 2012 Blackwell Publishing Ltd


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

single overall analysis. These may be referred to as two- to do sample size calculations and statistical analysis in
part, mixture or bivarate models (Lachenbruch 2002; terms of arithmetic means via suitable distributions such as
Moulton et al. 2002; Hallstrom 2010). When the propor- the negative binomial (Alexander et al. 2011).
tion of zeros is modelled as a function of covariates, then Choosing the most relevant measure of location will
zero-inflated distributions are in this category. The results affect how any further analysis is carried out. Given the
for the zero and non-zero parts of the model can be powerful statistical software now readily available, it
presented separately or, depending on the kind of model, it should be possible to choose a method not solely on
may be possible to synthesise them to report the overall statistical considerations – finding one whose assumptions
mean (Burton et al. 2003). are justified – but based on how closely it responds to
Finally, when no single parameter, such as the median or the original research question (Hand 1994).
mean, is found to be an adequate summary of the data The current article emphasises GLMs, in particular with
(Montresor 2007), infection intensity classes (e.g., nega- the negative binomial distribution. Fuller explications of
tive, mild, moderate, heavy) can be analysed as ordered GLMs are available elsewhere (Gardner et al. 1995;
categories (Agresti 1999). Wilson & Grenfell 1997; Coxe et al. 2009; McElduff et al.
2010). The negative binomial often provides a good fit to
parasite data (Anderson & May 1991), although other
Discussion
distributions may be better for particular datasets (Walker
The statistical challenges of count data result not so much et al. 2009). One review of analysis methods for entomo-
from extreme skewness per se as from its combination with logical data recommended negative binomial and quasi-
zero values. If there are no zero values, then analysis of likelihood approaches (Sileshi 2006), whereas another of
log-transformed data by common methods such as the aquatic organisms favoured the latter (Noe et al. 2010).
t test may be applicable, yielding results in terms of One concern with the negative binomial is that, empirically,
geometric means. However, when zeros are present, the log the dispersion parameter (k) is often found to increase
transformation is not readily applicable, and the geometric with the mean (Alexander et al. 2011), yet basic models
mean is zero, complicating the choice of measure of assume it to be constant. On the other hand, a simulation
location for count data. study has found likelihood-based analysis to be robust to
The Williams mean is an attempt to retrieve the this (Aban et al. 2008). There are also alternative param-
geometric mean by applying it to the counts plus one, eterisations of the negative binomial with different
then subtracting one again. This approach is commonly variance–mean dependence (Hilbe 2007). GLM tech-
used in analysis of parasite counts, although more for niques for taking account of clustering can also be used in
expediency than for clinical or biological relevance. cohort studies with multiple disease episodes or repeated
Moreover, because it is sometimes misleadingly called the measures per person, although the issue of time depen-
geometric mean, it is often difficult to decide from the text dence is likely to arise and this is beyond the scope of the
of a article what was actually done. current article.
There is some resistance to using the arithmetic mean as a When describing any numerical information, there is a
measure of location, given that basic statistics teaching trade-off to be made between the conciseness of any
usually brands it unsuitable for skewed data. Nevertheless, summary measure and the information it conveys. For
in some circumstances, the mean is the most relevant parasite data, the case has been made for summarising
outcome measure. In health economics, for example, the intensity in the form of categories rather than any single
mean cost per patient is proportional to the total cost, and value (Montresor 2007). This is indeed more informative,
for that reason, it is more relevant than other measures such but less concise. For some purposes, such as clinical trials, a
as the median (Barber & Thompson 2000). This should not, single measure per arm – such as a mean – is likely to be
and need not, be trumped by concerns over difficulty of preferred. If categories are used in clinical trials, they will
analysis. Similarly, in parasitology, the arithmetic mean per probably be further summarised into a single measure, such
person may be of interest because, for example, the total as the proportion with heavy infection.
community burden in terms of parasite numbers is propor-
tional to the arithmetic mean. Methods are available Acknowledgements
which model the arithmetic mean while accommodating
This work was supported financially by United Kingdom
skewness in the data. The median can also be used, although
Medical Research Council grant number G7508177 to the
it will be zero if the prevalence is <50%. Non-parametric
Tropical Epidemiology Group and by the Human Hook-
methods are commonly said to assess differences between
worm Vaccine Initiative (HHVI) of the Sabin Vaccine
medians, although this is not generally the case. It is possible

ª 2012 Blackwell Publishing Ltd 691


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

Institute, which receives funding from the Bill and Melinda Borowski EJ & Borwein JM (1989) Dictionary of Mathematics,
Gates Foundation. The studies which generated the hook- 1st edn HarperCollins Publishers, London.
worm and malaria datasets presented here were supported Burton MJ, Holland MJ, Faal N et al. (2003) Which members of a
respectively by (i) the HHVI and (ii) the Wellcome Trust community need antibiotics to control trachoma? Conjunctival
Chlamydia trachomatis infection load in Gambian villages.
(Project 061910), the Gates Malaria Partnership and the
Investigative Ophthalmology and Visual Science 44, 4215–4222.
United Kingdom Medical Research Council. I am grateful
Bushman BJ & Wang MC (1995) A procedure for combining
to Christian Bottomley, Paul Milligan and an anonymous sample correlation coefficients and vote counts to obtain an
referee for useful comments on the manuscript. estimate and a confidence interval for the population correlation
coefficient. Psychological Bulletin 117, 530–546.
Conover WJ (1980) Practical Nonparametric Statistics, 2nd edn.
References John Wiley & Sons, New York.
Coxe S, West SG & Aiken LS (2009) The analysis of count data:
Aban IB, Cutter GR & Mavinga N (2008) Inferences and power
a gentle introduction to Poisson regression and its alternatives.
analysis concerning two negative binomial distributions with an
Journal of Personality Assessment 91, 121–136.
application to MRI lesion counts data. Computational Statistics
Cundill B, Alexander N, Bethony J, Diemert D, Pullan RL &
& Data Analysis 53, 820–833.
Brooker S (2011) Rates and intensity of re-infection with human
Agresti A (1999) Modelling ordered categorical data: recent
helminths after treatment and the influence of individual,
advances and future challenges. Statistics in Medicine 18,
household, and environmental factors in a Brazilian community.
2191–2208.
Parasitology 138, 1406–1416.
Alexander ND, Solomon AW, Holland MJ et al. (2005) An index
Dobbie MJ (2001) Modelling Correlated Zero-inflated Count
of community ocular Chlamydia trachomatis load for control
Data. Australian National University, Canberrra.
of trachoma. Transactions of the Royal Society of Tropical
Dobson RJ, Sangster NC, Besier RB & Woodgate RG (2009)
Medicine and Hygiene 99, 175–177.
Geometric means provide a biased efficacy result when con-
Alexander N, Bethony J, Corrêa-Oliveira R, Rodrigues LC, Hotez
ducting a faecal egg count reduction test (FECRT). Veterinary
P & Brooker S (2007) Repeatability of paired counts. Statistics
Parasitology 161, 162–167.
in Medicine 26, 3566–3577.
Dunyo S, Ord R, Hallett R et al. (2006) Randomised trial of
Alexander N, Cundill B, Sabatelli L et al. (2011) Selection and
chloroquine ⁄ sulphadoxine-pyrimethamine in Gambian children
quantification of infection endpoints for trials of vaccines
with malaria: impact against multidrug-resistant P. falciparum.
against intestinal helminths. Vaccine 29, 3686–3694.
PLoS Clinical Trials 1, e14.
Anderson RM & May RM (1991) Infectious Diseases of Humans:
Efron B & Tibshirani R (1993) An Introduction to the Bootstrap,
Dynamics and Control, 1st edn. Oxford University Press,
1st edn. Chapman and Hall, New York.
Oxford.
Elliott JM (1977) Some Methods for the Statistical Analysis
Anscombe FJ (1948) The transformation of Poisson, binomial and
of Samples of Benthic Invertebrates, 2nd edn. Freshwater Bio-
negative-binomial data. Biometrika 35, 246–254.
logical Association, Ambleside.
Barber JA & Thompson SG (2000) Analysis of cost data in ran-
Everitt B (1995) Cambridge Dictionary of Statistics in the Medical
domized trials: an application of the non-parametric bootstrap.
Sciences. Cambridge University Press, Cambridge.
Statistics in Medicine 19, 3219–3236.
Fulford AJC (1994) Dispersion and bias: can we trust geometric
Barker L & Cadwell BL (2008) An analysis of eight 95 per cent
means? Parasitology Today 10, 446–448.
confidence intervals for a ratio of Poisson parameters when
Gardner W, Mulvey EP & Shaw EC (1995) Regression analyses of
events are rare. Statistics in Medicine 27, 4030–4037.
counts and rates: Poisson, overdispersed Poisson, and negative
Bauer DF (1972) Constructing confidence sets using rank statistics.
binomial models. Psychological Bulletin 118, 392–404.
Journal of the American Statistical Association 67, 687–690.
Grenfell BT, Das PK, Rajagopalan PK & Bundy DAP (1990)
Beall G (1942) The transformation of data from entomological
Frequency distribution of lymphatic filariasis microfilariae in
field experiments so that the analysis of variance becomes
human populations: population processes and statistical
applicable. Biometrika 32, 243–262.
estimation. Parasitology 101, 417–427.
Bland M (1995) An Introduction to Medical Statistics, 2nd edn.
Hallstrom AP (2010) A modified Wilcoxon test for non-negative
Oxford University Press, Oxford.
distributions with a clump of zeros. Statistics in Medicine 29,
Bockarie M, Kazura J, Alexander N et al. (1996) Transmission
391–400.
dynamics of Wuchereria bancrofti in East Sepik Province, Papua
Hand DJ (1994) Deconstructing statistical questions (with
New Guinea. American Journal of Tropical Medicine and
discussion). Journal of the Royal Statistical Society. Series A,
Hygiene 54, 577–581.
(Statistics in Society) 157, 317–356.
Boneau CA (1960) The effects of violations of assumptions
Hart A (2001) Mann–Whitney test is not just a test of medians:
underlying the t test. Psychological Bulletin 57, 49–64.
differences in spread can be important. BMJ 323, 391–393.
Bonferroni CE (1950) Sulle medie multiple di potenze [On multi-
ple algebraic means]. Bollettino dell’Unione Matematica
Italiana, serie 3 5, 267–270.

692 ª 2012 Blackwell Publishing Ltd


13653156, 2012, 6, Downloaded from https://onlinelibrary.wiley.com/doi/10.1111/j.1365-3156.2012.02987.x by Cochrane Peru, Wiley Online Library on [23/04/2023]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
Tropical Medicine and International Health volume 17 no 6 pp 684–693 june 2012

N. Alexander Analysis of skewed counts

Heeren T & d’Agostino R (1987) Robustness of the two- Seto EY, Lee YJ, Liang S & Zhong B (2007) Individual and village-
independent samples t-test when applies to ordinal scale data. level study of water contact patterns and Schistosoma japoni-
Statistics in Medicine 6, 79–90. cum infection in mountainous rural China. Tropical Medicine &
Hilbe JM (2007) Negative Binomial Regression, 1st edn International Health 12, 1199–1209.
Cambridge University Press, Cambridge. Shmueli G, Minka T, Kadane JB, Borle S & Boatwright PB (2005)
Hoshino N (2005) Engen’s extended negative binomial model revis- A useful distribution for fitting discrete data: revival of the
ited. Annals of the Institute of Statistical Mathematics 57, 369–387. Conway–Maxwell–Poisson distribution. Journal of the Royal
Kirkwood BR & Sterne JAC (2003) Essentials of Medical Statistical Society: Series C (Applied Statistics) 54, 127–142.
Statistics, 2nd edn. Blackwell Scientific Publications, Oxford. Shoukri MM, Asyali MH, VanDorp R & Kelton D (2004) The
Lachenbruch PA (2002) Analysis of data with excess zeros. Poisson inverse Gaussian regression model in the analysis of
Statistical Methods in Medical Research 11, 297–302. clustered counts data. Journal of Data Science 2, 17–32.
Laubscher NF (1961) On stabilizing the binomial and negative Sileshi G (2006) Selecting the right statistical model for analysis of
binomial variance. Journal of the American Statistical insect count data by using information theoretic measures.
Association 56, 143–150. Bulletin of Entomological Research 96, 479–488.
Marshall TF, Anderson J & Fuglsang H (1986) The incidence Smith T, Armstrong Schellenberg J & Hayes R (1994) Attributable
of eye lesions and visual impairment in onchocerciasis in fraction estimates and case definitions for malaria in endemic
relationship to the intensity of infection. Transactions of the areas. Statistics in Medicine 13, 2345–2358.
Royal Society of Tropical Medicine and Hygiene 80, 426–434. Stonehouse JM & Forrester GJ (1998) Robustness of the t and
Massé JC & Theodorescu R (2005) Neyman type A distribution U tests under combined assumption violations. Journal of
revisited. Statistica Neerlandica 59, 206–213. Applied Statistics 25, 63–74.
McCullagh P & Nelder JA (1983) Generalized Linear Models, Walker M, Hall A, Anderson RM & Basanez MG (2009) Density-
1st edn. Chapman and Hall, London. dependent effects on the weight of female Ascaris lumbricoides
McElduff F, Cortina-Borja M, Chan S-K & Wade A (2010) When infections of humans and its impact on patterns of egg
t-tests or Wilcoxon–Mann–Whitney tests won’t do. Advances in production. Parasites & Vectors 2, 11.
Physiology Education 34, 128–133. Warrell DM & Gilles HM (eds) (2002) Essential Malariology.
Montresor A (2007) Arithmetic or geometric means of eggs per Arnold, London.
gram are not appropriate indicators to estimate the impact of White H (1980) A heteroskedasticity-consistent covariance matrix
control measures in helminth infections. Transactions of the estimator and a direct test for heteroskedasticity. Econometrica
Royal Society of Tropical Medicine and Hygiene 101, 773–776. 48, 817–838.
Moulton LH, Curriero FC & Barroso PF (2002) Mixture models Williams CB (1937) The use of logarithms in the interpretation of
for quantitative HIV RNA data. Statistical Methods in Medical certain entomological problems. The Annals of Applied Biology
Research 11, 317–325. 24, 404–414.
Mumpower JL & McClelland G (2002) Measurement error, Wilson K & Grenfell BT (1997) Generalized linear modelling for
skewness, and risk analysis: coping with the long tail of the parasitologists. Parasitology Today 13, 33–38.
distribution. Risk Analysis 22, 277–290. Wojtczak M & Viemeister NF (2008) Perception of suprathresh-
Mwangi TW, Fegan G, Williams TN, Kinyanjui SM, Snow RW & old amplitude modulation and intensity increments: Weber’s
Marsh K (2008) Evidence for over-dispersion in the distribution law revisited. Journal of the Acoustical Society of America 123,
of clinical malaria episodes in children. PLoS ONE 3, e2196. 2220–2236.
Noe DA, Bailer AJ & Noble RB (2010) Comparing methods for Yu K, Lu Z & Stander J (2003) Quantile regression: applications
analyzing overdispersed count data in aquatic toxicology. and current research areas. Statistician 52, 331–350.
Environmental Toxicology and Chemistry 29, 212–219.
O’Hara RB & Kotze DJ (2010) Do not log-transform count data.
Methods in Ecology & Evolution 1, 118–122. Supporting Information
Olayinka OS & Abdullahi SA (2009) An overview of industrial Additional Supporting Information may be found in the
employees’ exposure to noise in sundry processing and manu-
online version of this article:
facturing industries in Ilorin metropolis, Nigeria. Industrial
Data S1. Supporting information.
Health 47, 123–133.
Remme J, Ba O, Dadzie KY & Karam M (1986) A force-of- Please note: Wiley-Blackwell are not responsible for the
infection model for onchocerciasis and its applications in the content or functionality of any supporting materials
epidemiological evaluation of the Onchocerciasis Control Pro- supplied by the authors. Any queries (other than missing
gramme in the Volta River basin area. Bulletin of the World material) should be directed to the corresponding author
Health Organization 64, 667–681. for the article.

Corresponding Author Neal Alexander, London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT, UK.
Tel.: +44 207 927 2483; Fax: +44 207 436 5389; E-mail: neal.alexander@lshtm.ac.uk

ª 2012 Blackwell Publishing Ltd 693

You might also like