Numerical Analysis
Numerical Analysis
5 questions
Difference Correlation
to study the difference between two or to study the association between
more groups, or two or more conditions two variables
For example: For example:
• The difference between males and • The association between age
females regarding coffee and weight
consumption • The association between coffee
• The difference in body weight consumption and the number of
before and after being on a specific sleeping hours.
diet.
For example:
• Are we comparing two groups (diseased, not
diseased), or three groups (normal, osteopenia,
osteoporosis)?
• Are we comparing two conditions (pre-test, post-
test), or three conditions (before the operation,
during the operation, after the operation)?
• If the homogeneity of variance assumption was not met, the standard tests cannot
be done, and modified tests can be used.
The mean weight before the program was 71.61 (SD=12.31), and the
mean weight after the program was 63.79 (SD=10.95). A statistically
significant decrease of -7.82 kg (95%CI, -13.63, -2.01) was found, p
=0.011.
The mean hemoglobin before the program was 11.37 (SD=1.26), and
the hemoglobin after the program was 11.98 (SD=1.53). No
statistically significant difference was found, p=0.168.
Dr. Omnia Mohammed Elmahdy 30
Dr. Omnia Mohammed Elmahdy 31
Analysis of Variance
• Example
– There are three types of training given to our
healthcare workers. Do they result in different
effects on worker healthcare performance?
Steps:
• Step 1: We test if birth weight is normally distributed in the
three groups using Shapiro-Wilk, or Kolmogorov-Smirnov test.
• Step 2: After confirmation that birth weight is normally
distributed in the three groups, we run the one-way ANOVA
test and the Levene’s test for homogeneity of variance.
• Step 3: We check the result of Levene’s test for the
homogeneity of variance, if there is no homogeneity of
variance, we need to run the Welsh test.
Dr. Omnia Mohammed Elmahdy 38
Analysis of Variance
Dependent variable: This is the item being measured that is
theorized to be affected by the independent variables.
Independent variable/s: These are the items being measured
that may have an effect on the dependent variable.
10 6 5
12 8 9
9 3 12
15 0 8
13 2 4
3 97 121 91 171
4 86 126 63 159
5 118 87 62 118
7 119 83 96 100
8 92 100 129 60