Sampling in Statistics
Sampling in Statistics
When done this way, the random sample from each strata
may be described and analyzed alongside the other strata
data to find if the measured variable may have some
significant differences or not.
2
Z x Z2 p (1 p ) NZ 2 pq
n 2
or 2 or 2
E E 2
NE Z pq
2 2
2
Example problems:
What our grade school science teachers may have left out is how
to design an experiment. What we normally have in grade school is a
set out procedure to be followed, Let us now discuss certain concepts
that would be used in design of experiments.
You could state your initial hypothesis that the new route takes
the same number of minutes of travel time as the old route. You have
effectively made a causal relationship in your hypothesis: that the
“route” causes differences in “travel time”.
You may already have a good enough picture from the list
above what other conditions may inadvertently affect travel
driving time. The key here is consistency of conditions. If that is
assured, then we can say that average times you got using your
old route and the average times you got with the new route can
now be compared on equal terms, and any significant differences
would be conclusive about the superiority of one route over the
other.
One can also add another factor, say, using new and
old cars--to further find if the car type affects travel
time. We may now revise the design of the experiment
to include this new factor.
To find if the new route is different from the old route, you
may create a histogram of the two samples, and compare the
two. Let’s say you took 14 observations with the old route and
21 with the new. You made the following histograms:
5 8
7
4 6
5
3
4
2 3
2
1 1
0 0
15- 20- 25- 30- 35- 40- 45- 50- 55- 15- 20- 25- 30- 35- 40- 45- 50- 55-
20 25 30 35 40 45 50 55 60 20 25 30 35 40 45 50 55 60
Minutes Minutes
The statistics show that the standard deviations are not too
different (5.88 mins vs 5.80 minutes). What is more important is that
the average times are different by about 12 minutes. Since the
standard deviations are indicators of measurement error, then the two
means are actually apart by about 2 standard deviations, suggesting
that there is really a significant difference between the average times
of both routes.
This gives more evidence that the new route indeed saves you
travel time over the old route. Based on this data, you can confidently
say that the new route should be your preferred route home.