1 Probability: 1.1 Normal Distribution
1 Probability: 1.1 Normal Distribution
1 Probability: 1.1 Normal Distribution
Probability
1.1
Normal distribution
]
1
fY (y) =
exp a 2
2
2
a 2
1
[y (b + a)]2
exp
= p
2(a )2
2(a )2
We get Y N (a+b, (a)2 ). Linear transformation of a normal
variable remains normal.
1
In the hope for better performance, the athletes withdraw blood and then reinfuse it
before an important competition. In this way, the number of red blood cells is artificially
increased, improving the endurance of the athlete. The method is known as blood doping
and is highly dangerous and prohibited. Since no foreign substances can be found in the
body, there is no way to directly detect the method. Statistics is used to determine unusual
values of hemoglobin.
then use the tables (or the appropriate numerical method) to get
the probabilities.
= 166148
= 1.95.
In our case, X = 166 and therefore Y = X148
85
85
Tables for the standardized normal variable (computer can be used
instead) give P (X 166) = P (Y 1.95) = 0.974, the probability
therefore equals P (X > 166) = 0.026.
Calculate (symmetrical) limits, that are exceeded with probability less
than 0.01 by an undoped athlete.
Let Y be a standardized normal variable. We wish to calculate the
limits that encompass 99% of the values. Since we want to have symmetrical limits, the tails are left with probability 0.005 each. From the
tables, we learn that P (Y 2.58) = 0.995, i.e. the limit value of the
standardized normal variable equals 2.58.
, therefore
Y = X148
85
X 148
X 148
2.58) + P (
> 2.58)
0.01 = P (
85
85
FZ (z) = P (Z z) = P (Y 2 z) = P ( z Y z)
= FY ( z) FY ( z)
1
1
fZ (z) = fY ( z) + fY ( z)
2 z
2 z
1
= [fY ( z) + fY ( z)]
2 z
1
1
[ez/2 + ez/2 ] =
ez/2
=
2 z 2
z 2
1 t
1.2
The values below 0.1 get the value 1, the rest get the value 0. Therefore:
> set.seed(4)
> (runif(10)<0.1)*1
[1] 0 1 0 0 0 0 0 0 0 1
Say that we again have 10 units, but we wish to assign them different
probabilities to be drawn: we want to draw the first five units with
the probability 0.3, and the second five with the probablity 0.1 (as an
example, say we want to make a random draw, but assign a higher
probability to the women, that constitute half of our sample). How
can we use the same generator for this purpose?
> set.seed(4)
> (runif(10)<c(0.1,0.1,0.1,0.1,0.1,0.3,0.3,0.3,0.3,0.3))*1
[1] 0 1 0 0 0 1 0 0 0 1
ex dx
x z
e
0
z
= 1[e
1] = 1 ez