STT100 Week 7 Online Lecture Hypothesis
STT100 Week 7 Online Lecture Hypothesis
Hypothesis Testing
Assignment Help Lecture
WEEK 7
Trimester 2 2020
0nline
Hypothesis Testing
Data Bases
And
Data collection
To be used to
CONDUCT HYPOTHESIS TESTING
assignments
•State the Null hypothesis (Ho )and the Alternative
hypothesis (HA ).
•Choose the level of significance. All of you will choose
95%.
•Find the critical value. Since you are using a 95% level of
Hypothesis significance, for a proportion this will be using ‘z‘ =1.96
(see the z table) and for a sample mean this will be using ‘t‘
testing and a sample of 10 t= 1.833 (see the t table) .
•Find the test statistic.
You do this using the appropriate formulae
1. Select one of the areas
of investigation below. •Draw a conclusion. If your test statistic is greater than the
Or choose one of your critical value reject the null, your sample is different to the
population (recommended).
own
3. What does your result indicate?
STATE CLEARLY YOUR Analyse this in economic educational or social
HYPOTHESIS terms.
HYPOTHESIS TESTING
Details and
PROCEEDURES
1. The null hypothesis Ho is what you believe to be true and is always Ho =
Eg equal to the population mean that you have found from the ABS or Other
Statistics.
The alternative hypothesis is what you claim to be or believe to be, Ha or H1.
The null hypothesis can be:
Ha ≠ 0…......this is a 2 tail test
If Ha < 0 or
1.
Use when:
Use when:
• A percentage is
• Standard deviation of
given
the population is given
• There are only 2
• “z” when n> or = 30 and
the population standard 2. possible
outcomes eg Yes
3. deviation is known
or No
Or “t”
“t” when n < 30 and population standard
deviation is not known.
So you use the sample standard deviation,
Terms
• One tail test
• Two tail test
• Null Hypothesis • Type I Error
• Alternative Hypothesis • Type II Error
• Critical Value • Test Statistic
• Level of significance • Rejection zone
• Point estimate
• interval estimate
Alternative Hypothesis two tail test rejection region
p value
• The area in the tail beyond the test statistic. The area represents the probability of finding
another test statistic, using a different sample. For the model to be reliable we want the p value
to be LOW.
• When we erroneously(wrongly) reject the null and • When we erroneously (wrongly) accept the null
accept the alternative when in fact we should when in fact we should reject the null and accept
accept the null. Its different to normal but we say the alternative. It is not different to normal but we
that it is not different say that it is different.
Both these can be avoided using a larger sample “n” ie. increasing the evidence and by using a higher level of
significance (95 instead of 95%)
DEFINITIONS…cont
Test Statistic
• This statistic is found by using the appropriate z or t formulae. Its result will be used to reject or
accept the null hypothesis because th answer is > or < the critical value which is the cut off point
between the reject or accept zone on the normal curve.
level of significance
• This determines if the sample or data that you are testing is significantly different or not from the
normal population data. This is either 95% or 99% which sets the area under the curve where we
accept the null and 1 – 0.95 = 0.05 or 5% or 1 – 0.99= 0.01 or 1% is the area under the curve
which sets the reject the null zone.
NULL Hypothesis
Test Statistic
This is the hypothesis
Found by using a test statistic formulae which gives that the sample or
ONE point measured as a z score in standard
deviations. if this point > critical value reject the null country or person IS NOT
if < the critical value then accept the null significantly different to
the average. IT IS NOT
UNUSUAL or ABNORMAL
Level of significance
95% significantly different (reject
Accept null zone null) or not significantly Reject null zone accept the
If the answer to the test different (accept null. alternative
statistic formulae is in this If the answer to the test
region then accept the null 5% statistic formulae is in this
hypothesis. The sample is region then reject the null
not significantly different hypothesis. The sample is
significantly different
Test statistic Critical Value
Found by looking up z table Test statistic
Found by using the test statistic Found by using the test statistic
formulae if the answer is < = 1.645 = Z cut off point
between accept null and reject formulae if the answer is >
critical value then accept null critical value then reject the null
null
OPTION 1
Examples of possible
sample PROPORTIONS
Use when:
• A percentage is
given
• There are only 2
2. possible
outcomes eg Yes
or No
See other possible examples at the
end of this section
STEPS TO FOLLOW TO EXAMPLE CALCULATION: Assume the sample proportion of brown
COMPLETE AN HYOTHESIS eyes is 90% or 0.9 and the population proportion of brown eyes is
TEST 55% 0r 0.55
Z =
Use the following to calculate the test
STEPS: statistic
•State the Null hypothesis (Ho )and the Alternative
hypothesis (HA ). Population
Sample Z =
•Choose the level of significance. All of you will
proportion proportion
choose 95%.
•Find the critical value. Since you are using a 95%
level of significance, for a proportion this will be using
‘z‘ =1.96 (see the z table) and for a sample mean this
Z =
will be using ‘t‘ and a sample of 10 t= 1.833 (see the t
table) .
•Find the test statistic. Population 1 -Population proportion
Z =
You do this using the formulae= proportion Sample size
Examples of possible
Sample MEAN and sample
Standard Deviation
“t” when n < 30 and population standard
deviation is not known.
So you use the sample standard deviation,
STEPS:
EXAMPLE CALCULATION: Assume the sample mean average Australian man
•State the Null hypothesis (Ho )and the Alternative (18 years and over) was 175.6 cm tall and from your sample of 10 PIA
hypothesis (HA ). students you find the mean sample height to be 160cm with a SD of 10cm
•Choose the level of significance. All of you will choose Use the following to calculate the test
95%. statistic t =
•Find the critical value. Since you are using a 95% level
of significance, for a proportion this will be using ‘z‘ Sample Population
=1.96 (see the z table) and for a sample mean this will mean mean
be using ‘t‘ and a sample of 10 t= 1.833 (see the t table) t =
.
•Find the test statistic.
You do this using the formulae= t=
Sample
Note it is minus
standard and the curve is to
deviation Sample size T = -5.55 the left because
•Draw a conclusion. If your test statistic is greater than Z= -5.55 the sample is less
So reject the null and conclude than the
the critical value reject the null, your sample is different that the sample is significantly
to the population (recommended). population
different to the population at the
5. Draw conclusions 95% significance level and below Alternative
-1.833 the critical value Hypothesis ZONE
Null Hypothesis ZONE Accept H0 Reject H0
If test statistic in this zone If test statistic in this zone
• Why 5%?
• Like its complement, the 95% confidence level, it
is a convention. A different value can be chosen
• If the cost of making a Type I error is especially
high, then set a lower significance level, e.g. 1%.
The significance level is the probability of making a
Type I error