Random Variables - Introduction
Random Variables - Introduction
TO
RANDOM VARIABLES
BY
HAIDER ABBAS NAQVI
Inferential Statistics:
A decision, estimate, prediction, or generalization about a
population, based on a sample.
Definition 2
“A rule which assigns numbers to the outcomes of the possibility space is called a
Random Variable”.
This definition is valid when outcomes are non numeric. Capital English letters say X
to denote a random variable and its corresponding small letter, x in this case for one
of its values.
Random Variables
A quantitative variable x is a random variable if the value that x takes
on in a given experiment or observation is a chance or random
outcome.
A coin is tossed three times. Find the possibility space and the values of the random
variables X , Y , and N where;
HHH 3 0 3
HHT 2 1 1
HTH 2 1 1
HTT 1 2 -1
THH 2 1 1
THT 1 2 -1
TTH 1 2 -1
TTT 0 3 -3
Difference between Discrete and Continuous random Variable
Discrete Random Variable: Continuous Random Variable:
Countable set of distinct values. Any value within some interval
Discrete data is counted. say 1 to 3.
It can take only integer values, Continuous data is measured.
It can take values including
never include fractions or
decimal. fractions and decimals.
Discrete data can only take Continuous data can take any
certain values. value including decimal points
Examples: within a range.
Number of classes missed last Examples:
Hours spent exercising last week.
week.
Number of patients in a Hospital. Time required to finish a test.
Discrete Probability Distribution:
A table or a function (called as discrete probability distribution function) listing all
possible values that a discrete random variable X can take on, along with the associated
probabilities, is called a discrete probability distribution. In any discrete probability
distribution, the sum of probabilities should always be equal to one”.
Example: A coin is tossed three times. Develop the probability distribution table for the
random variable X, where X is the number of heads
Probability distribution table for X
X P(X)
0 1/8
1 3/8
2 3/8
3 1/8
Total Probability 8/8 = 1