Stat - 4 One Sample Z and T Test
Stat - 4 One Sample Z and T Test
Inferential Statistics concerns with making decisions not knowing the absolute
truth that is which of the two decisions is most probable. It is just choosing what is
most likely true.
Inferential tests are either conducted on a distribution of normal shape or on a
distribution- free environment testing differences, similarities, congruencies,
relationships, associations and the like.
In inferring what is most likely true, an indirect proof is In courts of law, a person is
used. Assume one of the statements is true, and then try to assumed innocent and only
reject it. This line of reasoning is used in several fields other reject that assumption if the
than statistics. evidence is so great that
there is essentially no doubt
that the assumption of
In statistics, these conflicting statements are called innocence is wrong.
hypotheses, and their truth is tested using hypothesis test.
The Alternative Hypothesis that specifies an effect or A good rule is to always write
a difference and is symbolized by H1. the alternative hypothesis
first in the directional
These hypotheses can take in either directional or non - situation.
directional forms.
As a general rule, unless there are very strong
theoretical reasons usually non-directional hypotheses In a sense, researchers only
are preferred. However, if directional hypotheses can make a decision when they
be generated, they allow more powerful tests. reject the null hypothesis. If
they fail to reject the null
In real life, non - directional tests are usually used. hypothesis, then they have
not really made a decision
Statistical testing involves determining whether H0 can be because they never accept
the null hypothesis, only fail
rejected. This rejection is based on a conditional probability
to reject it.
[p (result | H0 is true)].
Every experiment may be
Reject the null hypothesis if this probability is a small said to exist only in order to
value (unlikely to get result given the null hypothesis is give the facts a chance of
true). disproving the null
Only fail to reject the null hypothesis if this probability is hypothesis. (Ronald Fisher)
not a small value (these results could happen given that
the null hypothesis is true).
Type 1 error is incorrectly rejecting a true null hypothesis [symbolized with the
Greek letter alpha ()]. The probability of such an error is the alpha risk commonly
set to 5%.
Type 2 error is not rejecting a false null hypothesis [symbolized with the Greek letter
beta ()]. The probability of such an error is called the beta risk.
One of the important properties about
This is a very important advantage of
making decisions using inferential
statistical decision making. A researcher
statistical procedures is determining the using statistical techniques gets to decide
level of type 1 error. Knowing how often how often they will be wrong when they
the null hypothesis is rejected when it is make a decision.
true. This type 1 error is often called the
alpha level or alpha risk, or significance level, or p-level or simply the
probability.
The most typical values for type 1 errors are 0.05, 0.01, and 0.001. These are very
low levels. At the most, one is only going to make a type 1 error 5 out of every 100
times (.05).
Incorrect Decision
Allow the person to go free Correct Decision
Type 2 error
In courts of law, an innocent person is protected not to be sent to jail by setting type 1
errors very low. The legal system has been designed to allow type 2 errors to be
higher. The ways that juries are instructed mandates that their decisions will more
likely let the guilty go free (type 2 error) than convict the innocent (type 1 error).
Power
The power of a statistical test is its ability to detect a difference Factors that affect the
when one exists, or the probability of rejecting Ho when Ho is false. power in an experiment:
This is a conditional probability, the probability of 1. As alpha gets smaller,
rejecting Ho, given that Ho is false. Since type 2 error is the power decreases.
probability of failing to reject Ho when it is false, power 2. As the difference between
must be 1 - beta ( as illustrated on the table ). H0 and H1 increases, power
increases.
Ho is False 3. As the sample size in the
experiment increases, power
Reject Ho Correct Decision (1 - ) increases.
Fail to reject Ho Incorrect Decision () 4. Directional hypotheses lead
to more power
Calculating Power
Problem
The average psychology test score administered to students entering the School Psychology
Program at State University is 32, with a standard deviation of 6.2. Is a score of 42 so different
that it wouldn't be expected to occur by chance? This is a non - directional test with alpha set at
0.05.
Solution
Using the six steps:
Ho: µ = 32 The score of 42 is not different from the average psychology test score
administered to entrant students of the State University
Ha: µ ≠ 32 The score of 42 is different from the average psychology test score
administered to entrant students of the State University
Population Distributions are usually having the actual population distribution that
is unknown, and is represented by theoretical (open-ended) frequency polygons. The
most famous of these theoretical distributions is the normal curve.
Sample Distribution is selected from the population of a certain size and constructs
a frequency polygon from the single selected sample. Calculate the mean, and
standard deviation of this sample.
is x .
The standard error of the mean x is always equal to the population standard
deviation divided by the square root of the sample size. The two equations below give
those relationships.
x and x
n
The Central Limit Theorem
As the sample size increases, the shape of the sampling distribution of the mean
approximates the shape of a normal z - score distribution irrespective of the shape of the
original population distribution.
As the degree of skewness increases, there is a need to increase the sample size to assure
that the sampling distribution of the mean approximates the normal z - score distribution.
Thumb Rule: When is known, a sample size of 20-30 is adequate to guarantee a normal
distribution of the sampling distribution of the mean.
Solution
Using the six step:
Ho: = 100 The sample mean is not different from that of the population mean.
Ha: µ ≠ 100 The sample mean is different from the population mean.
2. Decide how often you want to be wrong when you reject the null hypothesis. This is
also called setting the alpha level: @alpha = 0.05 then the z critical values is ±
1.96.
3. Collect the data : The population mean = 100, the population standard deviation = 15, the
sample mean = 92, and the sample size = 100.
Significance Level
Direction
0.10 0.05 0.025 0.01
One - tailed ±1.28 ±1.645 ±1.96 ±2.33
Two - tailed ±1.645 ±1.96 ±2.33 ±2.58
s Notice that there are no Greek letters in this formula. Statistics do not
sx use them when population parameters are being calculated.
n Unfortunately, when estimating the standard error of the mean using the
sample standard deviation, the shape of the sampling distribution of the
mean is not normal.
William Sealy Gossett ( pen name Student ) discovered that the shape of the sampling
distribution under this circumstance was slightly more leptokurtic than a normal distribution
and called the shape of this distribution a t-distribution.
When the sample size is large, the t distribution approaches the shape of the normal
or z distribution.
As the sample size, and degrees of freedom increase, the t-distribution becomes taller,
and the tails become thinner - looking more and more like a normal distribution.
Rules
To determine if a sample mean is different than a population mean when is
known, use the z test.
Solution
Using the six steps
Step 2. Set the alpha level and find the t critical values
This is a non - directional or two-tailed test. Using an alpha level of 0.05 and degrees of
freedom equal to 19 (df = 20-1), using a table tcv = ± 2.093.
x x 20 15
t 5.59
sx 4
20
Step 5. Make a decision
Since 5.59 is not within the critical
values of ±2.093, the null hypothesis is
rejected.