Week 9
Week 9
First half:
- Different concepts
Second half:
- Inferential statistics
- Presentation applied statistics
Objectives:
Group discussion: What are the possibale comparisons and what types of the samples?
Group A Group B
Pre-test (1) (2)
Post-test (3) (4)
Delayed post-test (5) (6)
- Independent samples:
o (1) & (2)
o (3) & (4)
o (5) & (6)
- Dependent samples:
o (1) & (5)
o (1) & (3)
o (3) & (5)
o (2) & (4)
o (2) & (6)
o (4) & (6)
Hypothesis Testing
- Hypothesis /haɪˈpɒθ.ə.sɪs/
- Hypotheses /haɪˈpɒθ.ə.sɪz/
Basic concepts
- A hypothesis test is a claim or statement about a property of a population.
- A hypothesis test (or test of significance) is a procedure for testing a claim about a
property of a population.
Types of Hypotheses
- What do the following symbols stand for?
➔ Example: Identify H0 and HA of the following claims about the property of the
population:
o The mean score of the online class is 60
H0: = 60
HA: ≠ 60
H1: > 60
H2: < 60
- The null hypothesis (denoted by H0) is a statement that the value of a population
parameter (such as proportion, mean, or standard deviation) is equal to some
claimed value.
- The alternative hypothesis (denoted by H1 or Ha or HA) is a statement that the
parameter has a value that somehow differs from the null hypothesis. For the
methods of this chapter, symbolic form of the alternative hypothesis must be use
one of these symbols: <, >, ≠
➔ Example: Identify H0 and HA of the following claims about the property of the
population:
o There is no difference in mean scores between the online class (1) and the
F2F class (2)
H0: 1 = 2
HA: 1 ≠ 2
H1: 1 > 2
H2: 1 < 2
o The variances of the online class (12) and the F2F (22)
H0: 12 = 22
HA: 12 ≠ 22
H1: 12 > 22
H2: 12 < 22
→ H0 is not true; the means are not equal; or there is some difference; or a difference
exists.
Independent
sample
Hypothesis of
difference
Dependent
sample
Statistical
tests
Categorical
data
Hypothesis of
Ordinal data
association
Numerical
data
Week 12 – 9/5/2025
Review
The purpose of quantity study: test prediction is true or not
3rd step: identify statistical test – whether it’s meaningful in your study
4th step: check required assumptions whether your dat meet the requirements or not
H0: muy = 50
HA: muy # 50
a. p = 0.025 → Reject H0
b. p = 0.3 > 0.05 → Fail to reject H0
c. p = 0.000 < 0.05 → Reject H0
d. p = 0.431 > 0.05 → Fail to reject H0
e. p = 0.05 = 0.05 → Reject H0
Descriptive Inferential
- -
- -
- -
- -
Identify the test statistics:
z test for
proportion
Hypothesis of Independent t-
difference test for means
Hypothesis of
Ordinal data Spearman rho
association
Number of boys: x1
Number of girls: x2
~
Test statistic for two proportions
Check pictures
Requirements:
1. The two populations are independent.
2. The two samples are simple random samples.
3. Each of the two populations must be normally distributed, regardless of their
sample size.
Test Statistics:
𝑠1 𝑠𝑞𝑢𝑎𝑟𝑒
F = 𝑠2 𝑠𝑞𝑢𝑎𝑟𝑒
Requirements:
df = n-1
confidence interval
E = ta/2 . squareroot(sd^2/n)
Week 14 - 23/5/2025
Chi-square rest for independence
Purpose:
Hypotheses:
Scenario: 261 sts (50 frmen, 66 sopho, 67 juniors, 78 seniors) were surveyed to find out their
ratings of their academic motivations (1 = not at all motivated; 2 = somewhat motivated; 3 =
very motivated; 4 = highly motivated)
H0: Class level and academic motivation are independent (no relationship)
Contingency table
Requirements
2. Independence of Observations
3. Expected Frequencies
o Acceptable if:
4. Sample Size
• Small samples (especially in 2x2 tables) may require Fisher’s Exact Test.
5. Random Sampling
• The data should come from a random sample from the population to ensure
generalizability.
➔ In the Chi-square test, one of the key assumptions is that the expected frequency
in each cell of the contingency table should be 5 or more. When expected counts
are less than 5, the test may not be valid due to inaccuracies in the approximation
to the Chi-square distribution. → suggested solution: merge them
Formula for a Chi-square Statistics
• Test statistics
Hypotheses
H0: The two variables (factors) are independent/There is no relationship between the two
variables
Ha: The two variables (factors) are dependent/There is a relationship between the two
variables.
A linear correlation
Exists between two variables when there is a correlation and the plotted points of paired
data result in a pattern that can be approximated by a straight line.
Scatter plots
Direction & strength of a linear correlation between two variables
b is stronger