Random Variables
Random Variables
This is never used. The height of the curve doesn’t really tell us anything.
We want the area under the curve, so we use the cdf function.
Recall that the cdf function finds the total probability up to that point.
The cdf function for the normal is built into the calculator
But it allows you to enter an upper and lower limit. So if F(x) represents the cdf for the normal
with mean μ and Standard deviation σ then:
normalcdf(a, b, μ,σ)=F(b)-F(a)
The normalcdf function on the calculator calculates the area under the normal probability density function between
two values. This gives the probability that the random variable associated with the distribution lies between these two
values.
e.g.
The length of time taken to do a task in a factory is randomly distributed with mean 135 seconds and standard deviation
24 seconds.
a)What is the probability that a randomly chosen worker can complete the task in between 130 and 140 seconds?
P(130<X<140) = normalcdf (130, 140, 135, 24)
b)What is the probability that a randomly chosen worker will take longer than two and a half minutes to complete the
task?
P(X>150) = normalcdf(150,100000,135,24)
c)The company offers a bonus to workers who can complete the task in under 100 seconds. What percentage of the
workers will qualify for the bonus?
P(X<100) = normalcdf(-10000,100,135,24)
1. If the random variable C is normally distributed with mean 140 and standard deviation 5, find these probabilities:
a)P (134 < C < 142)
b)P (C > 149)
c)P (Z = 150 to the nearest 10)
1. If the length of time spent revising by a group of pupils for their IB exams is normally distributed with mean 45
hours and standard deviation 6.5 hours find the probability that a randomly chosen pupil revises for:
a)between 40 and 50 hours
b)39 hours to the nearest hour
c)less than 60 hours
d)more than 47 hours.
The inverse normal function will give the value at which the P(X<a) is the given value.
REMEMBER IT IS ALWAYS THE AREA TO THE LEFT
For example
1. The lifespan of a particular fly species is normally distributed with mean 6 days and standard deviation 2 days. 7%
of the flies are said to die prematurely. What is the maximum lifespan of a fly that is said to die prematurely?
Using Inverse normal(0.07,6,2) gives 3.048 days.
1. The lifespan of a giant tortoise is normally distributed with mean 110 years and standard deviation 25 years. The
oldest 5% of tortoises are said to be geriatric. What age does a tortoise need to reach to be geriatric?
Using inverse normal (0.95, 110, 25) gives 151 years.
Inverse Normal
Exercise
1. If X is normally distributed with mean 45 and standard deviation 6 find q if:
a) P(X<q) = 0.65
b) P(X>q) = 0.82
c) P(45 – q <X < 45 + q) = 0.2
2 . A light bulb factory produces bulbs with a mean life span of 1400 hours with
standard deviation 125 hours. 2% of bulbs have substandard lifespans. What is the
maximum lifespan of a substandard bulb?
Standardized random variables
Standardized random variables are a way of transforming random variables so that they have
a mean of 0 and a standard deviation of 1. This process allows for easier comparison between
different distributions, even if they have different original means and standard deviations.
Standardized random variables are often used in statistics for tasks like hypothesis testing,
creating z-scores, and comparing data from different distributions.
Why Standardize a Random Variable?
Standardizing a random variable has several benefits:
● Comparison: It allows you to compare data points from different distributions on the same scale.
● Interpretation: The value of Z (called the z-score) tells you how many standard deviations a particular
value of X is from the mean. For instance, a z-score of 2 means that the value is 2 standard deviations above
the mean.
● Probability Calculations: Many statistical tests and probability calculations rely on the standard normal
distribution (mean of 0, standard deviation of 1), so standardizing data helps in using these methods.
Mean and standard deviation
1. Y is normally distributed with mean μ and standard deviation 12. Given the
P(X≤130)=0.7 find the value of μ
The actual diameter of the rope can be described by the random variable D where
2
D ~ N(μ, 5.7 ).