Académique Documents
Professionnel Documents
Culture Documents
Sections 9
9.6
6 9.9,
99
Sections 11.1 11.4
I this
In thi case thi
this ttranslates
l t tto
sd
d Multiplier
n
H
How tto fi
find
d multiplier
lti li
If n>30 refer to normal distribution
n1 n2
2 2
1 s 2
1 s 2
1 2
n1 1 n1 n2 1 n2
A conservative
ti approach
h
Now because that formula is a total mess
we can use a conservative approximation
pp
that says that the degrees of freedom are
equal
q to the minimum between
n1 1 and n2 1
P l d case
Pooled
In this case we assume that the two independent
variable have equal variances and so equal
standard deviation
Then the common standard deviation is called
pooled standard deviation and is calculated
by:
sp
n1 1 s1 n2 1 s2
2 2
n1 n2 2
The degrees of freedom in this case are
calculated by: n n 2
1 2
Confidence intervals for the
diff
difference off means independent
i d d t
samples
p
First of all, we have that the general format of
confidence intervals is:
S
Sample ti t Multiplier
l estimate M lti li Standard
St d d error
Which, in this case it translates to:
x1 x2 Multiplier Standard error
To find the standard error and the multiplier you
have to check in which case the problem is.
If n1,n2 both
b th >30
30
Then we have that the difference of the
means of independent
p samples
p follow a
normal distribution and the multiplier will
be found in the table of standard normal.
The standard error in this case is equal to
s12 s22
n1 n2
If one off n1,n2 < 30
Then we have to decide if we have the unpooled
or pooled case:
If we have the unpooled case then the standard
error is equal to the one in previous slide
s12 s 22
n1 n 2
For the multiplier we have to look on the table of
t distribution with degrees of freedom equal to
the Welchs approximation or if clearly stated we
can use the conservative approach
If one off n1,n2 < 30
If we have the pooled case then:
The standard error is equal to
1 1
sp
n1 n2
The multiplier can be found on the table of t
di t ib ti with
distribution ith n1 n2 2 d
degrees off
freedom
E
Example
l 1
I ask the mean height of 100 PSU male students
and 150 PSU female students. The sample
average for males is 72 inches and females 66
inches. The sample standard deviation for
males is 9 and for females is 7.
Find the sampling distribution of the difference of
the two means
Find the 90% confidence interval for the
difference of the two means
E
Example
l 2
I have a Stat 200 class with 20 male students
and 23 female students and I give them a test.
The sample average for males is 82 and for
females 86. The sample standard deviation for
males is 2.8 and for females is 3.
Find the sampling distribution of the difference of
the two means using the unpooled case Welch
approximation
Find the 90% confidence interval for the
difference of the two means.
E
Example
l 3
I have a Stat 200 class with 20 male students
and 23 female students and I give them a test.
The sample average for males is 82 and for
females 86. The sample standard deviation for
males is 2.8 and for females is 3.
Find the sampling distribution of the difference of
the two means using the unpooled case
conservative approach
Find the 90% confidence interval for the
difference of the two means.
E
Example
l 4
I have a Stat 200 class with 20 male students
and 23 female students and I give them a test.
The sample average for males is 82 and for
females 86. The sample standard deviation for
males is 2.8 and for females is 3.
Find the sampling distribution of the difference of
the two means using the pooled case
Find the 90% confidence interval for the
difference of the two means.