Download Confidence Intervals in Statistical Sampling - Prof. Jack Morse and more Study notes Statistics in PDF only on Docsity!
Chapter Four – Gathering Data
4.1 Should we experiment or observe?
There are two basic ways to gather data:
1. Observational Study
2. Experiment
Difference between experiments and observational
studies:
Experiments attempt to manipulate or influence the subjects in an experiment. Properly designed experiments can be used to prove causation (that one variable CAUSES the other to change). In using experiments, subjects can be randomly assigned to groups. Observational studies simply measure characteristics of the subjects without attempting to manipulate or influence the subjects. Observational studies cannot be used to prove causation, they can only say that the variables are related to one another. In using an observational study, subjects cannot be randomly assigned to groups.
The advantages of using an experiment are that you
can prove causation and apply randomization, while
an observational study can only prove association of
two variables and not causation.
Example: Decide whether the following are experiments or observational studies:
- Rats with cancer are divided into 2 groups. One group receives 5 mg a day of an experimental drug that is thought to fight cancer, the other group receives 10 mg a day of the same drug. After 2 years, the spread of cancer is measured in both groups. Subjects? Experiment or observational study?
- A poll is conducted in which 500 people are asked whom they plan to vote for in the upcoming election. Subjects? Experiment or observational study?
Sources of Potential Bias in Sample Surveys
- Sampling Bias – occurs from using nonrandom samples or not using a large enough sample frame (undercoverage). Example: In an election poll, if we just took the first 30 people that walked up to us, rather than randomly selecting people to poll, this might result in sampling bias. (This would be called convenience sampling, which we will talk more about later.) Or, if we just took samples at a few of the voting stations and did not sample from all of them, this would be sampling bias.
- Nonresponse Bias – occurs when some sampled subjects cannot be reached or refuse to participate or fail to answer some questions. Example: If we send out 500 surveys and only get 52 back, this could result in nonresponse bias. These 52 don’t give us a large enough sample size and might not be representative of the population.
- Response Bias – occurs when the subject gives an incorrect response, or the wording of the question is confusing/misleading, or the way the interviewer asks the questions is confusing/misleading. Example: Asking the question on a survey this way might result in response bias: “Would you rather vote for CANDIDATE A ☺ or candidate b?”
4.3-4.4 Experiments
An experiment is a controlled study in which one
or more treatments are applied to experimental
units. The experimenter then observes the effect
of varying these treatments on a response variable.
A lot of new terms were used in the above
definition. Let’s now define these terms.
1) experimental unit (or subject): the person,
object, or some other well-defined item upon
which a treatment is applied.
2) treatment: a condition applied to the
experimental unit. ( i.e. , a new drug is
administered to patients)
3) response variable: a quantitative or
categorical variable that represents our
variable of interest.
The goal in an experiment is to determine the
effect the treatment has on the response variable.
Experimental Designs:
Completely randomized design
The experimental units are randomly assigned to
the treatments.
Matched-Pairs Design
A matched-pairs design is one in which the
experimental units are somehow related or
matched before the experiment takes place. For
example: the same person before and after a
treatment, twins, husband and wife, etc.
Example: One twin receives some treatment and
the other twin receives some other treatment. Not
only can we measure the overall groups that
received different treatments, we can also look at
the difference in the results for each matched pair
of twins.
Often, the measure of a response variable for an
experimental unit is taken before a treatment is
applied and then a measure is taken from the
same unit after the treatment. Here, the
individual is matched against itself.
CROSSOVER DESIGN:
Think about an experiment where subjects could
take one treatment (drug A) the first time they get
a headache, and the other treatment (drug B) the
second time they get a headache. The response
variable is whether the subject’s pain is relieved.
For each person we would have a matched pair of
observations because they both correspond to the
same person:
Subject Drug A Drug B
1 Relief No Relief
2 Relief Relief
3 No Relief No Relief
A matched-pairs design like this in which subjects
“cross over” during the experiment from using
one treatment to using another treatment is called
a crossover design.
In matched-pairs experiments, a set of matched
experimental units is referred to as a block. So in
the headache study above, each person is a block.
Example: A pharmaceutical company has
developed an experimental drug meant to cure a
deadly disease. The company randomly selects 300
males aged 25-29 years old with the disease and
randomly divides them into two groups. Group 1
is given the experimental drug, while Group 2 is
given a placebo. After one year of treatment, the
white blood cell count for each male is recorded.
a) Identify the experimental units.
b) What is the response variable in this experiment?
c) What is the explanatory variable? What are the
two levels of treatments?
d)Is the experiment design completely
randomized?
e) Does this experiment use matched-pairs design?
f) If the researcher knows which patients are
getting which drugs, is this a double or single
blind experiment?
Example: Researchers at UGA wished to
determine whether there was a connection
between listening to classical music and reasoning
skills. To test the research question, 36 college
students listened to one of Mozart’s sonatas for 10
minutes and then took a reasoning test using the
Stanford-Binet intelligence scale. The same
students were also administered the test after
sitting in a room for 10 minutes in complete
silence. The mean score on the test following the
Mozart piece was 119, while the mean test score
following the silence was 110. The researchers
concluded that subjects performed better on the
reasoning tests after listening to Mozart.
a) What is the response variable in the
experiment?
b) What is the explanatory variable? Describe
each level of treatment.
c) Does this experiment use matched-pairs design?
different student’s Test B score. We could only
compare the Test A scores to the Test B scores as
a group.
4.5 What are different ways to sample?
Sampling – obtaining subjects that are representative of the population to participate in a certain study so that accurate information about the population can be obtained. Simple Random Sampling – every subject has an equally likely chance of being selected for the sample When performing simple random sampling, usually samples are chosen using a random number table.
Example of Simple Random Sampling:
The following table lists the 43 presidents of the United States. Obtain a simple random sample of size five using the table in Chapter 4 which is a random number table. We will use row 1.
HW Chapter 4 Simple Random Sampling Problem
A randomized experiment investigates
whether an herbal treatment is better than a
placebo in treating subjects suffering from
depression. Unknown to the researchers,
the herbal treatment has no effect: Subjects
have the same score on a rating scale for
depression (for which higher scores
represent worse depression) no matter
which treatment they take.
(a) The study will use eight subjects
numbered 1 to 8. Using random numbers
pick the four subjects who will take the
herbal treatment. (Use the first row in the
table.)
Line/Col (1) (2) (3)
The difference between stratified and cluster sampling is that stratified sampling samples some individuals from all groups, where cluster sampling samples all individuals from some groups. Example: Identify the type of sampling used below. In order to determine the average IQ of ninth-grade students, a school psychologist obtains a list of all high schools in the local public school system. She randomly selects five of these schools and administers an IQ test to all ninth-grade students at the selected schools.
A member of Congress wishes to determine her county’s opinion regarding estate taxes. She divides her county into three income classes: low-income households, middle-income households, and upper- income households. She then takes a random sample of households from each income class.
A radio station asks its listeners to call in their opinion regarding the use of American forces in peacekeeping missions.
In an effort to identify whether an advertising campaign has been effective, a marketing firm conducts a nationwide poll by randomly selecting individuals from a list of known users of the product.
A lobby has a list of the 100 senators of the U.S. In order to determine the Senate’s position regarding farm subsidies, they decide to talk with every seventh senator on the list starting with the third.
Chapter 8: Statistical Inference: Confidence Intervals 8.1 What are Point and Interval Estimates of Population Parameters? When we first began our discussion of statistics, we mentioned that there were two branches of statistics: descriptive and inferential. The inferential branch uses sample information to draw conclusions about the population. One of the most common uses of the inferential branch is to use sample statistics, such asx, to estimate population parameters, such as μ. It makes sense that if we take a large enough sample,x should be pretty close to the actual value of μ. But the chances are pretty small thatx turns out to be exactly μ. This is why we callx a point estimate of μ. The key here is that sample statistics estimate population parameters. For example,x is a point estimate of μ and is a point estimate of p. p ˆ
And what we add and subtract from the sample mean to get the interval estimate is the margin of error. When we construct these interval estimates, we call them confidence intervals. So a confidence interval of a parameter consists of an interval of numbers, and this interval is our point estimate +/- our margin of error. Just as in our example above where our interval was 20 +/- 2, or in other words, 18 to 22. 20 is our point estimate and 2 is our margin of error. We call the value we obtain when we take the point estimate minus the margin of error, in our example 20 – 2 or 18, the lower limit or lower bound. And we call the value we obtain when we take the point estimate plus the margin of error, in our example 20 + 2 or 22, the upper limit or upper bound. You will also see the notation of the lower and upper limit in parentheses for confidence intervals. In our above example, the confidence interval may be written as (18,22).
It is also important for us to note the level of confidence of a confidence interval. In our example before, our level of confidence would have been that we were 95% confident that the mean age of all students in the class was somewhere on our interval. So the level of confidence is the probability that the interval contains the population parameter, in this case, μ. We will see in examples that as we increase our level of confidence, we will get wider and wider intervals. We will be constructing two different types of confidence intervals:
- In Section 8.2, we will be calculating the confidence interval for the population proportion, p.
- In Section 8.3, we will be calculating the confidence interval for the population mean, μ (like our classroom age example). Before we get to these sections, let’s make sure we understand the terms in the example on the next page. In this example, the confidence interval will already be