Docsity

Improving Mean Analysis with t-Distributions - Prof. David K. Neal, Study notes of Statistics

Toggle sidebar
bg1
Dr. Neal, Spring 2009
MATH 203 The t–Distributions
The
t
-distributions can be used in statistics to improve upon the analysis of the mean of
a normally distributed measurement. A
t
-distribution is based on a parameter known as
the degrees of freedom
n
, where
n
is an integer greater than or equal to 1. Such a
random variable is denoted by
X
~ t(n).
In practice, a
t
-distribution is created by looking at all possible expressions āˆ’x
S/n,
where
x
and
S
are the sample mean and sample deviation from a random sample of
size
n
taken from a normally distributed measurement.
This usage was first discovered by W. S. Gosset while employing statistical methods
as a brewer at Guinness Brewery in Dublin, Ireland. After studying under Karl Pearson
in London in 1907, Gosset published two papers in 1908, under the pseudonym
ā€œStudent,ā€ that introduced the ā€œStudent
t
-distribution.ā€ In 1912, Ronald Fisher
graduated from Cambridge University. He spent the next 13 years developing the
mathematical theory and further statistical applications of Student’s
t
-distribution.
As with the standard normal distribution, a
t
-distribution creates a ā€œbell-shapedā€
curve that is symmetric about the point
x
= 0. Moreover, as the degrees of freedom
n
increase, the
t
-distributions converge to the standard normal distribution
Z
, with the
tails flattening and the middle height increasing.
The theoretical curve is given by
f(x) = Cn
1+x2
n



 



n+1
2
for all
x
,
where C
n
is a constant that depends on
n
.
t(1) -distribution t(10)-distribution
Recall: With a standard normal distribution
Z
~ N(0, 1), we have
z
-scores z/2 that
are the bounds that give an inner probability of
r
=
1āˆ’
. For example, 95% of the
standard normal curve is within
. For
X
~ N( , ) , 95% of the measurements
are within ±1.96 . (In general,
X
is within ±z/2 with probability
r
=
1āˆ’
).
However, with the
t
-distributions, we have a set of
t
-scores for every degree of
freedom. These
t
-scores are further out than the
z
-scores, but they slowly decrease to
the
z
-scores as the degrees of freedom increase.
Gosset and Fisher spent many years calculating accurate tables for various degrees
of freedom and various levels of confidence. At first these tables were used exclusively
at Gosset’s brewery, but now they are standard in any statistics text, or they can be
found using a special calculator program. Now the
t
-scores are widely used for finding
the bounds of confidence intervals for the mean when sampling a normally distributed
measurement. Most importantly, the method applies to small samples.
pf3
pf4
pf5

Partial preview of the text

Download Improving Mean Analysis with t-Distributions - Prof. David K. Neal and more Study notes Statistics in PDF only on Docsity!

MATH 203 The t–Distributions

The t -distributions can be used in statistics to improve upon the analysis of the mean of a normally distributed measurement. A t -distribution is based on a parameter known as the degrees of freedom n , where n is an integer greater than or equal to 1. Such a random variable is denoted by X ~ t ( n ).

In practice, a t -distribution is created by looking at all possible expressions

āˆ’ x S / n

where x and S are the sample mean and sample deviation from a random sample of size n taken from a normally distributed measurement.

This usage was first discovered by W. S. Gosset while employing statistical methods as a brewer at Guinness Brewery in Dublin, Ireland. After studying under Karl Pearson in London in 1907, Gosset published two papers in 1908, under the pseudonym ā€œStudent,ā€ that introduced the ā€œStudent t -distribution.ā€ In 1912, Ronald Fisher graduated from Cambridge University. He spent the next 13 years developing the mathematical theory and further statistical applications of Student’s t -distribution.

As with the standard normal distribution, a t -distribution creates a ā€œbell-shapedā€ curve that is symmetric about the point x = 0. Moreover, as the degrees of freedom n increase, the t -distributions converge to the standard normal distribution Z , with the tails flattening and the middle height increasing.

The theoretical curve is given by

f ( x ) =

Cn

x^2 n

n + 1 2

for all x ,

where Cn is a constant that depends on n.

t (1) -distribution t (10) -distribution

Recall : With a standard normal distribution Z ~ N (0, 1), we have z -scores z (^) /2 that

are the bounds that give an inner probability of r = 1 āˆ’. For example, 95% of the standard normal curve is within ±1.96. For X ~ N ( , ) , 95% of the measurements

are within ± 1.96. (In general, X is within ± z (^) /2 with probability r = 1 āˆ’ ).

However, with the t -distributions, we have a set of t -scores for every degree of freedom. These t -scores are further out than the z -scores, but they slowly decrease to the z -scores as the degrees of freedom increase.

Gosset and Fisher spent many years calculating accurate tables for various degrees of freedom and various levels of confidence. At first these tables were used exclusively at Gosset’s brewery, but now they are standard in any statistics text, or they can be found using a special calculator program. Now the t -scores are widely used for finding the bounds of confidence intervals for the mean when sampling a normally distributed measurement. Most importantly, the method applies to small samples.

t -scores

 - 0.90 0.95 0.98 0. 
  • 1 6.314 12.076 31.821 63. deg. of fr.
  • 2 2.920 4.303 6.965 9.
  • 3 2.353 3.182 4.541 5.
  • 4 2.132 2.776 3.747 4.
  • 5 2.015 2.571 3.365 4.
  • 6 1.943 2.447 3.143 3.
  • 7 1.895 2.365 2.998 3.
  • 8 1.860 2.306 2.896 3.
  • 9 1.833 2.262 2.821 3.
  • 10 1.812 2.228 2.764 3.
  • 11 1.796 2.201 2.718 3.
  • 12 1.782 2.179 2.681 3.
  • 13 1.771 2.160 2.650 3.
  • 14 1.761 2.145 2.624 2.
  • 15 1.753 2.131 2.602 2.
  • 16 1.746 2.120 2.583 2.
  • 17 1.740 2.110 2.567 2.
  • 18 1.734 2.101 2.552 2.
  • 19 1.729 2.093 2.539 2.
  • 20 1.725 2.086 2.528 2.
  • 21 1.721 2.080 2.518 2.
  • 22 1.717 2.074 2.508 2.
  • 23 1.714 2.069 2.500 2.
  • 24 1.711 2.064 2.492 2.
  • 25 1.708 2.060 2.485 2.
  • 26 1.706 2.056 2.479 2.
  • 27 1.706 2.052 2.473 2.
  • 28 1.701 2.048 2.467 2.
  • 29 1.699 2.045 2.462 2.
  • 30 1.697 2.042 2.457 2. - 1.645 1.960 2.326 2.

Example 1. A producer of electrical wire is testing the force required to pull spliced wires apart. Ideally, each should withstand at least 20 pounds of pull force, and the required forces have always been found to be normally distributed. Below are a random sample of the required pull forces in pounds. Find a 99% confidence interval for the average required pull force. Is the average at least 20 lbs?

Solution. The desired confidence can be found using the TInterval feature (item 8 in the STAT TESTS menu). Enter the data into a list, then execute the TInterval screen after adjusting the settings:

To work the problem ā€œby hand,ā€ we first must compute the sample mean x and the sample deviation S. Upon doing so, we obtain x = 25.475 and S ā‰ˆ 2.4935 with this sample of size of n = 20. For a 99% interval, the t -score of the t (19) distribution is 2.861; thus,

ā‰ˆ x ±

t (^) /2 S n

2.861 Ɨ 2.

Thus, the average required pull force is from 23.88 lbs to 27.07 lbs and is certainly above 20 lbs.

Note : If we are given the summary statistics n , x , and S , then we can use the TInterval screen by setting the Inpt to Stats rather than Data.

Example 2. A random group of 27 healthy males had a mean systolic blood pressure of x = 114.9 with a sample deviation of S = 9.3. Give a 95% confidence interval for the mean systolic blood pressure among all similar males.

Solution. With the TInterval screen, we obtain a 95% confidence interval of (111.22, 118.58); so, healthy males have a mean systolic blood pressure between 111.22 and 118.58.

Exercise (Born on Dating)

A solution’s pH level is the measurement of its acidity. The concept of pH was first proposed by the Danish scientist S.P.L. Sorenson in 1909 to measure the acidity of water in brewing beer.

A Brewmaster is studying the freshness of a beer by testing the acidity levels from a sample of bottles that have been sitting on a shelf for two months. The acidity levels are known to be normally distributed and the ideal taste should have a pH level of 3.6. A level of 3.4 or lower is undrinkable ā€œbitter beer.ā€ Here are the sample pH levels:

(a) Find a 95% confidence interval for the true mean pH level of this brew after two months.

(b) Using the highest bound of your interval for the mean and using S for the standard deviation, what percentage of bottles still become bitter beer after two months? (That is, compute P ( X ≤ 3.4) for X ~ N ( , S ).)

The pH levels for a sample of bottles that remained refrigerated for two months are as follows:

(c) Find a 98% confidence interval for the true mean pH level of this brew after two months of refrigeration.

(d) Now use the worst case scenario with the lowest bound of your interval for the mean. (Use S from this data set for the standard deviation.) Find the percentage of refrigerated bottles that become bitter beer after two months.

(e) What advice should the Brewmaster give to marketers regarding the shipping and storing of his brew?

Answer :

(a) 3.2881 ≤ ≤ 3.4752, S = 0.

(b) Using X ~ N (3.4752, 0.1472) , then P ( X ≤ 3.4) ā‰ˆ 0.3047, or about 30.47% are bitter.

(c) 3.4947 ≤ ≤ 3.5424, S = 0.

(d) Using X ~ N (3.4947, 0.0337) , then P ( X ≤ 3.4) ā‰ˆ 0.0025, or less than 1% are bitter.