Professional Documents
Culture Documents
Module 1-2 - Data and Variables
Module 1-2 - Data and Variables
Module 1-2 - Data and Variables
3
Problem: It is generally impossible to
gather all observations from a population.
Sampling
Population Data
?? Descriptive
statistics
Parameter Statistics
Inference
4
Example
I want to estimate the proportion of male students in this Statistics
class by randomly selecting 20 students in this class.
u Population of Interest:
u all students in this Statistics Class
u Sample:
u Parameter:
u Statistic:
u Population of Interest:
u Sample:
u Parameter:
u Statistic:
u 5 “W’s”
u Who
u What
u When
u Where
u Why
u 1 “H”
u How 7
Who
8
What
u What characteristic (or variable) are you measuring?
u Some variables have units that tell how each value has been
measured and tell the scale of the measurement
Measurement Units
Distance Meter
Mass Kilogram
Time Second
Electric current Ampere
Temperature Kelvin 9
u Why are you doing this? What is the reason for collecting
data?
10
When and Where
11
How
u How are the data being collected? How is the variable
being measured? (Assigned Readings)
Categorical
(Qualitative)
Variable
Numerical
(Quantitative)
14
Categorical/Qualitative Variable
u A categorical variable places a subject into one of several groups or
categories (or levels).
u Two types:
u Nominal: the levels have no order Nominal
16
Numerical/Quantitative Variables
u A numerical variable measures a numerical quantity or amount in each subject
u Two types:
u Not all data represented by numbers are numerical data (eg. 1 = male, 2 =
female)
Nominal
Categorical
(Qualitative)
Ordinal
Variable
Discrete
Numerical
Quantitative 17
Continuous
Example
Data from a medical study contain values of many variables of each of the
people who were the subjects of the study. Which of the following
variables are categorical and which are quantitative?
u Age (years)
18
Example
Each student has his or her own characteristics, eg. age, student ID, height,
weight, gender, hair color, nationality, grade (A+, A, A-, … D, F), number of
siblings, per week, etc…
20