Download Continuous Random Variables

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

History of statistics wikipedia , lookup

Statistics wikipedia , lookup

Randomness wikipedia , lookup

Transcript
Continuous Random Variables
How to decide which pdf is best for my data?
Look at a non-parametric curve estimate:
(If you have lots of data)
●
●
Histogram
Kernel Density Estimator
(for every data point, draw K and add to density)
88
Continuous Random Variables
How to decide which pdf is best for my data?
Look at a non-parametric curve estimate:
(If you have lots of data)
●
●
Histogram
Kernel Density Estimator
(for every data point, draw K and add to density)
89
Continuous Random Variables
90
Continuous Random Variables
just like a pdf, this
function takes in an x
and returns the
appropriate y on an
estimated distribution
curve
to figure out y for a given x,
take the sum of where each
where each kernel (a density
plot for each data point in
the original X) puts that x.
91
Continuous Random Variables
Analogies
● Funky dartboard
Credit: MIT Open Courseware: Probability and Statistics
92
Continuous Random Variables
Analogies
● Funky dartboard
●
● Random number generator
93
Cumulative Distribution Function
●
●
● Random number generator
94
Cumulative Distribution Function
ℝ→
95
Cumulative Distribution Function
Uniform
ℝ→
Exponential
Normal
96
Cumulative Distribution Function
Uniform
ℝ→
Exponential
Normal
normal cdf
97
Cumulative Distribution Function
Uniform
ℝ→
Exponential
Normal
98
Random Variables, Revisited
X: A mapping from Ω to ℝ that describes the question we care about in practice.
X is a continuous random variable if it
can take on an infinite number of
values between any two given values.
X is a discrete random variable
if it takes only a countable
number of values.
99
Discrete Random Variables
ℝ→
X is a discrete random variable
if it takes only a countable
number of values.
100
Discrete Random Variables
Discrete
Uniform
ℝ→
X is a discrete random variable
if it takes only a countable
number of values.
Binomial (n, p)
(like normal)
101
Discrete Random Variables
ℝ→
X is a discrete random variable
if it takes only a countable
number of values.
ℝ→
102
Discrete Random Variables
Binomial (n, p)
ℝ→
X is a discrete random variable
if it takes only a countable
number of values.
ℝ→
103
Discrete Random Variables
Binomial (n, p)
ℝ→
X is a discrete random variable
if it takes only a countable
number of values.
ℝ→
104
Discrete Random Variables
Binomial (n, p)
Common Discrete Random Variables
●
Binomial(n, p)
●
example: number of heads after n coin flips (p, probability of heads)
Bernoulli(p) = Binomial(p, 1)
example: one trial of success or failure
105
Discrete Random Variables
Binomial (n, p)
Common Discrete Random Variables
●
●
●
Binomial(n, p)
example: number of heads after n coin flips (p, probability of heads)
Bernoulli(p) = Binomial(p, 1)
example: one trial of success or failure
Discrete Uniform(a, b)
106
Discrete Random Variables
Binomial (n, p)
Common Discrete Random Variables
●
●
●
●
Binomial(n, p)
example: number of heads after n coin flips (p, probability of heads)
Bernoulli(p) = Binomial(p, 1)
example: one trial of success or failure
Discrete Uniform(a, b)
Geometric(p)
≥
Geo(p)
107
Discrete Random Variables
Binomial (n, p)
Common Discrete Random Variables
●
●
●
●
Binomial(n, p)
example: number of heads after n coin flips (p, probability of heads)
Bernoulli(p) = Binomial(p, 1)
example: one trial of success or failure
Discrete Uniform(a, b)
Geometric(p)
≥
Geo(p)
discrete random variables
108
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
109
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
110
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
111
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
…
112
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
…
113
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
…
114
Maximum Likelihood Estimation (parameter estimation)
Given data and a distribution, how does one choose the parameters?
θ
…
115