Professional Documents
Culture Documents
Analytic Biostatistics: Prof. Seema Daud
Analytic Biostatistics: Prof. Seema Daud
2022
Prof. Seema Daud
Formulate Hypothesis
Fix the weightage given to chance
Steps of testing alpha (α) level: p value
statistical significance Do mathematical calculations or
To ascertain statistically significant Apply test of statistical significance
relationship (association or difference) (Calculate critical ratio)
between variables Calculate Degree of Freedom
Interpret the result &
Draw inference or conclusion
Hypothesis
To ascertain statistically
Hypothesis is prediction about what the
significant association or examination of appropriately collected
difference between variables data will show.
Null Hypothesis (H0):
• Formulate a hypothesis There is no relationship (difference or
• Fix the weightage given to chance association) between two or more
variables
• Do mathematical calculations
Alternate Hypothesis (Ha) :
• Interpret the result There is a relationship (difference or
association) between two or more variables
Correlation Correlation
Association between Continuous or Ordinal variables
Effect of independent on dependent variables 1. Measures the linear association and
Independent Dependent Examples
variable variable its direction between two variables.
Continuous Continuous Age (C) & systolic 2. Two variables are said to be
(C) (C) blood pressure (C)
correlated if change in independent
Continuous Ordinal Age (C) & level of
(C) (O) satisfaction with health (exposure) variable is accompanied
care (O) by change in the dependent
Ordinal Ordinal severity of illness (O) (outcome) variable, either in the
(O) (O) & level of satisfaction
with health care (O) same or reverse direction.
Correlation
1.This association can be seen on a
scatter or joint distribution
diagram
2. Where independent variable is
plotted on the x axis
3. and the dependent variable on the
y axis).
r = +0.9 r=-1
r = +0.3 r = - 0.5
r=0 r = -0.2
Chi Square (x2) test Formula: Formulate Hypothesis (H0 & Ha)
Fix the weightage given to chance
Σ ( O – E )2
E
alpha (α) level: p value
Do mathematical calculations or
Apply test of statistical significance
(Calculate critical ratio)
O = Observed value
Calculate Degree of Freedom
E = Expected value Interpret the result &
Draw inference or conclusion
E1 = E2 =
Variables
Cells 1+2
Variables
exercise E3 = 10 E4 = 13 12 15 10 13
regularly Σ [ 25 + 25 + 25 + 25 ]
12 15 10 13
Total 22 28 50
= 2.08 + 1.67 + 2.5 + 1.92
x2 = 8.17
Interpretation of result (1st way without df) Interpretation of result (2nd way with df)
Roughly, if x2 > 3, there is statistically
significant association (Null hypothesis is • Calculate degree of freedom (df)
rejected & Alternate hypothesis is accepted),
df = (r –1) x (c –1)
If < 3 then there is no statistically significant
association (Null hypothesis is accepted & r = row; c = column
Alternate hypothesis is rejected).
As x2 value of 8.17 is greater than 3, then Null = (2 – 1) x (2 – 1) = 1 x 1= 1
hypothesis is rejected.
• Check p value from the table with x2 value
In the given data set, there is a statistically
significant association of exercise with obesity. of 8.17 and df = 1.
Calculations:
Degree of Freedom
118.3 – 107.0
√70.1/ 14 + 82.5/ 12 df = n1 + n2 – 2
= 11.30
= (14 +12) – 2
√ 5.01 + 6.87
= 26 – 2
= 11.30
√ 11.88 = 24
= 11.30/ 3.45
t = 3.28
Inference
• For the t value of 3.28, with 24
degrees of freedom, the table value
of p = <0.002.
• This means that in the given data
set, males subjects have statistically
significantly different (higher)
systolic BP than the females.
T value = 3.28; df =24