Docsity

Lecture Notes on Point Estimation, Lecture notes of Statistics

Toggle sidebar
bg1
Chapter
6
Point estimation
This chapter deals with one of the central problems of statistics, that of using a
sample of data to estimate the parameters for a hypothesized population model from
which the data are assumed to arise. There are many approaches to estimation,
and several of these are mentioned; but one method has very wide acceptance, the
method of maximum likelihood.
So far in the course, a major distinction has been drawn between sample quan-
tities on the one hand-values calculated from data, such as the sample mean
and the sample standard deviation-and corresponding population quantities
on the other. The latter arise when a statistical model is assumed to be an ad-
equate representation of the underlying variation in the population. Usually
the model family is specified (binomial, Poisson, normal,
. . .
)
but the index-
ing parameters (the binomial probability p, the Poisson mean
p,
the normal
variance
u2,
.
.
.
)
might be unknown-indeed, they usually will be unknown.
Often one of the main reasons for collecting data is to estimate, from a sample,
the value of the model parameter or parameters.
Here are two examples.
Example
6.1
Counts of females
in
queues
In a paper about graphical methods for testing model quality, an experiment Jinkinson,
R.A.
and Slater,
M.
is described to count the number of females in each of 100 queues, all of length (1981) Critical discussion of a
ten, at a London underground train station. graphical method for identifying
discrete distributions.
The
The number of females in each queue could theoretically take any value be- Statistician,
30,
239-248.
tween 0 and 10 inclusive (though, in fact, no queue from the 100 observed
was constituted entirely of females). Table
6.1
shows the frequencies for the
different counts.
Table
6.1
Numbers of females in 100 queues of
length ten
Count
012
3
4
5
678910
Frequency
1
3
4
23 25 19 18 5
1 1
0
A
possible model for the observed variation is that the probability distribution
of the number of females in a queue is binomial B(lO,p), where the par-
ameter p (not known) is the underlying proportion of female passengers using
the London underground transport system during the time of the experiment.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29

Partial preview of the text

Download Lecture Notes on Point Estimation and more Lecture notes Statistics in PDF only on Docsity!

Chapter 6

Point estimation

This chapter deals with one of the central problems of statistics, that of using a sample of data to estimate the parameters for a hypothesized population model from which the data are assumed to arise. There are many approaches to estimation, and several of these are mentioned; but one method has very wide acceptance, the method of maximum likelihood.

So far in the course, a major distinction has been drawn between sample quan- tities on the one hand-values calculated from data, such as the sample mean and the sample standard deviation-and corresponding population quantities on the other. The latter arise when a statistical model is assumed to be an ad- equate representation of the underlying variation in the population. Usually

the model family is specified (binomial, Poisson, normal,... ) but the index-

ing parameters (the binomial probability p, the Poisson mean p, the normal variance u2,... ) might be unknown-indeed, they usually will be unknown. Often one of the main reasons for collecting data is to estimate, from a sample, the value of the model parameter or parameters.

Here are two examples.

Example 6.1 Counts of females in queues

In a paper about graphical methods for testing model quality, an experiment Jinkinson, R.A. and Slater, M. is described to count the number of females in each of 100 queues, all of length (1981)^ Critical^ discussion^ of^ a ten, at a London underground train station. graphical method for identifying discrete distributions. The The number of females in each queue could theoretically take any value be- Statistician,^ 30,^ 239-248. tween 0 and 10 inclusive (though, in fact, no queue from the 100 observed was constituted entirely of females). Table 6.1 shows the frequencies for the different counts.

Table 6.1 Numbers of females in 100 queues of length ten Count 0 1 2 3 4 5 6 7 8 9 1 0 Frequency 1 3 4 23 25 19 18 5 1 1 0

A possible model for the observed variation is that the probability distribution

of the number of females in a queue is binomial B(lO,p), where the par- ameter p (not known) is the underlying proportion of female passengers using the London underground transport system during the time of the experiment.

Elements of Statistics

The parameter p may be estimated from this sample in an intuitive way by (^) Parameter estimates are not always calculatinn 'obvious' or 'intuitive', as we shall see. Then you have to use total number of females (^) mathematics as a guide; otherwise, total number of passengers mathematics can be used to confirm your intuition.

  • 1 ~ 0 + 1 + 4 ~ 2 +... + 1 ~ 9 + 0 ~ 3 ~ 10 - - -- (^435) - 0.435, 10 X 100 1000 or just under i. In this case, as it happens, the binomial model fits the data very well; but it could have turned out that the binomial model provided a less than adequate representation of the situation. One of the assumptions underlying the model is that of independence. In this case that means that the gender of any person in a queue does not affect, and is not affected by, the gender of others. If, for instance, there had been too many Male-Female couples standing together, then the observed frequency of 4s, 5s and 6s in the counts would have been too high. H

Example 6.2 Counts of the leech Helobdella

An experiment is described in Jeffers (1978) in which 103 water samples were (^) Jeffers, J.N.R. (1978) An collected and the number of specimens of the leech Helobdella contained in introduction^ to^ systems^ analysis each sample was counted. More than half of the samples collected (58 of with^ ecological Edward Arnold, London. them) were free of this contamination, but all the other samples contained at least one leech-three contained five or more. Table 6.2 gives the frequencies of the different counts for the 103 samples.

Table 6.2 Counts of the leech Helobdella in 103 water samples Count 0 1 2 3 4 5 6 7 8 2 9 Freauencv 58 25 13 2 2 1 1 0 1 0

One model that might be thought to be at least reasonable for the observed variation in the counts is that they follow a Poisson distribution. The Poisson distribution is indexed by one parameter, its mean p. You saw in Chapter 4 , Section 4.2 that the sample mean has some 'good' properties as an estimator for a population mean p. (For instance, it has expectation p: this was shown

in (4.8) in Chapter 4.) In this case, the sample mean is

This constitutes an estimate, based on this sample, for the unknown Poisson mean p.

(In fact, it turns out that the observed variation here is not very well ex- pressed by a Poisson model. The reason is that the leeches tend to cluster together within the water mass from which they were drawn: that is, they are not independently located. Model testing is examined in Chapter 9 of the course.) H

There are many questions that might be asked about model parameters, and in this course Chapters 6 to 8 are devoted to answering such questions. One question is of the general form: is it reasonable to believe that the value of a

Elements of Statistics

Example 6.2 continued

The Helobdella experiment resulted in a data list comprising 103 observations on a discrete random variable (58 OS, 25 Is, and so on). For the purposes of drawing useful inferences from the experiment, these data were assumed to be i n d e p e n d e n t observations on the same random variable, a Poisson variate with unknown mean p. One obvious estimate for the parameter p is the sample mean

  • X = 0 ~ 5 8 + 1~ 2 5 + 2X 1 3 +... + 8 ~ (^1) - 84 103

In this case our data set comprised a particular collection of 103 independent observations X I , X2,... ,XlO3 on the random variable X Poisson(p); our estimate of p was the corresponding particular observation on the sample mean, the random variable

  • (^) X1 + X2 + ' ' ' + X X(1) = (^103) Suppose a similar study was carried out under similar circumstances, but on that occasion only 48 water samples were collected; as before, the number of leeches in each sample was counted. Assuming the same Poisson model, then the new estimate of the unknown parameter p would be
  • x l + ~ 2 + " ' + ~ 4 , 8 X(2) = (^48) This is an observation on the random variable
  • X l - k X 2 - k "'+X48. X(2) = (^48)

Exercise 6.

The first experiment (the one actually carried out) resulted in an estimate for p of ?F(1) = 0.816, an observation on the random variable The second (notional) experiment resulted in an estimate ?F(2) which was an observation on the random variable W(2).

Write down in terms of the unknown parameter p the mean and variance of the random variable X(1)and of the random variable X(2).

In this example we had a procedure or estimating formula which may be

expressed thus: collect a total of n water samples and count the number

of leeches XI, X 2 ,... , Xn in each sample; find the total number of leeches

X I + Xz +... + X n and divide this number by n to obtain the average number of leeches in a sample of water. In other words, the random variable

  • X = X l + X 2 +... + X , n is the estimating formula for p. It is called an estimator for p. With different data sets, different values of the estimator will be obtained (for example, 841103 or perhaps 30148). These are estimates for p.

Exam~le6.3 Alveolar-bronchiolar adenomas in mice

Tamura, R.N. and Young, S.S. (1987) A stabilized moment &tim&or for the beta-binomial In a research experiment into the incidence of alveolar-bronchiolar adenomas (^) distribution. Biometrics, 43, in mice, several groups of mice were examined. One of the groups contained (^54) 813-824. An adenoma is a benign mice: after examination, six of the 54 mice were found to have adenomas. tumour originating in a gland.

Chapter 6 Section 6.

Assuming independence from subject to subject, the experiment consists of

observing an outcome r on a binomial random variable R 7 B(n,p). In this

case the number observed was r = 6 and the sample size was n = 54; the obvious estimate of the proportion p is $ = i, or about 11%.

A different experiment might have involved a different number, n, of subjects; assuming the experimental design to be the same, and making the same as- sumptions, then the number of affected mice is a binomial random variable

R N B(n,p), and the experiment will result in the estimate r l n. Here, our

procedure or estimating formula is: observe the value of the random variable

R and divide this observed value by n. So R l n is the estimating formula, or estimator, for p. In different experiments, different values of the estimator

will be obtained. These are estimates r l / n l , r 2 / n 2 , ....

Indeed, the experiment involved altogether 23 groups of mice. Examination of the other 22 groups resulted in several different estimates for the proportion of affected mice in the wider population, from as low as 5 through 6 to estimates as high as $ = i. H

Example 6.4 Sand flies

An experiment was performed in which sand flies were caught in two different Christiensen, H.A., Herrer, A. and light traps; then the numbers of male and female flies were counted in each Telford,^ S R.^ (1972)^ Enzootic trap. cutaneous leishmaniasis in Eastern Panama. 11: Entomological The first trap was set three feet above the ground: when the traps were lifted investigations.^ Annals^ of^ Tropical it contained 173 male sand flies and 150 females-an observed proportion of Medicine^ and^ 66, 1731323 males, or about 54% (just over one-half). The second trap was set

35 feet above the ground: on inspection it was found to contain 125 males and 73 females.

Thus we have twd rather different estimates of the proportion of male sand flies in the population: whether or not the difference is a 'real' difference (fewer females venturing far above the ground) or due simply to random variation is the sort of question that is the subject of Chapter 8. At first sight, we have here one estimate r l / n l = 1731323 = 0.54 for the proportion p1 of males in the sand flies to be found 3feet above ground level, and another estimate r2/na = 1251198 = 0.63 for the proportion p2 of males in the sand fly popu- lation at 35 feet above ground. H

Example 6.5 Epileptic seizures

A number of patients with intractable epilepsy controlled by anticonvulsant Albert,^ (1991)^ A^ two-state drugs was observed for times between three months and five years, and in- mixture^ for^ a^ time series of epileptic seizure counts. formation about the number of daily seizures suffered by each patient was (^) Biometrics, 47, 1371-1381. recorded. One of the patients was observed for 422 consecutive days. Table 6. gives the frequencies for the daily seizure counts.

Table 6.3 Counts of epileptic seizures, daily over 422 days Count 0 1 2 3 4 5 6 Frequency 263 90 32 23 9 3 2

Chapter 6 Section 6.

has a binomial distribution B(n,p), then E(R) = np and so E(R/n) = p.) It will be useful too if the estimator has a small variance: then we can expect estimates resulting from statistical experiments to be close to the parameter we are trying to estimate. In any given estimation problem, there is not always one clear estimator to use: there may be several possible formulas that could be applied. The question that naturally arises is: which formula -is likely to lead to 'better' estimates? The next example illustrates this.

Example 6.6 Divorces in England and Wales, 1975- 1980

The next data set is about the annual numbers of divorces in England and

Wales for the six years between 1975 and 1980. The data are listed in Table 6.4. They appear to show some sort of linear upward trend, though there is not an exactly constant increase (and perhaps one would be rather surprised if there was). The aim of this example is to demonstrate that there are at least three sensible estimates that could be proposed for the underlying trend. The idea of estimating slopes through scattered data points is one that will be discussed in detail in Chapter 10. All you need to do for the moment is appreciate that in any context there may be more than one way of obtaining from data a 'sensible7estimate for an unknown parameter, and that there are simple methods for choosing from these estimates one that might be better than the others. Table 6.4 Annual numbers of divorces in England and Wales, 1975- Year 1975 1976 1977 1978 1979 1980 Number of divorces (thousands) 120.5 126.7 129.1 143.7 138.7 148.

Let us denote the number of divorces (thousands) in any particular year by y, and the year, reckoned from 1900 for convenience, by X. We can then plot the

data as six points (xi, yi) (i = 1,2,... ,6) on a scatter diagram as in Figure 6.1;

so, for example, xl = 75, yl = 120.5; 2 6 = 80, y~ = 148.3. The six points are

labelled PI, P2,P3, P4, P5,P6 going from left to right, i.e. Pl is ( X I , yl), and

SO on. Divorces (thousands)

100 1 I I l l l 75 76 77 78 79 80 Year

Data from Marriage and Divorce Statistics, Office of Population Censuses and Surveys, HMSO. For the purposes of this example, it is important that the data exhibit some sort of trend. More recent data than these (1985-1990) do not: there appears to be a levelling off.

Figure 6.1 Divorces in England and Wales, 1975-1980 (thousands)

Elements of Statistics

The pattern of the six points appears roughly linear, with positive slope; in other words, there appears to have been, over the six years covered by the data, an underlying upwards trend in the annual number of divorces. Our assumption will be that there is a trend line which truly underlies the six points; it has a slope P, say, which can be interpreted as the annual r te of

increase of divorces. The number / 3 is a parameter whose value we d not

know; but we wish to estimate it.

3

In previous examples there was a unique 'obvious' way of estimating p, namely = X, and of estimating p, namely p^= Rln. Here, this is not the case; one

can think of several apparently sensible ways of estimating 0. Three estimators

of /3 we might consider are: (1) 3, = the slope of the line joining the first and last points PI and P6; (2) B2 = the slope of the line joining the midpoint of PIP2to the midpoint of P 5 P 6 ; (3) =^ the slope of the line joining the 'centre of gravity' of the first three^ The technical term for 'centre of

points PI, P2, P3 to the centre of gravity of the last three points Pq,P5, gravity'^ is^ centroid.^ The^ centroid^ of

PS. thecoordinates^ points^ PI, $(PI^ Pz, +^ P3 P 2^ has + P3). Other estimators are possible (you can probably think of some) and different ones are, in fact, usually preferred; but these three will suffice to make the important points. The three lines with slopes A - - P,, and 3, are shown in

Figure 6.2; these are labelled 11, 12, 13.

Divorces (thousands) -

100 f I 4 1 1 ,

75 76 77 78 79 80 Year Figwe 6.2 Divorces in England and Wales, 1975-1980: trend lines

With this data set, these three estimating procedures give the following three

estimates (each to one decimal place):

Elements of Statistics

Divorces (thousands)

100 1 I I I I

75 76 77 78 79 80 Year Figure 6.3 Six observations on the random variable W

We shall assume that the observations wl, w2,... , w6 may be treated as

though they were independent observations on the s a m e random variable W ;

further, that the random variable W has mean 0 (observations occur above and below the trend line model); finally, that the random variable W has non-zero variance a2 (the problem is that there is evidence of deviation from the trend line). So our model for the data set in Table 6.4 is

There are three parameters for the model, a, P and a2,the values of which

are all unknown. Now, having constructed this model for the data, we can discuss relevant aspects of the sampling distributions of each of p,, p, and &, treating the estimate

say, exactly as though it was an observation on the random variable (the estimator) ,

A We can work out the mean and the variance of the estimator ,B1: this will give us some idea of its usefulness as an estimator for the trend slope p (the only one of the three unknown model parameters in which, for the present, we are interested). To do this, we need first to find out the mean and variance of the random variable Y , = a + ,Bxi + Wi. B

Exercise 6. Remembering that a, ,l3 and xi are just constants, and that W i has mean 0

and variance o2 for all i = 1 , 2 ,... ,6, calculate the mean and variance of the

random variable Y,.

Notice that here is a good example of the sittation where we use the

notation p, to refer not just to the

estimate of p,, a number

calculated from data, but also to the estimating formula, which we call the estimator.

Chapter 6 Section 6.

Example 6.6 continued

From the solution to Exercise 6.2, we have the results

E@) = a + Pxi, V(K) = g2. (6.1)

The expected value of the estimator p, is given by

(Here, the result that has been used is that for any random variable N and for any constant c, the expectation E(cN) is equal to cE(N)). Using (6.1) Chapter^ 4, (4.11). this reduces to

In other words, the expected value of the estimator p, is simply the unknown parameter A p. This is encouraging, for our purpose in constructing the esti- mator p,, was to provide a useful estimate of p. D

Exercise 6.

(a) Write down the estimators p2 and p3 in terms of Yl, Y2,... , Y 6 and xl,X2,...,x6. H i n t Look at how their numerical values, the estimates and p3,were obtained. A A (b) Find the expected values of the estimators P2 and P3.

So all of the three suggested estimators, p,, p2 and p,, have the desirable property that they have expectation P. Each of the estimators is said to be

unbiased for P.

A An estimator 6 for an unknown model parameter 6 is said to be un- biased for 8 (or, simply, unbiased) if it has expectation

E(@= 6.

Example 6.6 continued

There is therefore, so far, nothing to choose between the three estimators pl, 3, and p3, and in that sense there is no clue which is the 'better' estimator, and therefore no indication about how much reliance could be placed on the three estimates A A A PI = 5:6, P, = 5.0, p, = 6. for the slope of the underlying trend line.

Chapter 6 Section 6.

In a scenario involving point estimation we have data; a model for the data; an unknown parameter (or more than one) in the model, which we wish to estimate; irrespective of the particular values in our data set, an estimating formula or estimator; an estimate of the parameter; this will be different for different data sets: thus, an estimator is a random variable, an estimate is just a number; the sampling distribution of the estimator which will tell us how useful our estimator, and hence our estimate, is.

Moreover, we can say what the word 'useful' means here. It is useful if an estimator is unbiased and it is also useful if it has a small variance.

6.2 Methods of estimation

Where do we get our estimators from? In all the preceding examples, we have simply used a bit of common sense. But in Example 6.6, we devised three different estimators for the model parameter P; without much difficulty, others could have been invented. When estimating the binomial parameter p, the

estimator p^ = R l n is a very natural one to use, but what about the estimator

(R + l)/(n + 2), for instance, which possesses some attractive properties? Or (R + !j)/(n + l )? Given several competing estimators for some parameter, it has been indicated that we might be able to choose between them on the basis of properties of their respective sampling distributions. But we may well be able to continue inventing estimators ad injinitum. Or, in more complicated modelling situ- ations than these basic ones, we might be lost for ideas for obtaining any reasonable estimators at all. What is needed is a more systematic method for deriving sensible estimators in the first place. Just as an estimate is the numerical value resulting from applying an estimator to a particular set of data, so it would be helpful if an estimator were to be the result of applying some general estimation technique to the problem at hand. Once again, however, there is no single estimation technique which is uni- versally 'best', or even always appropriate! What follows in this section are very brief outlines of two of the more popular estimation techniques-there are many others-after which we shall concentrate on just one for the rest of the chapter. This third technique is known as the method of maximum likelihood, an approach to the problem which has many useful properties.

One quite desirable property of both these rival estimators for the binomial parameter p is that if in a sequence of n Bernoulli trials the number of successes observed is either r = 0 or r = n, it does not follow that the estimate p^ is respectively 0 or 1, suggesting in a rather absolute way 'impossibility' or 'certainty'.

While it might be discouraging that there are several different estimation tech- niques that could be applied in any given sampling context, however, it often

Elements of Statistics

turns out that many estimation techniques, relying on different principles, re- sult in exactly the same estimating formula for an unknown parameter. This is an encouraging finding.

For simplicity, we shall let 8, say, be the single parameter of interest here.

6.2.1 The method of least squares

Suppose X I , X 2 ,... , X, is our random sample, and that the parameter 8 we

wish to estimate is the mean of the distribution from which the random sample was drawn.

Now, each Xi should, loosely speaking, be 'somewhere near' 8 (although there

must be some variability about 8: quite how much there is depends on the

amount of dispersion in the population). Then each difference Xi - 8 should

be 'fairly small'. A reasonable estimate of 8 might then be chosen to try to make all the differences as small as possible simultaneously or, at least, to make the sum of the squares of all these differences,

as small as we can. Squaring the differences makes them all positive so that (possibly large) positive and negative differences do not cancel each other out.

The approach exemplified here, minimizing sums of squared differences be- tween observed data and what might have been expected, is known as the principle of least squares. An alternative approach might be to choose (^) In Chapter 10, this principle is our estimate of 8 to minimize the sum of the absolute differences, adopted when fitting straight lines to data, just as we tried to do in

In general this approach leads to intractable algebra, and of the two, the least squares approach is not only easier, but results in estimators whose general properties are more easily discerned.

For arithmetic ease, the data in the next example are artificial.

Example 6.7 An artificial data set-the method of least squares

Suppose that observations X I = 3, 22 = 4, x3 = 8 were collected in a random

sample of size 3 from a population with unknown mean, 8. The observed sum of squared differences is given by

Elements of Statistics

6.2.2 The method of moments

The method of moments is a very intuitive approach to the problem of

parameter estimation: the argument is as follows.

On the one hand, we have seen defined in the course summary population moments as expressions of the variability in a population; on the other hand, for random samples drawn from such populations, we have calculated sample moments to summarize the data. Population moments involve unknown par- ameters; sample moments are numbers. The method of moments matches analogous moments to obtain estimates for the unknown parameters. For instance, in a sample from the normal distribution N(p, u2) with unknown mean and variance, this approach would involve matching the unknown par-

ameters p and a2 precisely to their sample analogues :and s2; so the par-

ameter estimates are F = : , -2U^ = S.^2 Alternatively, for the geometric distribution with unknown parameter p, we know that the distribution mean is p = l l p. Matching the first population moment with the first sample moment to obtain an estimator for p, we would have 5 = l/p^;so

The method of moments raises a number of questions, of which perhaps the most immediate is: ,which moment do we match? For instance, the variance

of the geometric distribution is (1 - p)/p2; matching the population variance

with the sample variance, we would obtain

which may be written as a quadratic equation for +p^ as

this has solution

' g JW-^1 2s This is also a moment estimator for p, but for any particular random sample it will not usually be equal to our first guess, p^= 11 :. Which estimator may be better to use depends on a comparison of their sampling distributions, properties of which are not necessarily obvious. For the Poisson distribution with parameter p , both the population mean and the population variance are equal to p-should we use the sample mean or the sample variance s2 as an estimator 6 for p? Answers to these questions can always be obtained by reference to the sam- pling distribution of the proposed estimator. In general, a rule which works well in practice is: use as many sample moments as there are parameters re- quiring estimation, starting with the sample mean (first), the sample variance (second) and the sample skewness (third), and so on. (In fact, in this course we shall not be dealing with three-parameter distributions, and so we shall never need to use the sample skewness in a point estimation problem.)

See (3.19) in Chapter 3.

Similkly, a population median is not strictly a 'moment' in the sense that the word has been used in this course-it is a quantile-but it conveys a useful numerical summary measure of a probability distribution. The median of the normal distribution is also p-would the median of a normal sample be a 'better' estimator for p than the sample mean?

Chapter 6 Section 6.

Exercise 6.

Using this rule, write down moment estimators for

the Poisson parameter p, given a random sample X1, X 2 ,... , X n from a

Poisson distribution; the geometric parameter p, given a random sample X I , X2,... , Xn from a geometric distribution;

the normal parameters p and a2,given a random sample X I , X2,... , X,

from a normal distribution with unknown mean and variance; the exponential parameter X, given a random sample X I , X 2 ,... , X, from an exponential distribution; the binomial parameter p, given a random sample X1, X2,... ,X, from a binomial distribution B(m,p). (Notice the binomial parameter m here; the number n refers to the sample size. Assume m is known.)

Of course, practical estimates corresponding to these estimators but based on data samples, will not usually be equal to the population parameter they purport to estimate. For instance, here is a random sample of size 8 generated by computer from a Poisson distribution with mean 3:

The moment estimate for the Poisson mean p is the sample mean E:

A second random sample of the same size from the same distribution resulted in the estimate

The first overestimates the true (though usually unknown) population par- ameter; the second underestimates it. However, we do know that for any random sample of size n drawn from a population with mean p and standard deviation a, the sample mean has mean and standard deviation given by

E ( X ) = ~ , S D ( X ) = ~.

So, samples of size 8 drawn from a Poisson distribution with mean 3 (and, therefore, variance 3) have mean and standard deviation

and the variation observed is not very surprising. In the geometric case (Exercise 6.5(b)) you obtained the parameter estimator

and for the exponential case (Exercise 6.5(d)) the parameter estimator was

Chapter 6 Section 6.

The following two exercises summarize the work of this section. You will find that apart from keying in the individual data points to your calculator, or to your computer, very little extra work is required to obtain the estimates requested.

Exercise 6.

The ecologist E.C. Pielou was interested in the pattern of healthy and diseased

trees-the disease that was the subject of her research was 'Armillaria root rot'-in a plantation of Douglas firs. Several thin lines of trees through the plantation (called 'transects') were examined. The lengths of unbroken runs of healthy and diseased trees were recorded. The observations made on a total of 109 runs of diseased trees are given in Table 6.5.

Table 6.5 Run lengths of diseased trees in an infected plantation Run length 1 2 3 4 5 6 Number of runs 71 28 5 2 2 1

Pielou proposed that the geometric distribution might be a good model for these data, and showed that this was so. The geometric distribution has probability mass function

where the parameter p is, in this context, unknown. (Here, p is the proportion of healthy trees in the plantation.) Figure 6.5(a) shows a bar chart of the data in Table 6.5. Figure 6.5(b) gives a sketch of the probability mass function of a particular choice of geometric distribution (that is, one with a particular choice of p) to confirm that a geometric fit is a reasonable modelling assumption.

Frequency

75 -

Pielou, E.C. (1963) Runs of healthy and diseased trees in transects through an infected forest. Biometrics, 19, 603-614.

Figure 6.5 (a) (b)

Using these data obtain a moment estimate p^ for the geometric parameter p.

Elements of Statistics

Exercise 6.

Chapter 4, Table 4.7 lists the 62 time intervals (in days) between successive earthquakes world-wide. There is a histogram of the data in Figure 4.3 and in Figure 4.5 the results of fitting an exponential model to the data are shown. (The exponential fit looks very good.) A

(a) Using the data obtain a moment estimate X for the exponential parameter

X, and quantify any bias there may be in the estimate. What are the units of the estimate X? (b) Using the data obtain a moment estimate c for the underlying exponential mean p, and say whether or not the corresponding estimator is biased. What are the units of the estimate c?

As you can see, the method of moments has many attractive properties as a principle on which to base an approach'to estimation. It is an intuitive and straightforward approach to follow. However, there are some occasions (that is, particular sampling contexts) where the method fails and others where it cannot be applied at all.

6.3 The method of maximum likelihood

The following data set illustrates a situation that would not occur very often in practice: the data are artificial and are designed to illustrate a point.

Example 6.8 An artificial data set-the method of moments

Three observations were collected on a continuous uniform random variable

X U(O,8), where the parameter 6 is unknown-the aim of the sample was

to estimate 6. The data recorded were XI = 3.2, x2 = 2.9, x3 = 13.1. The sample mean is 2 = i(3.2 + 2.9 + 13.1) = 6.4. The mean of the uniform distribution U(0,O) is i8. Matching the two to obtain a moment estimate for 6 gives

  • X = 1 6 A 2

The trouble with this estimate is that it is so obviously wrong-a probability

model defined to take values only over the range [O, 12.81 would not permit an

observation as high as 13.1, and yet that was the third value obtained in the sample. W

Example 6.9 Vehicle occupancy

In this course we shall consider quite a number of statistical models for vari- ation: new models are being developed all the time as researchers attempt to refine the quality of the fit of models to data. One context where modelling is very important for forecasting purposes is in traffic research: data are col-