Lecture 2 Guide To Statistics2
Lecture 2 Guide To Statistics2
Statistical Tests
Definition
Statistics is the science of collecting,
organizing, summarising, analysing,
and making inference from data
2
Variables
Quantitative Qualitative
•Discrete •Ordinal
•Continuous •nominal
4
• Ordinal: (meaning order) characterized in
term of ranking from better to worse but the
data are not measured in terms of continues
scale like medical condition ( mild, moderate,
severe)
• Nominal: (meaning name) have no
measurement scale like blood group (A, B,
AB, O)
5
Parametric vs.
Nonparametric tests
• Parametric: are used when data are
interval or ratio and when the populations
of distribution of the sampling statistic is
known
• Non-Parametric: are used when data are
nominal or ordinal data and when the
populations of distribution of the sampling
statistic is not required or non-normally
distributed.
6
T-test
• Compare the means of a continuous
variable into samples in order to
determine whether or not the
difference between the 2 expected
means exceed the difference that
would be expected by chance
7
Requirements
8
Types of T-test
• One sample t test: test if a sample mean for a
variable differs significantly from the given
population with a known mean
10
Requirements
• Data should be in form of frequency
• Total number of observed must exceed 20
• Expected frequency in one category or in
any cell must be >5 (When 1 of the cells have <5
in observed yats correction) or if (When 1 of the cells
have <5 in expected fischer exact)
• The group compared must be
approximately the same
11
Correlation and Regression
• Methods to study magnitude of the
association and the functional
relationship between two or more
variables
12
Correlation
• Denote strength of relationship between variables
Dr.H.Qotba 13
Regression
• Method that indicates a mathematical
relationship between a dependent and
one or more independent variables
• Simple linear regression and multiple
regression are appropriate for
continuous variables like(BP, Weight)
• Logistic regression applicable for
binary response like alive/dead
14
Measures
• If parametric
• Pearson correlation coeff.
» Continuous variables
» Linear relationship
• If nonparametric
• Spearman rank
» Both variables are continuous
• Kendall’s tau
» Two ordinal or one ordinal one continuous
15
ANOVA
16
Types of ANOVA
17
• Two-way ANOVA analyzes one interval
dependent in terms of the categories
(groups) formed by two independents, one
of which may be conceived as a control
variable
• Multivariate or n-way ANOVA. To
generalize, n-way ANOVA deals with n
independents. It should be noted that as
the number of independents increases,
the number of potential interactions
proliferates
18
How to select appropriate
statistical test
• Type of variables
• Quantitative (blood pres.)
• Qualitative (gender)
• Type of research question
• Association
• Comparison
• Risk factor
• Data structure
• Independent
• Paired
• matched
19
Body of research question
Association of 2 variable(dep, indep)
Types of variable Test
Dependent independent
categorical categorical chi-square
22
Student Activity
Indicate the level of measurement
in your research
Dr.H.Qotba 23