{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Lab7 - CE 93 Joan Walker Spring 2011 Lab 7 1 Use matlab to...

This preview shows pages 1–2. Sign up to view the full content.

CE 93 Joan Walker, Spring 2011 Lab 7 1. Use matlab to study the joint probability mass function Define: X: the number of passengers alighting at bus stop A; Y: the number of passengers boarding at bus stop A; Joint PMF of X and Y, p XY (x,y)=p(X=x Y=y) is known as Y X 0 1 2 3 p Y (y) 0 0.03 0.08 0.06 0.03 1 0.05 0.20 0.10 0.05 2 0.03 0.12 0.12 0.03 3 0.01 0.03 0.04 0.02 p X (x) i) Do the following conditions hold? Must they hold for the above data to represent a joint PMF? a. b. ii) Compute the following marginal PMF s. List the results in the table above. a. b. iii) In Matlab, make bar graphs of the marginal PMF s. iv) Do the following conditions hold? a. b. v) Compute the conditional probability that y people will get on the bus given that x passengers

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

Lab7 - CE 93 Joan Walker Spring 2011 Lab 7 1 Use matlab to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online