{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab 4 - CE93 Engineering Data Analysis Lab 4(Feb 9 2011...

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

View Full Document Right Arrow Icon
CE93 - Engineering Data Analysis Lab 4 (Feb 9, 2011) Data Preparation 1. Download the file containing data for seasonal rainfall data in San Francisco from 1960-61 to 2002- 2003 from bSpace. ( Filename: ‘SFrainfall.dat’ ). Load the data into MATLAB. The data contains the number of rainy days in season (column 1) and cumulative rainfall in inches (column 2). 2. Generate variables: - ‘days’ for number of rainy days in season (d) - ‘rain’ for cumulative rainfall (inches) Problems 1. Let E 1 = the number of rainy days in SF in a given season is > 65 days E 2 = amount of cumulative rainfall in SF in a given season is > 22in We know that if E 1 or E 2 happens, i.e. P(E 1 E 2 ) , we have had a rainy season in SF. Write a MATLAB routine to compute the following probabilities by use of the data. For each prob- ability, write out in words what it means. P(E 1 ) P(E 2 ) P(E1 E2) P(E 1 E 2 ) P(E 1 |E 2 ) P(E 2 |E 1 ) Are E 1 and E 2 (approximately) statistically independent? Mutually exclusive?
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}