Beruflich Dokumente
Kultur Dokumente
Malla, G
MATh 257
30 Jan 2013
Statistic
(sample) x s s2 p
Characteristic
Mean Standard deviation Variance Proportion
(population)
2
Parameter
Malla, G
MATh 257
30 Jan 2013
Statistic
(sample) x s s2 p
Characteristic
Mean Standard deviation Variance Proportion
(population)
2
Parameter
Standard deviation?
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
z=
is standard normal.
Malla, G
MATh 257
30 Jan 2013
z=
(ii) When 2
is standard normal.
is known,
z=
x / n
is standard normal.
Malla, G
MATh 257
30 Jan 2013
z=
(ii) When 2
is standard normal.
is known,
z=
x / n
is standard normal.
(iii) When is
Malla, G
MATh 257
30 Jan 2013
What is df?
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
(i) Like normal distribution, it is another Bell-shaped distribution with center at 0. (ii) Unlike normal distribution, it depends on the the df.
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
(i) Like normal distribution, it is another Bell-shaped distribution with center at 0. (ii) Unlike normal distribution, it depends on the the df. Accordingly, there will be innite number of t-distributions, one of each df.
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
(i) Like normal distribution, it is another Bell-shaped distribution with center at 0. (ii) Unlike normal distribution, it depends on the the df. Accordingly, there will be innite number of t-distributions, one of each df. (iii) For large df, t-distribution becomes z-distribution.
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
(i) Like normal distribution, it is another Bell-shaped distribution with center at 0. (ii) Unlike normal distribution, it depends on the the df. Accordingly, there will be innite number of t-distributions, one of each df. (iii) For large df, t-distribution becomes z-distribution. (iv)
Malla, G
MATh 257
30 Jan 2013
What is df?
df for any statistic = Number of independent observations that are
used to calculate it. (Example ?)
(i) Like normal distribution, it is another Bell-shaped distribution with center at 0. (ii) Unlike normal distribution, it depends on the the df. Accordingly, there will be innite number of t-distributions, one of each df. (iii) For large df, t-distribution becomes z-distribution. (iv) The main dierence between the normal dist. and t-distribution (Can you tell me, just looking at their graphs in the next slide?)
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ...
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Z/2 x
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Z/2 x
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Z/2 x
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Z/2 x
s t/2 x n
Malla, G
MATh 257
30 Jan 2013
t -distributions
Area under the normal curve > area under the t-curve (at the center, near mean), but ... opposite is true at the tail of the distributions.
Z/2 x
s t/2 x n
where /2 is the upper-tail area for the desired level of condence, and t/2 is chosen to correspond to /2 and (n 1) degrees of freedom.
Malla, G MATh 257 30 Jan 2013
Calculation of
t/2
using R
Malla, G
MATh 257
30 Jan 2013
Calculation of
t/2
using R
Malla, G
MATh 257
30 Jan 2013
Calculation of
t/2
using R
In R, t/2 = qt (1 /2, df). For n = 50, df = 50-1 = 49, (i) For 98 % CI, (ii) For 95 % CI, (iii) For 80 % CI,
Malla, G
MATh 257
30 Jan 2013
Calculation of
t/2
using R
Malla, G
MATh 257
30 Jan 2013
Calculation of
t/2
using R
For n = 50, df = 50-1 = 49, (i) For 98 % CI, (ii) For 95 % CI, (iii) For 80 % CI,
t/2 = qt (.99, 49) = 2.4049 t/2 = qt (.975, 49) = 2.0096 t/2 = qt (.90, 49) = 1.2991
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Solution
Malla, G
MATh 257
30 Jan 2013
Solution
For 95% condence and (34 1) = 33 df, we nd t/2 = qt(0.975, 33) 2.035.
Malla, G
MATh 257
30 Jan 2013
Solution
For 95% condence and (34 1) = 33 df, we nd t/2 = qt(0.975, 33) 2.035.
s t/2 x = n
Malla, G
MATh 257
30 Jan 2013
Solution
For 95% condence and (34 1) = 33 df, we nd t/2 = qt(0.975, 33) 2.035.
Malla, G
MATh 257
30 Jan 2013
Solution
For 95% condence and (34 1) = 33 df, we nd t/2 = qt(0.975, 33) 2.035.
Solution
For 95% condence and (34 1) = 33 df, we nd t/2 = qt(0.975, 33) 2.035.
= [990.43, 1063.93]
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
[990.43, 1063.93]
Interpretations:
Malla, G
MATh 257
30 Jan 2013
[990.43, 1063.93]
Interpretations:
Interval interpretation:
Malla, G
MATh 257
30 Jan 2013
[990.43, 1063.93]
Interpretations:
Interval interpretation: We are 95% condent that the actual average cost per patient for the treatment of that disease at that hospital is between $990.43 and $1063.93.
Malla, G
MATh 257
30 Jan 2013
[990.43, 1063.93]
Interpretations:
Interval interpretation: We are 95% condent that the actual average cost per patient for the treatment of that disease at that hospital is between $990.43 and $1063.93. Point estimate and margin of error:
Malla, G
MATh 257
30 Jan 2013
[990.43, 1063.93]
Interpretations:
Interval interpretation: We are 95% condent that the actual average cost per patient for the treatment of that disease at that hospital is between $990.43 and $1063.93. Point estimate and margin of error: With 95% condence level, an point estimate of the true average cost per patient for the treatment of that disease at that hospital $1027.18, with a margin of error of $36.75.
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
Malla, G
MATh 257
30 Jan 2013
for 95% Condence level, and (500 1) = 499 df, we nd What did you notice in this problem?
Malla, G
MATh 257
30 Jan 2013
for 95% Condence level, and (500 1) = 499 df, we nd What did you notice in this problem? The t -value for the interval was
Malla, G
MATh 257
30 Jan 2013
for 95% Condence level, and (500 1) = 499 df, we nd What did you notice in this problem? The t -value for the interval was 1.96 practically identical to the z -value we used when was known. Why?
Malla, G
MATh 257
30 Jan 2013
for 95% Condence level, and (500 1) = 499 df, we nd What did you notice in this problem? The t -value for the interval was 1.96 practically identical to the z -value we used when was known. Why? Because the sample size was so large the sample standard deviation, s , provides a very good estimate of .
Malla, G
MATh 257
30 Jan 2013