standard deviation of a random variable x

Download Report

Transcript standard deviation of a random variable x

Section 7.3: Probability
Distributions for Continuous
Random Variables
• A probability distribution for a continuous
random variable x – is specified by a
mathematical function denoted by f(x) and
called the density function. The graph of a
density function is a smooth curve (the
density curve). The following requirements
must be met:
1. f(x) ≥ 0 (so that the curve cannot dip
below the horizontal axis).
2. The total area under the density curve is
equal to 1.
The probability that x falls in any particular
interval is the area under the density
curve and above the interval.
•
Many probability calculations involve the
following three events:
1. a < x < b, the event that the random variable
x assumes a value between two given
numbers a and b.
2. x < a, the event that the random variable x
assumes a value less than a given number a
3. b < x, the event that the random variable x
assumes a value greater than a given
number b (this can also be x > b)
Example
• Define a continuous random variable x by
x = amount of time (in minutes) taken by a clerk to process a
certain type of application form.
Suppose that x has a probability distribution with density function
.5 if 4  x  6
f ( x)  
0 otherwise
• The graph of f(x), the density curve, is
shown on the next slide. It is especially
easy to use this density curve to calculate
probabilities, because it just requires
finding the area of rectangles using the
formula
– Area = (base)(height)
• The curve has positive height, 0.5, only
between x = 4 and x = 6. The total area
under the curve is just the area of the
rectangle with base extending from 4 to 6
and with height 0.5. This gives
Area = (6 – 4)(0.5) = 1
• When the density is constant over an
interval (resulting in a horizontal density
curve), the probability distribution is called
a uniform distribution.
• The probability that x is between 4.5 and
5.5 is
Area = (5.5 – 4.5)(0.5) = .5
• The probability that x > 5.5
Area = (6 – 5.5)(0.5) = .25
• For any two numbers a and b with a < b,
P(a ≤ x ≤ b)=P(a < x ≤ b)=P(a ≤ x < b)=P(a < x < b)
when x is a continuous random variable.
• The probability that a continuous random
variable x lies between a lower limit a and
an upper limit b is
P(a < x < b) = (cumulative area to the left of b) –
(cumulative area to the left of a)
= P(x < b) – P(x < a)
Section 7.4: Mean and Standard
Deviation of a Random Variable
• The mean value of a random variable x;
denoted by μx, describes where the probability
distribution of x is centered.
• The standard deviation of a random variable
x, denoted by σx, describes variability in the
probability distribution. When σx is small,
observed values of x tend to be close to the
mean value (little variability). When the value of
σx is large, there is more variability in observed x
values.
• Mean value of a discrete random variable
x – denoted by μx, is computed by first
multiplying each possible x value by the
probability of observing that value and
then adding the resulting quantities.
Symbolically, μx = ∑ (x)p(x)
• The term expected value is sometimes
used in place of mean value, and E(x) is
alternative notation for μx.
Example
• Individuals applying for a certain license
are allowed up to four attempts to pass the
licensing exam. Let x denote the number
of attempts made by a randomly selected
applicant. The probability distribution of x
is as follows:
x
1
2
3
4
p(x) .10 .20 .30 .40
Thus x has mean value
μx = ∑ (x)p(x)
= 1(.10) + 2(.20) + 3(.30) + 4(.40)
= .10 + .40 + .90 + 1.60
= 3.00
Example
• A television manufacturer receives certain
components in lots of four from two
different suppliers. Let x and y denote the
number of defective components in
randomly selected lots from the first and
second suppliers, respectively. The
probability distributions for x and y are as
follows:
x
0 1 2 3 4
p(x) .4 .3 .2 .1 0
y 0 1 2 3 4
p(y) .2 .6 .2 0 0
Probability histograms for x and y are given below:
• Variance of a discrete random variable x –
denoted by σ2x, is computed by first subtracting
the mean from each possible x value to obtain
the deviations, then squaring each deviation and
multiplying the result by the probability of the
corresponding x value, and finally adding these
quantities. Symbolically,
σ2x = ∑ (x – μ)2p(x)
The standard deviation of x, denoted by σx, is the
square root of the variance
Example
• From the previous example we know that μ = 1
• For x = number of defective components in a lot
from the first supplier
 x2  (0  1)2 (.4)  (1  1)2 (.3)  (2  1) 2 (.2)  (3  1) 2 (.1)
 (1)(. 4)  (0)(. 3)  (1)(. 2)  ( 4)(. 1)
 1.0
• For y = the number of defective components in
a lot from the second supplier.
  (0  1) (.2)  (1  1) (.6)  (2  1) (.2)  .4
2
y
2
 y  4  .632
2
2
Mean, Variance, and Standard
Deviation of a Linear Function
The mean of y = a + bx is y = a + bx = a + bx
The variance of y is 2y  a2bx  b2 X2
From which it follows that the standard deviation
of y is  y  abx  b  x
If x1, x2,  , xn are random variables and a1, a2,
 , a are numerical constants, the random
n
variable y defined as
y = a1x1 + a2x2 +  + anxn
is a linear combination of the xi’s.
Mean, Variance, and Standard
Deviation for Linear Combinations
• If x1, x2, …, xn are random variables with means
μ1, μ2,…,μn and variances σ21, σ22,…,σ2n,
respectively, and if
y = a1x1 + a2x2 +…+ anxn,, then
1.  y  a1x1 a2 x2 ...  an xn  a11  a2 2  ...  an n
2. When x1 , x2 ,..., xn are independen t random var iables ,
 y2  a12 12  a22 22  ...  an2 n2
 y  a12 12  a22 22  ...  an2 n2