Types of Variables in Epidemiologic Studies
Types of Variables in Epidemiologic Studies
studies
Dr/Doaa Mohamed Mahmoud
Assistant professor of Public Health and
Community Medicine
ILOS
By the end of this session the student will be
able to:
Define statistics and need to use it in medical research.
Statistics includes:
1. Descriptive statistics:
➢ Describing data
➢ Summarizing data
2. Statistical inference:
Drawing conclusions that can be applied to other cases
Types of data
Our data are usually obtained from a sample of
individuals which represents the population of
interest.
Types of data
➢ Constant data
➢ Variables
Types of variables
There are two types:
Qualitative (Categorical data)
Quantitative (Numerical data)
Categorical (qualitative) data
These occur when each individual can only belong to
one of a number of distinct categories of the variable.
1. Nominal data
The categories are not ordered but simply have names.
Examples:
Blood group (A, B, AB, & O)
Marital status (married/widowed single etc.)
Gender (male or female)
Categorical (qualitative) data continued
2. Ordinal data
The categories are ordered in some way.
Examples:
Disease staging systems (advanced, moderate,
mild, none)
Degree of pain (severe, moderate, mild, none).
Categorical (qualitative) data continued
A categorical variable is binary or dichotomous
when there are only two possible categories.
Examples:
Yes/ No
Dead/ Alive
Patient has disease/ patient does not have disease
Numerical (quantitative) data
• These occur when the variable takes some numerical
value
It is subdivided into two types:
o Discrete data
o Continuous data
Numerical (quantitative) data continued
1. Discrete data
Occur when the variable can only take certain whole
numerical values.
Examples:
These are often counts of numbers of events, such as the
number of visits to a GP in a year or the number of
episodes of illness in an individual over the last five years.
Numerical (quantitative) data continued
2. Continuous data
Takes any value in a range of values.
Examples:
Weight
Height
Types of
Variables
Categorical Numerical
Nominal Continuous
Ordinal Discrete
Examples of categorical variables
▪ Weight (Continuous)
▪ Height (Continuous)
▪ Hb in gm/dl (Continuous)
▪ Income (Continuous)
▪ Length of hospital stay in days (Discrete)
▪ Number of children in a family (Discrete)
Displaying data graphically
Why we graphically present data?
Diagrams are often powerful tools for conveying
information about the data, for providing
simple summary pictures, and for spotting
outliers and trends before any formal analyses
are performed.
Displaying frequency distributions
Once the frequencies (or relative frequencies) have been
obtained for categorical or some discrete numerical data,
these can be displayed visually.
1. Bar (column chart)
Bar or column chart-a separate horizontal or vertical
bar is drawn for each category, its length being
proportional to the frequency of event in that category.