Docsity

Understanding Standard Error & Confidence Intervals in Research: Statistical View, Study notes of Mathematical Methods

Toggle sidebar
bg1
1
Standard Error and Confidence Intervals
Martin Bland
Professor of Health Statistics
University of York
http://www-users.york.ac.uk/~mb55/
Sampling
Most research data come from subjects we think of as
samples drawn from a larger population.
The sample tells us something about the population.
E.g. blood sample to estimate blood glucose.
One drop of blood to represent all the blood in the
body.
Three measurements: 6.0, 5.9, and 5.8.
Which is correct?
None are; they are all estimates of the same quantity.
We do not know which is closest.
Sampling
Most research data come from subjects we think of as
samples drawn from a larger population.
The sample tells us something about the population.
E.g. randomised controlled trial comparing two obstetric
regimes, active management of labour and routine
management.
Proportion of women in the active management of labour
group who had a Caesarean section was 0.97 times the
proportion of women in the routine management group who
had sections (Sadler et al., 2000). (Relative risk.)
Sadler LC, Davison T, McCowan LM. (2000) A randomised controlled trial and
meta-analysis of active management of labour. British Journal of Obstetrics and
Gynaecology 107, 909-15.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Understanding Standard Error & Confidence Intervals in Research: Statistical View and more Study notes Mathematical Methods in PDF only on Docsity!

Standard Error and Confidence Intervals

Martin Bland

Professor of Health Statistics University of York http://www-users.york.ac.uk/~mb55/

Sampling

Most research data come from subjects we think of as samples drawn from a larger population.

The sample tells us something about the population.

E.g. blood sample to estimate blood glucose.

One drop of blood to represent all the blood in the body. Three measurements: 6.0, 5.9, and 5.8. Which is correct? None are; they are all estimates of the same quantity. We do not know which is closest.

Sampling

Most research data come from subjects we think of as samples drawn from a larger population.

The sample tells us something about the population.

E.g. randomised controlled trial comparing two obstetric regimes, active management of labour and routine management.

Proportion of women in the active management of labour group who had a Caesarean section was 0.97 times the proportion of women in the routine management group who had sections (Sadler et al ., 2000). (Relative risk.)

Sadler LC, Davison T, McCowan LM. (2000) A randomised controlled trial and meta-analysis of active management of labour. British Journal of Obstetrics and Gynaecology 107 , 909-15.

Sampling

Most research data come from subjects we think of as samples drawn from a larger population. The sample tells us something about the population. Four randomised controlled trial comparing active management of labour and routine management. Relative risks of Caesarean section: 0.97, 0.75, 1.01, and 0.64. They are not all the same. Estimates vary from sample to sample.

Sampling distributions

The estimates from all the possible samples drawn in the same way have a distribution. We call this the sampling distribution.

Sampling distributions

Example: drawing lots. Put lots numbered 1 to 9 into a hat and sample by drawing one out, replacing it, drawing another out, and so on. Each number would have the same chance of being chosen each time and the sampling distribution would be:

0

.

.

.

.

.

.

Relative frequency

1 2 3 4 5 6 7 8 9 Digits 1 to 9

Sampling distributions

Example: drawing lots. The sampling distribution of the average has a different shape to the distribution of a single draw. It looks closer to a Normal distribution than does the distribution of the observations themselves.

0

.

.

.

.

.

.

Relative frequency

1 2 3 4 5 6 7 8 9 Digits 1 to 9

0

.

.

.

.

.

.

Relative frequency

1 2 3 4 5 6 7 8 9 Mean of two digits

  1. Such sample means will have a distribution which has the same mean as the whole population.
  2. These sample means will have a smaller standard deviation than the whole population, and the bigger we make the sample the smaller the standard deviations of the sample means will be.
  3. The shape of the distribution gets closer to a Normal distribution as the number in the sample increases.

For almost any observations we care to make, if we take a sample of several observations and find their mean, whatever the distribution of the original variable was like:

Any statistic which is calculated from a sample, such as a mean, proportion, median, or standard deviation, will have a sampling distribution.

Standard error

We can use standard error to describe how good our estimate is. The standard error comes from the sampling distribution. The standard deviation of the sampling distribution tells us how good our sample statistic is as an estimate of the population value. We call this standard deviation the standard error of the estimate.

Standard error

In the lots example, we know exactly what the distribution of the original variable is because it comes from a very simple randomising device.

In most practical situations, we do not know this.

Standard error

FEV1 (litres) of 57 male medical students

2.85 3.19 3.50 3.69 3.90 4.14 4.32 4.50 4.80 5. 2.85 3.20 3.54 3.70 3.96 4.16 4.44 4.56 4.80 5. 2.98 3.30 3.54 3.70 4.05 4.20 4.47 4.68 4.90 5. 3.04 3.39 3.57 3.75 4.08 4.20 4.47 4.70 5. 3.10 3.42 3.60 3.78 4.10 4.30 4.47 4.71 5. 3.10 3.48 3.60 3.83 4.14 4.30 4.50 4.78 5.

Mean = 4.062, SD s = 0.67 litres.

What is the standard error of the mean?

For a sample mean, the standard error is =

Standard deviation / square root sample size = 0.67/57 = 0.089 litres.

Standard error

FEV1 (litres) of 57 male medical students

Mean = 4.062, SD s = 0.67 litres.

What is the standard error of the mean?

For a sample mean, the standard error is =

Standard deviation / square root sample size = 0.67/57 = 0.089 litres.

In general, standard errors are proportional to one over the square root of the sample size, approximately.

To half the standard error we must quadruple the sample size.

Confidence intervals

Confidence intervals are another way to think about the closeness of estimates from samples to the quantity we wish to estimate.

Some, but not all, confidence intervals are calculated from standard errors.

Confidence intervals are called ‘ interval estimates ’, because we estimate a lower and an upper limit which we hope will contain the true values.

An estimate which is a single number, such as the mean FEV1 observed from the sample, is called a point estimate.

Confidence intervals

It is not possible to calculate useful interval estimates which always contain the unknown population value.

There is always a very small probability that a sample will be very extreme and contain a lot of either very small or very large observations, or have two groups which differ greatly before treatment is applied.

We calculate our interval so that most of the intervals we calculate will contain the population value we want to estimate.

Confidence intervals

Often we calculate a confidence interval: a range of values calculated from a sample so that a given proportion of intervals thus calculated from such samples would contain the true population value.

For example, a 95% confidence interval calculated so that 95% of intervals thus calculated from such samples would contain the true population value.

Confidence intervals

In the FEV1 example, we have a fairly large sample, and so we can assume that the observed mean is from a Normal Distribution.

For this illustration we shall also assume that the standard error is a good estimate of the standard deviation of this Normal distribution. (We shall return to this in Week 5.)

We therefore expect about 95% of such means to be within 1.96 standard errors of the population mean.

Hence, for about 95% of all possible samples, the population mean must be greater than the sample mean minus 1.96 standard errors and less than the sample mean plus 1.96 standard errors.

Confidence intervals

If we calculate mean minus 1.96 standard errors and mean plus 1.96 standard errors for all possible samples, 95% of such intervals would contain the population mean.

For the FEV1 sample, these limits are

4.062 – 1.96 × 0.089 to 4.062 + 1.96 × 0. which gives 3.89 to 4.24, or 3.9 to 4.2 litres.

3.9 and 4.2 are called the 95% confidence limits for the estimate, and the set of values between 3.9 and 4.2 is called the 95% confidence interval.

The confidence limits are the ends of the confidence interval.

Confidence intervals

It is incorrect to say that there is a probability of 0.95 that the population mean lies between 3.9 and 4.2.

The population mean is a number, not a random variable, and has no probability.

We sometimes say that we are 95% confident that the mean lies between these limits, but this doesn’t help us understand what a confidence interval is.

The important thing is: we use a sample to estimate something about a population. The 95% confidence interval is chosen so that 95% of such intervals will include the population value.

Confidence intervals

So far we have looked at 95% confidence intervals, chosen so that 95% of intervals will include the population value.

The choice of 95% is just that, a choice.

There is no reason why we have to use it.

We could use some other percentage, such as 99% or 90% confidence intervals.

If 99% of intervals include the population value, they must be wider than 95% confidence intervals.

90% intervals are narrower.

Confidence intervals

For the trial comparing active management of labour with routine management (Sadler et al ., 2000), the relative risk for Caesarean section was 0.97.

Sadler et al. quoted the 95% confidence interval for the relative risk as 0.60 to 1.56.

Hence we estimate that in the population which these subjects represent, the proportion of women undergoing Caesarean section when undergoing active management of labour is between 0.60 and 1.56 times the proportion who would have Caesarean section with routine management.

Significance tests and confidence intervals

Often involve similar calculations. If CI does not include the null hypothesis value, the difference is significant. E.g. for a difference between two proportions, null hypothesis value = 0. If 95% CI contains zero, difference is not significant. If 95% CI does not contain zero, difference is significant.

Significance tests and confidence intervals

Example: study of respiratory disease in schoolchildren, children were followed at ages 5 and 14.

Compared children with bronchitis in infancy and with no such history.

Proportions reported to have respiratory symptoms in later life (Holland et al. , 1978).

History of bronchitis: 273 children, 26 of whom were reported to have day or night cough at age 14.

No history of bronchitis: 1046 children, 44 of whom were reported to have day or night cough at age 14.

Holland WW, Bailey P, Bland JM. (1978) Long-term consequences of respiratory disease in infancy. Journal of Epidemiology and Community Health 32 , 256-259.

Significance tests and confidence intervals

Example: study of respiratory disease in schoolchildren, children were followed at ages 5 and 14.

Compare prevalence of the symptom in both populations,

Large sample Normal or z test for the difference between two proportions.

This test uses a standard error, like others we shall come across in this course.

Significance tests and confidence intervals

  1. Null hypothesis: prevalence of the symptom is the same in both populations. Alternative hypothesis: prevalence differs.
  2. Assumptions: the observations are all independent and the sample is large enough. Independent because children are all different and unrelated, we shall accept that sample is large enough as being met here.
  3. Test statistic = difference between the two proportions divided by the standard error it would have if the proportions were actually the same. Proportions are 26/273 = 0.09524 (history of bronchitis) and 44/1046 = 0.04207 (no bronchitis). Difference = 0.09524 – 0.04207 = 0.05317. SE = 0.01524. Test statistic = 0.05317/0.01524 = 3.49.