Upload
sheila-mathews
View
223
Download
0
Tags:
Embed Size (px)
Citation preview
Objective
Use Probability to create a software solution to a real-world problem.
Objective
Use Probability to create a software solution to a real-world problem.
Timeline/Administrivia
• Friday: vocabulary, Matlab• Monday: start medical segmentation project• Tuesday: complete project• Wednesday: 10am exam• Lecture: 10am-11am, Lab: 11am-12:30pm• Homework (matlab programs):
– PS 4: due 10am Monday
– PS 5: due 12:30pm Tuesday
Vocabulary
• Random variable
• Discrete vs. continuous random variable
• Uniform PDF
• Gaussian PDF
• Bayes rule / Conditional probability
• Marginal Probability
Random Variable
Random Variable
• Function defined on the domain of an experiment
Example r.v.
• Experiment: 2 coin tosses– Sample space: – Random variable:
Example r.v.
• Experiment: 2 coin tosses– Sample space: HH, HT, TT, TH– Random variable: h number of heads in run
Discrete vs. Continuous R. V.
Discrete vs. Continuous R. V.
• Domain
• Function that associates probability values with events in sample space.
• Function that associates probability values with events in sample space.
• Two characteristics of a PDF:
• Function that associates probability values with events in sample space.
• Two characteristics of a PDF:– Mean or Expected value– Variance
Uniform PDF
Uniform PDF
E(x) =
(x) =
x
p(x)
a
?
0
Gaussian PDF
Gaussian PDF
2var
22
2)(
2
1)(
iance
mean
x
exP
Bayes Rule Revisited)(
)()|()|(
BP
APABPBAP
)P(
)()|()|P( ii
i x
PxPx
i
PxPx )()|()P( ii
i
PxP
PxP
x
PxPx
)()|(
)()|(
)P(
)()|()|P(
ii
ii
iii
Recitation/Lab
• Install Matlab
• Start Problem Set 1