What should my confidence interval be




















A confidence interval is a range around a measurement that conveys how precise the measurement is. For most chronic disease and injury programs, the measurement in question is a proportion or a rate the percent of New Yorkers who exercise regularly or the lung cancer incidence rate.

Confidence intervals are often seen on the news when the results of polls are released. This is an example from the Associate Press in October Emphasis added. Although it is not stated, the margin of error presented here was probably the 95 percent confidence interval. In the simplest terms, this means that there is a 95 percent chance that between Conversely, there is a 5 percent chance that fewer than The precise statistical definition of the 95 percent confidence interval is that if the telephone poll were conducted times, 95 times the percent of respondents favoring Bob Dole would be within the calculated confidence intervals and five times the percent favoring Dole would be either higher or lower than the range of the confidence intervals.

Instead of 95 percent confidence intervals, you can also have confidence intervals based on different levels of significance, such as 90 percent or 99 percent. Level of significance is a statistical term for how willing you are to be wrong. We have a chapter dedicated to confidence intervals in our book Quantifying the User Experience Chapter 3 and in the Companion Book Chapter 3 which contains step-by-step instructions for computing the interval in R or the Excel statistics package.

Skip to content. Jeff Sauro, PhD. March 21, Confidence intervals tell you the most likely range of the unknown population average or percentage such as the average completion rate, the average level of satisfaction or the percentage of users likely to recommend your product. The only difference between the graphs is the sample size. Even though they both show the same location a mean score of 83 , the one on the right has a larger sample size 60 , making it a more precise estimate of the population SUS score than the sample with only Variability : as measured by the standard deviation.

Again, the confidence interval is a range of likely values for the difference in means. Since the interval contains zero no difference , we do not have sufficient evidence to conclude that there is a difference. The previous section dealt with confidence intervals for the difference in means between two independent groups. There is an alternative study design in which two comparison groups are dependent, matched or paired. Consider the following scenarios:.

A goal of these studies might be to compare the mean scores measured before and after the intervention, or to compare the mean scores obtained with the two conditions in a crossover study.

Yet another scenario is one in which matched samples are used. For example, we might be interested in the difference in an outcome between twins or between siblings. Once again we have two samples, and the goal is to compare the two means. However, the samples are related or dependent.

In the first scenario, before and after measurements are taken in the same individual. In the last scenario, measures are taken in pairs of individuals from the same family. When the samples are dependent, we cannot use the techniques in the previous section to compare means.

Because the samples are dependent, statistical techniques that account for the dependency must be used. These techniques focus on difference scores i. This distinction between independent and dependent samples emphasizes the importance of appropriately identifying the unit of analysis, i. Again, the first step is to compute descriptive statistics. We compute the sample size which in this case is the number of distinct participants or distinct pairs , the mean and standard deviation of the difference scores , and we denote these summary statistics as n, d and s d , respectively.

The appropriate formula for the confidence interval for the mean difference depends on the sample size. The formulas are shown in Table 6. When samples are matched or paired, difference scores are computed for each participant or between members of a matched pair, and "n" is the number of participants or pairs, is the mean of the difference scores, and S d is the standard deviation of the difference scores.

In the Framingham Offspring Study, participants attend clinical examinations approximately every four years. Suppose we want to compare systolic blood pressures between examinations i. Since the data in the two samples examination 6 and 7 are matched, we compute difference scores by subtracting the blood pressure measured at examination 7 from that measured at examination 6 or vice versa.

Notice that several participants' systolic blood pressures decreased over 4 years e. We now estimate the mean difference in blood pressures over 4 years. This is similar to a one sample problem with a continuous outcome except that we are now using the difference scores.

The calculations are shown below. Difference - Mean Difference. Difference - Mean Difference 2. The null or no effect value of the CI for the mean difference is zero. Crossover trials are a special type of randomized trial in which each subject receives both of the two treatments e. Participants are usually randomly assigned to receive their first treatment and then the other treatment. In many cases there is a "wash-out period" between the two treatments.

Outcomes are measured after each treatment in each participant. When the outcome is continuous, the assessment of a treatment effect in a crossover trial is performed using the techniques described here.

A crossover trial is conducted to evaluate the effectiveness of a new drug designed to reduce symptoms of depression in adults over 65 years of age following a stroke. Symptoms of depression are measured on a scale of with higher scores indicative of more frequent and severe symptoms of depression. Patients who suffered a stroke were eligible for the trial. The trial was run as a crossover trial in which each patient received both the new drug and a placebo. Patients were blind to the treatment assignment and the order of treatments e.

After each treatment, depressive symptoms were measured in each patient. The difference in depressive symptoms was measured in each patient by subtracting the depressive symptom score after taking the placebo from the depressive symptom score after taking the new drug.

A total of participants completed the trial and the data are summarized below. The mean difference in the sample is Since the sample size is large, we can use the formula that employs the Z-score. Because we computed the differences by subtracting the scores after taking the placebo from the scores after taking the new drug and because higher scores are indicative of worse or more severe depressive symptoms, negative differences reflect improvement i.

It is common to compare two independent groups with respect to the presence or absence of a dichotomous characteristic or attribute, e. When the outcome is dichotomous, the analysis involves comparing the proportions of successes between the two groups. There are several ways of comparing proportions in two independent groups. Generally the reference group e. The risk ratio is a good measure of the strength of an effect, while the risk difference is a better measure of the public health impact, because it compares the difference in absolute risk and, therefore provides an indication of how many people might benefit from an intervention.

An odds ratio is the measure of association used in case-control studies. It is the ratio of the odds or disease in those with a risk factor compared to the odds of disease in those without the risk factor.

When the outcome of interest is relatively uncommon e. The odds are defined as the ratio of the number of successes to the number of failures. All of these measures risk difference, risk ratio, odds ratio are used as measures of association by epidemiologists, and these three measures are considered in more detail in the module on Measures of Association in the core course in epidemiology. Confidence interval estimates for the risk difference, the relative risk and the odds ratio are described below.

A risk difference RD or prevalence difference is a difference in proportions e. The point estimate is the difference in sample proportions, as shown by the following equation:. The sample proportions are computed by taking the ratio of the number of "successes" or health events, x to the sample size n in each group:.

The formula for the confidence interval for the difference in proportions, or the risk difference, is as follows:. Note that this formula is appropriate for large samples at least 5 successes and at least 5 failures in each sample. If there are fewer than 5 successes events of interest or failures non-events in either comparison group, then exact methods must be used to estimate the difference in population proportions.

The following table contains data on prevalent cardiovascular disease CVD among participants who were currently non-smokers and those who were current smokers at the time of the fifth examination in the Framingham Offspring Study. When constructing confidence intervals for the risk difference, the convention is to call the exposed or treated group 1 and the unexposed or untreated group 2.

Here smoking status defines the comparison groups, and we will call the current smokers group 1 and the non-smokers group 2. A confidence interval for the difference in prevalent CVD or prevalence difference between smokers and non-smokers is given below.

In this example, we have far more than 5 successes cases of prevalent CVD and failures persons free of CVD in each comparison group, so the following formula can be used:. The null value for the risk difference is zero. A randomized trial is conducted among subjects to evaluate the effectiveness of a newly developed pain reliever designed to reduce pain in patients following joint replacement surgery. The trial compares the new pain reliever to the pain reliever currently used the "standard of care".

Patients are randomly assigned to receive either the new pain reliever or the standard pain reliever following surgery. The patients are blind to the treatment assignment. Before receiving the assigned treatment, patients are asked to rate their pain on a scale of with high scores indicative of more pain. Each patient is then given the assigned treatment and after 30 minutes is again asked to rate their pain on the same scale.

The primary outcome is a reduction in pain of 3 or more scale points defined by clinicians as a clinically meaningful reduction. The risk difference quantifies the absolute difference in risk or prevalence, whereas the relative risk is, as the name indicates, a relative measure.

Both measures are useful, but they give different perspectives on the information. By convention we typically regard the unexposed or least exposed group as the comparison group, and the proportion of successes or the risk for the unexposed comparison group is the denominator for the ratio.

The relative risk is a ratio and does not follow a normal distribution, regardless of the sample sizes in the comparison groups. However, the natural log Ln of the sample RR, is approximately normally distributed and is used to produce the confidence interval for the relative risk.

Therefore, computing the confidence interval for a risk ratio is a two step procedure. First, a confidence interval is generated for Ln RR , and then the antilog of the upper and lower limits of the confidence interval for Ln RR are computed to give the upper and lower limits of the confidence interval for the RR.

Note that the null value of the confidence interval for the relative risk is one. The outcome of interest was all-cause mortality. Those assigned to the treatment group exercised 3 times a week for 8 weeks, then twice a week for 1 year. Exercise training was associated with lower mortality 9 versus 20 for those with training versus those without. Therefore, exercisers had 0. In order to generate the confidence interval for the risk, we take the antilog exp of the lower and upper limits:.

The null value is 1. Consider again the randomized trial that evaluated the effectiveness of a newly developed pain reliever for patients following joint replacement surgery. Using the data in the table below, compute the point estimate for the relative risk for achieving pain relief, comparing those receiving the new drug to those receiving the standard pain reliever. In case-control studies it is not possible to estimate a relative risk, because the denominators of the exposure groups are not known with a case-control sampling strategy.

Nevertheless, one can compute an odds ratio, which is a similar relative measure of effect. Consider the following hypothetical study of the association between pesticide exposure and breast cancer in a population of 6, people. If data were available on all subjects in the population the the distribution of disease and exposure might look like this:.



0コメント

  • 1000 / 1000