# Margin of error and confidence level relationship goals

•Bring 2 sheets of notes and calculator to midterm. Goal today: Learn to calculate and interpret confidence intervals for same size from a population, the confidence level is the . When sample size increases, margin of error decreases. 2. This means that there is a 95% probability that the confidence interval will contain Thus, the margin of error is times the standard error (the standard deviation .. A goal of these studies might be to compare the mean scores measured. each of the sensitivity and specificity confidence intervals, including appropriate Using a mathematical relationship (see Fleiss et al (), p. . The goal is to determine the total sample size needed when also accounting for 20% to . the margin of error is 7% (With a margin of error (precision) of 7%, the width is ).

### Confidence Intervals

However,we will first check whether the assumption of equality of population variances is reasonable. The ratio of the sample variances is 9. The solution is shown below.

First, we compute Sp, the pooled estimate of the common standard deviation: Note that again the pooled estimate of the common standard deviation, Sp, falls in between the standard deviations in the comparison groups i.

Our best estimate of the difference, the point estimate, is The standard error of the difference is 6.

## Introduction

In this sample, the men have lower mean systolic blood pressures than women by 9. Again, the confidence interval is a range of likely values for the difference in means.

Since the interval contains zero no differencewe do not have sufficient evidence to conclude that there is a difference. Confidence Intervals for Matched Samples, Continuous Outcome 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 single sample of participants and each participant is measured twice, once before and then after an intervention.

A single sample of participants and each participant is measured twice under two different experimental conditions e.

### Confidence Intervals for a Single Mean or Proportion

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. After successfully completing this unit, the student will be able to: Explain what a confidence interval is.

Interpret the confidence interval for a mean or a proportion from a single group. Use R to compute a confidence interval for the mean in a single group Use R to compute a confidence interval for a proportion in a single group Estimating Population Parameters in a Single Group The goal of exploratory or descriptive studies is not to formally compare groups in order to test for associations between exposures and health outcomes, but to estimate and summarize the characteristics of a particular population of interest.

Typical examples would be a case series of humans who had been diagnosed and treated for bird flu or a cross-sectional study in a community for the purpose of better understanding the current health status and potential challenges for the future.

The variables being estimated would logically include both continuous variables e. For both continuous variables e. Recall that sample means and sample proportions are unbiased estimates of the corresponding population parameters. Confidence Intervals For both continuous and dichotomous variables, the confidence interval estimate CI is a range of likely values for the population parameter based on: In practice, however, we select one random sample and generate one confidence interval, which may or may not contain the true mean.

Key Concept A confidence interval does not reflect the variability in the unknown parameter. Rather, it reflects the amount of random error in the sample and provides a range of values that are likely to include the unknown parameter.

Another way of thinking about a confidence interval is that it is the range of likely values of the parameter with a specified level of confidence which is similar to a probability.