applied probability lecture 4

21
Applied Probability Lecture 4 Tina Kapur [email protected]

Upload: gala

Post on 12-Feb-2016

37 views

Category:

Documents


1 download

DESCRIPTION

Applied Probability Lecture 4. Tina Kapur [email protected]. 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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Applied Probability Lecture 4

Applied Probability Lecture 4

Tina [email protected]

Page 2: Applied Probability Lecture 4

Objective

Use Probability to create a software solution to a real-world problem.

Page 3: Applied Probability Lecture 4

Objective

Use Probability to create a software solution to a real-world problem.

Page 4: Applied Probability Lecture 4

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

Page 5: Applied Probability Lecture 4

Vocabulary

• Random variable• Discrete vs. continuous random variable• PDF• Uniform PDF• Gaussian PDF• Bayes rule / Conditional probability• Marginal Probability

Page 6: Applied Probability Lecture 4

Random Variable

Page 7: Applied Probability Lecture 4

Random Variable

• Function defined on the domain of an experiment

Page 8: Applied Probability Lecture 4

Example r.v.

• Experiment: 2 coin tosses– Sample space: – Random variable:

Page 9: Applied Probability Lecture 4

Example r.v.

• Experiment: 2 coin tosses– Sample space: HH, HT, TT, TH– Random variable: h number of heads in run

Page 10: Applied Probability Lecture 4

Discrete vs. Continuous R. V.

Page 11: Applied Probability Lecture 4

Discrete vs. Continuous R. V.

• Domain

Page 12: Applied Probability Lecture 4

PDF

Page 13: Applied Probability Lecture 4

PDF

• Function that associates probability values with events in sample space.

Page 14: Applied Probability Lecture 4

PDF

• Function that associates probability values with events in sample space.

• Two characteristics of a PDF:

Page 15: Applied Probability Lecture 4

PDF

• Function that associates probability values with events in sample space.

• Two characteristics of a PDF:– Mean or Expected value– Variance

Page 16: Applied Probability Lecture 4

Uniform PDF

Page 17: Applied Probability Lecture 4

Uniform PDF

E(x) = (x) =

x

p(x)

a

?

0

Page 18: Applied Probability Lecture 4

Gaussian PDF

Page 19: Applied Probability Lecture 4

Gaussian PDF

2var

22

2)(

21)(

iance

mean

x

exP

Page 20: Applied Probability Lecture 4

Bayes Rule Revisited)(

)()|()|(BP

APABPBAP

)P()()|()|P( ii

i xPxPx

i

PxPx )()|()P( ii

i

PxPPxPxPxPx

)()|()()|(

)P()()|()|P(

ii

ii

iii

Page 21: Applied Probability Lecture 4

Recitation/Lab

• Install Matlab• Start Problem Set 1