Descriptive Hypotesis Test
Descriptive Hypotesis Test
HYPOTHESIS TEST
By: Group 2 BESP 2019
Eunike M (4193141007)
Fadhillah R (4193342004)
Gresia P (4193342003)
Maria N (4193141022)
CONTENT
01 Definition 02 Requirements
Definition
• Hypothesis (hypothesis) comes from Greek. Hypothesis comes from
2 word fragments, "hypo" means temporary and "thesis" means
conclusion.
Requirements
• two-party hypoteric test:
• H0 is accepted if -Z table <Z count <Z table.
• When using the formula t:
• H0 is accepted if -table <t count <t table
Statistic
Parametric
Parametric statistics is a statistical technique that can be used
to test hypotheses involving population parameters.
Parametric statistics have limitations in the use of data types,
namely at least using interval and ratio data.
Test T 1 Sample
T Test 1 Sample is the t test procedure for a single sample
when the average of a single variable is compared to a given
value. T test is used if the sample data count ≤ 30 (small
sample)
t = calculated t value = t count
𝑥 = average of x
𝑥−μo
𝑡= μo = hypothesized value
s/√n
s = Standard Deviation
n = number of samples
Stage 1 Determining hypotheses
𝑥−μo
Formula : 𝑡 = s/√n
22−20
𝑡 = 5,83/√30 = 1,879 So obtained Statistical value test t is 1,879
Conclusion: With a signification rate of 5% or a confidence level of 95% that the average
study time of PGMI University students exemplary more than 20 Hours / week.
T-Test dengan SPSS
One-Sample Statistics
One-Sample Test
Test Value = 20
the data must be normally distributed, then the population variance is known (σ2), then the sample
• the data must be normally distributed,
size (n) is large, ≥ 30, and is usually used only to compare 2 observations.
CHARACTERISTIC
• the population variance is known (σ2),
• the sample size (n) is large, ≥ 30,
• is usually used only to compare 2
observations.
Basis for comparison T-test Z-test
The t-test is usually performed in samples of a smaller z-test is generally performed in samples of a larger size
Sample size
size (n≤30). (n>30).
t-test is performed on samples distributed on the basis z-test is performed on samples that are normally
Type of distribution of population
of t-distribution. distributed.
A t-test is not based on the assumption that all key z-test is based on the assumption that all key points on
Assumptions
points on the sample are independent. the sample are independent.
The sample values are to be recorded or calculated by In a normal distribution, the average is considered 0
Distribution
the researcher. and the variance as 1.
t-tests are less convenient as they have separate critical z-test is more convenient as it has the same critical
Convenience
values for different sample sizes. value for different sample sizes.
Z Test Formula
Z Test = (x̄ – μ) / (σ / √n)
Z Test = (x̄ – μ) / (σ / √n)
With Here,
With Here,
x̄ = Mean of Sample
x̄ =ofMean
μ = Mean Population
of Sample
σ = Standard Deviation of Population
n = Number
μ = Meanof Observation
of Population
n = Number of Observation
Example with the case using Z test as solver
Two-tailed Z-Test
01 (Two Tail Test)
One-party Z test 02
(One Tail Test)
If a sample of 400 male workers has a mean height of 67.47 inches, is it reasonable to regard the
sample as a sample from a large population with a mean height of 67.39 inches and a standard
deviation of 1.30 inches at a 5% level of significance?
Taking the null hypothesis that the mean height of the population is equal to 67.39 inches, we can
write:
Ha: µ ≠ 67.39“
The left side test is used if: the null The right side test is used when
• Test one party left
hypothesis (Ho) reads "greater or the"greater
null hypothesis (H0)
The left side test is used if: the null hypothesis (Ho) reads or equal to (≥)" reads
and the
equalhypothesis
alternative to (≥)" and thesays
(Ha) alternative
"smaller (<)", the word"smaller
is greateror
or equal
equal to
to the
(≤)"synonym
and the"the
word hypothesis
is the least or the smallest".
(Ha) says "smaller (<)", alternative hypothesis (ha) reads
the word is greater or equal to the "greater (>)". Sentences smaller
synonym "the word is the least or than or equal to synonyms with
the smallest". the word "largest".
Ho is accepted if Z ≥ -Z0,5-α, Ho is rejected if Z < -Z0,5-α Ho is accepted if Z ≤ -Z0,5-α, Ho is rejected if Z> -Z0,5-α
Example of the formulation of the left- Example of the formulation of the
party Test hypothesis: right-party Test hypothesis:
Urea has 2 forms, namely granules and tablets. The granular form came first while the
tablet form was a new form. It is known that the yield of paddy grain fertilized with grain
urea has an average of 40 resistance. One researcher believes that tablet urea is better than
granular urea. Then he conducted research with n = 30 replications and the results were as
follows:
4,0 5,0 6,0 4,2 3,8 6,5 4,3 4,8 4,6 4,1
4,9 5,2 5,7 3,9 4,0 5,8 6,2 6,4 5,4 4,6
5,1 4,8 4,6 4,2 4,7 5,4 5,2 5,8 3,9 4,7
Hypothesis:
Ha: > (the average yield of paddy grain fertilized with urea
tablet is higher than rice fertilized with granulated urea)
Analysis = 4.0 t / h = 4.9 t / h S = 0.78 is used as an estimate
Conclusion Criteria
Because of the price | Zcount | = 6,4286 > price | Ztabel | = 1.645, then reject Ho,
aka accept Ha. So, the average yield of paddy grain fertilized with urea tablet was
significantly higher than rice fertilized with granulated urea.
04
Statistic Non
Parametric
Estimation of parameters or population values is called
parametric statistics while non-parametric statistics do
not involve estimating population values. Non-
parametric statistics is a statistical method that can be
used as an alternative if parametric statistical methods
cannot be used.
BINOMIAL
TEST
1. The binomial test is
used to test a hypothesis
if the population consists If the price P <α → Ha
of two class / category
is accepted
groups and the number
of samples is small (less
than 25).
The
characteristic
2. In practice, to prove
Ho, the binomial test If the price P> α → Ho
can be done by is accepted
comparing the P value Ho is a hypothesis
in the table based on that shows no
N from the smallest X difference in
value with an error frequency
rate of 1%.
Example:
An automotive company produces two types of
cars, namely cars that run on gasoline and diesel
fuel. The company wants to see if the public prefers
cars running on gasoline or diesel. Based on 24
sample members who were randomly selected, it
turned out that 14 people chose gasoline-powered
cars and 10 people chose diesel-fueled cars
The hypothesis proposed is
Ho: The number of people who choose
gasoline and diesel cars is no different
Ha: The number of people who choose cars
with gasoline and diesel fuel is different
Ho: p1 = p2 = 0
Ha: p1 ≠ p2 = 0.5
RESEARCH RESULT
X2 = Chi Kuadrat
fo = Frekuensi yang diobservasi
fh = Frekuensi yang diharapkan
Example of two categories
A women's organization wants to find
out whether women have the same
opportunities as men to become
members of the legislature. This
requires research. The study population
Example was the people of the city of Medan.
Candidate I is a woman and candidate
II is a man. The sample as a data source
was taken randomly as many as 300
people. From this sample, it turns out
that 200 people chose men and 100
people chose women.
Based on this, then:
• The title of the research:
Opportunities for men and women to
become members of the legislature
Hypothesis test
Alternative fo fh ( fo –fh) (𝒇𝒐 − 𝒇𝒉)𝟐 (𝒇𝒐 − 𝒇𝒉)𝟐
choice
fh
Male 200 150 50 2500 16,67
Female 100 150 -50 2500 16,67
Amount 300 300 0 5000 33,33
• To be able to make a decision, the Chi square price obtained must be
compared with the Chi Square table price with dk and a certain level of error
dk = n - 1 = 2 - 1 = 1
Error rate = 5%
then the price of the Chi Square table = 3.481
It turns out that the calculated chi square value = 33.33> chi squared table =
3.481 then Ha is accepted
• Conclusion:
The null hypothesis that is proposed that men and women have equal chances to
be elected as legislative members in the city of Medan is rejected. The results
showed that people in the city of Medan tend to elect men to become members
of the legislature
• Suggestion :
Women's groups do not need to run as members of the legislature
RUN TEST
1. Run test is used 2. Tests are carried out by 3. Ho test is done by 4. If the
measuring population comparing the number observation run is
to test the
concordance based on of runs in the between the small
descriptive
observational data observation with the table and the large
hypothesis (one
through sample data by values in the table for the run then Ho is
sample) if the data
measuring the number of run test with a certain accepted
is in ordinal form.
"runs" in an event. level of significance
Example:
In one canteen in a company there is a group of female
employees who are having lunch. There were 24 people
taken randomly and then interviewed when to take
maternity leave. In the question, 2 alternative answers are
provided, namely going to take great leave before giving
birth or after giving birth.
• Presentation of data
No Answer no Answer
1 R 1 C
2 R 2 R
3 C 3 R
4 R 4 C
5 C 5 R
6 R 6 C
7 C 7 C
8 C 8 R
9 C 9 C
10 R 10 C
11 R 11 R
12 C 12 R
Jlh
run
• Hypothesis test
From the table it can be seen that the number of run = 15
With N = 24 d
then based on the run test table, the price of small r = 7 and large r
= 19
The number of runs = 15 turns out to be in numbers 7-19, namely in
the receiving area of Ho. Thus Ho was accepted and Ha was rejected
• Conclusion
In taking maternity leave, the female employees of the company vary,
some are before giving birth, some are after giving birth. The
opportunity to take leave before and after giving birth is the same,
namely 50%
• Suggestion
Companies can make a policy that major leave can be taken before
and after delivery
THANKS
From Group 2