Lesson 2 Type of Variables

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

Lesson 2

Type of Variable
By: Ms. Mariam Al-Hawaj
Choose the correct answer:

The sample is a:

A. Qualitative variable

B. Part of population

C. Variable with specific number of values


Practice Time
Explain whether each of the following constitutes a population or a sample

Sentence type

a. Annual incomes of all 33 employees of a restaurant


Population
b. A group of 25 patient selected to test a new drug
sample
c. Five hundred houses selected from a city
sample
Angeles D
d. Number of computers sold during the past week at all computer stores in Los
Population
Refer to the data set:
a. What is the variable for this data set?
state tax
b. How many observations are in this data set?
9
c. How many element does this data set contain?
a
Choose the correct answer:

The variable is a

A. Part of population

B. Is specific subject or element

C. Characteristic takes different values


1.5 Types of Variables
Example of
variables

‫أﻣﺛﻠﺔ ﻋﻠﻰ اﻟﻣﺗﻐﯾر‬


‫ﻓﻲ اﻹﺣﺻﺎء‬

Incomes of Heights of
a Price of
collage text
families persons
book

I
Underline the variables from the following
Age of students
Cx
48
Cx
Dammam

Cx
Yasmin Wight of person
Cx
1.65

Cx
Gender of people USA Salary of employee

Type of people’s blood


Type of
Variables

‫أﻧواع اﻟﻣﺗﻐﯾرات‬

Quantitative Qualitative
Variables Variables

Definition:
amor
A Quantitative Variables is a variable that can measured numerically
Example of
Quantitative
“ Number”

‫أﻣﺛﻠﺔ ﻋﻠﻰ اﻟﻣﺗﻐﯾرات اﻟﻛﻣﯾﺔ‬

Salary of employee
Height Number of accidents
5000SR, 60000
1.65, 2.0. 0.6,… 3,1,0,5,…
SR,…

Practice Time
Put(√) beside quantitative variables:
Number of pass student Gender of baby Score of statistics test

Type of blood Temperature Color of hair


Type of
Quantitative
Variables

‫أﻧواع اﻟﻣﺗﻐﯾرات‬
‫اﻟﻛﻣﯾﺔ‬

many
Discrete Continuous
Variables Variables

is a variable whose is a variable that can


value are countable assume any
numerical value over
a certain intervals
Type of
Quantitative
Variables
5
‫أﻧواع اﻟﻣﺗﻐﯾرات‬
‫اﻟﻛﻣﯾﺔ‬

Discrete Continuous
Variables Variables

Example: Example:
• Number of cars • Times
• Number of errors • Heights
• The result of rolling die • Temperature
Type of
Variables

‫أﻧواع اﻟﻣﺗﻐﯾرات‬

Quantitative Qualitative
Variables Variables

Definition:
A Qualitative Variables is a variable that cannot assume a numerical value but can be classified into
two or more nonnumeric categories.
db

00
Practice Time number
Indicated which of the following variables are quantitative and which are
qualitative
number Name a
Sentence quantitative qualitative

C
a. Number of persons in a family

b. Colors of cars
are
name
c. Time to commute from home to work
Of
d. Number of errors in a person’s credit report good
e. Monthly TV cable bills
Quan
f. Spring break location favored by collage student
Practice Time
Classify the quantitative variable to discrete or continuous

Albion If
Sentence discrete Continuous
a. Number of student in class
d
b. Water temperatures of six swimming pools

c. Time to commute finishing homework


q
d. Number of errors in a person’s test
q
e. Weights of cats in a pet shelter
D
or
f. Number of doughnuts sold each day by Doughnut shop
d
Another classified for variables
Measurement
Scales

i
‫ﻣﺳﺗوﯾﺎت اﻟﻘﯾﺎس‬

a
Nominal level Ordinal level Interval level Mix
Ratio level
perture
“ categories” “rank” t
WEEK Ia The highest
The lowest
level level
Miwa Iwata Is
Choose the correct answer:
The number of absences per year that work has is an example of what type of data?

A. Nominal I

B. Ratio
2681
C. Ordinal
I
Choose the correct answer:
Data that can be classified according to color are measured on what scale?

A. Nominal

B. Ratio

C. Ordinal
Classify each as
Nominal , Ordinal, Interval, or Ratio
Sentence Measurement Level
a. Rating of movies as G, PG, and R.

b. Number of candy bars sold on a fund drive.

c. Classification of automobiles as subcompact,


standard, and luxury
d. Temperatures of hair dryers

e. Weight of suitcases on a commercial airline.


1.8 Summation Notation
Sum of values
Example:
Annual Salaries (in thousands of dollars) of four worker are 75,90, 125,and 61
respectively. Find
Solution:
a) ∑ 𝑥 poise
b) (∑ 𝑥) c) ∑ 𝑥
Variable 𝑥 Value 𝒙𝟐
am 𝑥 75
an
𝑥
90
𝑥
125 125515625
𝑥
61 615 3721
351 33.071
123,201
Example:
Prices (in thousands of dollars) of five new cars are 28, 35, 39, 54, and 18,
respectively. Let x be the price of a new car in this sample. Find:
a) ∑ 𝑥 b) (∑ 𝑥) c) ∑ 𝑥

Solution: Variable 𝑥 Value 𝒙𝟐


𝑥
28 784
𝑥
35 1225
𝑥
39 1521
𝑥
54 2916
𝑥
18 324
174 6770
30 276
Example2:
The number of restaurants in each of five small towns is 4, 12, 8, 10, and 5, respectively.
Let 𝑦 denote the number of restaurants in a small town. Find
a) ∑ 𝑦 b) (∑ 𝑦) c) ∑ 𝑦
Solution:
Variable 𝒚 Value 𝒚𝟐
y
4 16
y
12 144
y
8 64
y
10 100
y
5 25
39 349
1521
Practice time:
The following table lists five pairs of 𝒎 𝒂𝒏𝒅 𝒇 values. Compute the following
value

𝑚 𝑓 𝒇𝟐 𝑚𝑓 𝒎𝟐 𝒎𝟐 𝒇

5 1 1 5 25 25
10 30 900 300 100 300
15 6 36 90 225 135
20 1 1 20 40 NO
25 60 3600 1500 625 37500

You might also like