Different Types of Variable Used in Data Collection
Different Types of Variable Used in Data Collection
Research
Qasim Shah PhD scholar,
University Of Peshawar
Lecturer UOP
Content
Today we will discuss,
1. Data and information.
2. Statistics and biostatistics.
3. Observation and variable.
4. Different types of variables.
5. Descriptive and Inferential statistics
What is data?
Data are individual pieces of factual information recorded and used
for the purpose of analysis.
It is the raw information from which results are created.
Data can be something simple and seemingly
1. Collection of data
2. Presentation of data
3. Analysis of data
4. Interpretation of data
Biostatistics
The branch of statistics that deals with data relating to living
organisms.
Statistics applied to the collection, analysis, and interpretation of
biological data and especially data relating to human biology,
health, and medicine.
Observation
In statistics, an observation often means any sort of numerically recording
of information, whether it is a physical measurement such as height or
weight; a classification such as male or female; or an answer to a
question such as yes or no.
For Example
Patients BMI Recording in kg/m2: 18.45, 19.00, 24.50, 30.00, 28.55, 25.00
Here each observation represents a single data point from a single
patient at a given time
Variable
A characteristic that varies with an individual or object is called
variable.
For Example;
Age, weight, height, BMI, health status, clinical characteristics,
gender, disease stages, laboratory diagnosis, etc all are variables as
it is different from person to person
Here we will define a variable as a group name for which numerical
recordings of information called observation are obtained across each
individual included in the study to provide a collection of observation
called data.
Classification of variable
(Based on Nature of Data)
Nominal
Qualitative
(Categorical
)
Ordinal
Variable
Discrete
Quantitative
(Numerical)
Continuous
Qualitative/Categorical Variable
Qualitative / Categorical variables refer to non-numerical data or
words.
For example, gender, medication adherence, treatment plan,
disease status, education level, socioeconomic status, etc.
All these words represent categorical entities.
We can count the number of patients/individuals in each category.
Categorical variables can be in the form of ordered data or non-
ordered
Nominal Variable (Data Ordinal Variable (Data type)
type)
Data that can be categorized but not Here the categories have
ordered. meaningful order or ranking.
The categories must be mutually Intervals between the categories
exclusive. are not necessarily equal or known.
Here we use numbers to denote It allows for the comparison of
various categories but these order but not the magnitude of
numbers don’t have any numerical difference between categories.
importance and used as identifiers or Example:
tags. • Pain Severity (None, Mild,
Example: 1 2 3 Moderate, Severe).
• Stage of Cancer (Stage I, Stage II,
• Gender (Male, Female, Non-binary). Stage III, Stage IV).
• Blood Type (A, B, AB, O). • Patient Satisfaction (Very
• Disease Type (Diabetes, Dissatisfied, Dissatisfied, Neutral,
Hypertension, Asthma) etc. Satisfied, Very Satisfied) etc.
Commonly used ordinal data Scale in medical
studies
• Usually has an equal number of positive and negative response options around a
neutral point.
• The responses indicate order but not the precise magnitude of difference between
them.
Health Perception: "I feel healthier after the treatment." (Responses ranging from
"Strongly Disagree" to "Strongly Agree"
Analysis Implication
1. Nominal Data:
Frequency and graphical representation (simple bar chart, cluster bar chart
and pie chart), chi-square.
2. Ordinal data:
Frequency, mode and graphical representation (simple bar chart, cluster bar
chart and pie chart), chi-square.
It takes a finite or countable number of distinct It takes an infinite number of values (any value
values typically whole numbers. including fractions and decimals) within a given