Random Variables. Intro to discrete random variables. Random Variables. “A random variable is a numerical valued function defined over a sample space” What does this mean in English? If Y rv then Y takes on more than 1 numerical value Sample space is set of possible values of Y
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
statistical processes
Deterministic variables
Continuous
random variables
Discrete
random variables
VariablesA Simple TaxonomyVariables are
but models
Variables
statistical processes
P = S  C
statistical processes
Note
conventions!
statistical processes
statistical processes
Expected value of a function of y, a discrete rv
Let g(y) be function of y
Suppose C = g(T) = 5T + 3, find E(C)
E(C) = [5(4)+3]0.2 + [5(5)+3]0.3 + [5(6)+3]0.5 = 29.5
Let d = constant
E(d)= constant
E(dy)= dE(y)
E() is a linear operator
E(X + Y) = E(X) + E(Y), where X & Y are rv
Mean of a Discrete RVInteresting Characteristicsstatistical processes
Previously defined variance for population & sample
Random VariableVariance  A Measure of Dispersionstatistical processes
statistical processes
statistical processes
statistical processes
and
We also know that
So it follows that
Deriving the mean and variance of a Bernoulli Random Variablestatistical processes
statistical processes
Problem:
Toss coin 3 times, find P(2 heads)
n = 3 ; y = 2
P(H, H, T) = (.5)(.5)(.5) = 0.125
Could also be (H,T,H) or (T, H, H)
P(2 heads) = 0.125 + 0.125 + 0.125 = 0.375
statistical processes
statistical processes
y n
Probability of y successes
# of combinations
Probability of n  y failures
Binomial Distribution FunctionCreating the Modelstatistical processes
Have 20 coin tosses
statistical processes
statistical processes
Problem
Events E1, …, Ek occur with probabilities p1, p2, …, pk . Given n independent trials probability E1 occurs y1 times, … Ek occurs yk times.
statistical processes
Note there are k random variables
This is called
a joint distribution.
Formula for MultinomialUnderstand Relationship to Binomialj = npj j2 = npjqj = npj(1pj)
statistical processes
statistical processes
statistical processes
æ
ö
y
1

ç
÷
=
r
y
r
p
(
y
)
p
q
ç
÷

r
1
è
ø
r
rq
m
=
=
s 2
2
p
p
Let p = 0.5 & r = 2, do we get
reasonable results?
Negative Binomial DistributionProblem
Have series of Bernoulli trials, want probability of waiting
until yth trial to get rth success
statistical processes
statistical processes
Hypergeometric Probability Distribution
statistical processes
2) What do we mean by
p(y)?
3) What is r/N ?
Hypergeometric DistributionN # in population
n # in sample
r # of Successes in population
y # of Successes in sample
statistical processes
statistical processes
# of defects in an 8x8 sheet of plywood
A Poisson Process is a Rate# of cars passing a fixed point in one minute
statistical processes
make sense?
Note particularly
interesting relationship
Note must be for
the same unit of
measure!
Poisson Probability DistributionWhere,
y # of occurrences in a given unit
mean # of occurrences in a given unit
e 2.71828…
statistical processes
Special
Functions
HYPGEOMDIST
BINOMDIST
NEGBINOMDIST
POISSON
Are there others?
Excel
statistical processes
statistical processes