Professional Documents
Culture Documents
Inferential Statistics: Tests of Significance
Inferential Statistics: Tests of Significance
Tests of significance
Dr.Tarek Tawfik
Numeric measures
Maximum
Mean Rate Minimum
Median Ratio Range
Mode Percentage Standard Deviation
IQR Centiles Variance
12/07/21 Dr Tarek Amin 4
Coefficient of variation
Descriptive statistics
2X2 tables
Chi-square” for“ ?How many samples Binomial test of
independence Dependence significance
t / SD n
12/07/21 Dr Tarek Amin 15
1-Calculate the difference between two mean
Substitute the population mean by the sample mean.
43-40
df = n-1 12
Restricted
value
Mean =50
16
7 15
8 2.31 3.36
10 2.23 3.17
60 1.96 2.58
Rejection
Alternative
Population
Population Y
X
Want to compare
inference inference
Sample Sample
X Y
2-Mutually dependent.
t 1 2 1 2
1 2 n1 1 s1 n2 2 s 2
2 2
n1 n2 n1n2
12/07/21 Dr Tarek Amin 34
Equation of t test
t 1 2 1 2
It will be a t-distribution
t=mean1-mean2 mean1-mean2.
The mean of the difference between sample means
will be zero:
mean1-mean2=0.
The spread of scores around this mean of zero will
be defined by the formula:
mean1-mean2=(n1-1)s2+(n2-1 )s2n / n1+n2-
2*n1+n2n1n2 ( Pooled variance estimate,
populations have equal variance)
12/07/21 Dr Tarek Amin 35
Two Sample t-test
A survey consists of 20 Australian children and 20
British children, and we want to assess whether TV
viewing time is affected by the country of residence.
State the null and alternative hypotheses:
H0: µ1= µ2 or µ1- µ2=0 and
Ha: µ1 µ2 or µ1- µ2 0.
Choose the test of significance: two samples,
compared and measured at the interval/scale ratio.
Calculate the sample score:
mean1 (Australian) =166, s1=29, n1=20 and for
British mean2= 187,s2=30,and n2=20.
Sample1: Sample 2:
• Mean=72 • Mean=76.1
• S.D= 14.2 • S.D=11
• Sample size=35 • Sample size=50
t D sD / n
where
D D / n / n 1
2
2
sD
Observation 1 Observation 2
• 12 • 15
• 10 • 13
• 8 • 13
• 14 • 14
• 12 • 18
• 15 • 13
• 14 • 18
• 9 • 9
• 18 • 11
• 13 • 14
12/07/21 Dr Tarek Amin 52
Thank you