Probability and Statistics Module 1
Probability and Statistics Module 1
Random Variables
a)discrete variable
- Discrete Data can only take certain values.
- a quantitative variable whose value can only be
attained through counting. It can be finite in
number of possible values or countably infinite if
the counting process has no end.
b) continuous
- Continuous Data can take any value (within a range).
- A continuous variable is a quantitative variable that
can assume an infinitely many, uncountable
number of real number values. The value given to
an observation can include values as small as
the instrument of measurement allows.
a) discrete variable
Example:
the number of students in a class
(We can't have half a student!)
b) Continuous
A person's height: could be any value (within the range of
human heights), not just certain fixed heights,
Time in a race: you could even measure it to fractions of
a second,
A dog's weight,
The length of a leaf,
Lots more!
1. A market researcher company requested all
teachers of a particular school to fill up a ques-
tionnaire in relation to their product market
study. The following are some of the information
supplied by the teachers:
• highest educational attainment
• predominant hair color
• body temperature
• civil status
• brand of laundry soap being used
• total household expenditures last month in pesos
• number of children in the household
• number of hours standing in queue while waiting
to be served by a bank teller
• amount spent on rice last week by the household
• distance travelled by the teacher in going to
school
• time (in hours) consumed on Facebook on a
particular day
2. A survey of students in a certain school is
conducted. The survey questionnaire details
the information on the following variables. For
each of these variables, identify whether
the variable is qualitative or quantitative, and if
the latter, state whether it is discrete or
continuous.
a. number of family members who are working
b. ownership of a cell phone among family
members
c. length (in minutes) of longest call made on
each cell phone owned per month
d. ownership/rental of dwelling
e. amount spent in pesos on food in one
e. amount spent in pesos on food in one
f. occupation of household head
g. total family income
h. number of years of schooling of each family
member
i. access of family members to social media
j. amount of time last week spent by each family
member using the internet
Random Variable (X) - is a variable whose value is
dependent to the outcome of a well-defined random
event or experiment or a set of possible values from
a random experiment. (such as tossing a coin,
throwing a pair of dice or drawing a card from a
standard deck)
Sample Space (S) -a list of all possible outcomes that may occur in
an “event”.
Example 3: Find the Sample Space (S) when tossing 2 coins
HEADS (H)
TAILS (T)
{ , , , }
We can write S = {HH, HT, TH, TT}
Example 3: How many heads when we toss 2 coins?
How many heads means finding of Random variable (X)
within a sample Space (S)
From the Example 3,
2 Heads
X 2 1 1 0
Random Variables
Sample
HH HT TH TT
Space P(X) =
X 2 1 1 0
1 1 1 1
4 4 4 4
P(X) =
Example using Die: When rolling a
DIE
die there
are 6 possible outcomes.
Its either {1, 2, 3, 4, 5 or 6}
Therefore S= {1, 2, 3, 4, 5, 6}
Die Face = 6 sample points
Sample
Space
1 2 3 4 5 6 P(X) =
X 1 2 3 4 5 6
Therefore,
P(X) =
Probability Distribution
Steps to Determine the Random Variables
Example: Tossing a Rolling a Die
Event or Experiment coin, Rolling a die,
drawing of marbles,
etc..
Sample
A list of all possible out- Space
Sample Space comes that may occur in
an “event”.
Probability Function
Probability Distribution
Example 1:
Determine the random variable of the sum of the number of a pair of
dice in a single throw.
Die A
1 2 3 4 5 6
Die B
Sum (x) 2 3 4 5 6 7 8 9 10 11 12
P (X=x) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/36
Example 1:
Three coin are tossed at the same time. What are the
possible outcomes? What is the probability of getting
3 heads?
Sample
1 2 3 Space
HHH HHT HTH HTT THH THT TTH TTT
H
H x 3 2 2 1 2 1 1 0
T
P (X=x)
H
H
T x 3 2 1 0
T P (X=x) 1/8 3/8 3/8 1/8
H
H
T
T
H
T
T
Example 2:
A coin is tossed 3 times. What are the possible outcomes?
What are the random variables if we are only interested of the
number of Heads?
1 2 3 Sample
Space
H
H x
T
P (X=x)
H
H
T
T
H
H
T
T
H
T
T
Example 3:
A couple is planning to have 3 children. Consider the
different result that might occur in terms of gender.
Determine the random variable if we are only inter-
ested in the number of boys. (ex. B B G)
1 2 3 Sample
Space
B
B
G
B x
B
G P (X=x)
G
B
B
G
G
B
G
G
Example 4:
A dart player is trying to hit the bulls eye with each of
three darts that he will throw. Each dart will either hit
the bulls eye or miss the bulls eye. Determine the
Sample space of the different outcomes that may
Occur. Determine the random variable if we are only
interested in the number of Misses.
H Sample
H Space
M
H
H x
M P (X=x)
M
H
H
M
M
H
M
M
1 2 3
Example 5:
If a two child families are classified according to the
sex of the first and second child. Determine the
Sample space of the different outcomes. Determine
the random variable if we are only interested in the
number of boys.
1 2
H Sample
Space
M x
P (X=x)
M
M
Example 6:
What are the possible outcomes when drawing two
marbles from a bag containing blue, green and red
marbles. Construct the probability distribution.
1 2 Sample
Space BB BG BR GB GG GR RB RG RR
B
G x 2 1 1 1 0 0 1 0 0
G G
R
R B
G
R
THANK YOU