Quick review of some key ideas

17
Quick review of some key ideas CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition)

description

Quick review of some key ideas. CEE 11 Spring 2002 Dr. Amelia Regan. These notes draw liberally from the class text, Probability and Statistics for Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition). mean. - PowerPoint PPT Presentation

Transcript of Quick review of some key ideas

Page 1: Quick review of some key ideas

Quick review of some key ideas

CEE 11 Spring 2002

Dr. Amelia Regan

These notes draw liberally from the class text, Probability and Statistics for

Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition)

Page 2: Quick review of some key ideas

mean The mean of a sample or data set is simply

the arithmetic average of the values in the set, obtained by summing the values and dividing by the number of values.

n

ii

n xnn

xxxx

1

21 1...

The mean of the sample of weights is 144.63 pounds

Page 3: Quick review of some key ideas

mean of a frequency distribution When we summarize a data set in a frequency

distribution, we are approximating the data set by "rounding" each value in a given class to the class mark.

1 1

i

i

1

where f the frequency of the ith observation and

p = the proportion associated with the ith observation

n n

i i i ii i

x f x p xn

The mean of the weight data obtained in this way is 146.67

Page 4: Quick review of some key ideas

shortcut formula for the variance

Its sometimes more convenient to use the following formula for the variance

2

2 2 1

2 1 1

1 1

n

in ni

i ii i

x

x x xn

sn n

Page 5: Quick review of some key ideas

properties of S2 Let x1, x2, x,...,xn be a sample and c be any nonzero

constant.

If y1 = x1 + c, y2 = x2 + c,...,yn = xn + c, then S2y = S2

x

If y1 = cx1, y2 = cx2,...,yn = cxn, then S2y = c2S2

x, Sy = |c|S2

x

In other words -- if we add a constant to a sample we do not increase the variance -- if we multiply by a constant we increase the variance by the square of the constant

Page 6: Quick review of some key ideas

related properties of the sample mean

Let x1, x2, x,...,xn be a sample and c be any nonzero constant.

If y1 = x1 + c, y2 = x2 + c,...,yn = xn + c then

If y1 = cx1, y2 = cx2,...,yn = cxn, then

In other words if we add or multiply the sample by a constant we add or multiply the mean by the same constant

y x c

y cx

Page 7: Quick review of some key ideas

Class exercise (new) Without using your calculators, calculate the mean

and variance of the following data

Xi | 33 27 18 36 21 ---------------------------------------------- fi | 4 3 2 5 1

Hint, shift the observations “to the left” by subtracting a constant and then divide by another constant

Page 8: Quick review of some key ideas

Class exercise (new) Without using your calculators, calculate the mean

and variance of the following data Step 1 yi | 11 9 6 12 7 ---------------------------------------------- Step 2 yi | 2 0 -3 3 -2

Divide by 3, then subtract 9

yi | 2 0 -3 3 -2 ---------------------------------------------- fi | 4 3 2 5 1

Page 9: Quick review of some key ideas

93i

i

xy

2

8 0 6 15 2 15

151.0

15

16 0 18 45 4 83

i i

i i

ii

f y

f yy

n

f y

yi | 2 0 -3 3 -2 -------------------------------------------------------- (yi)2 | 4 0 9 9 4 -------------------------------------------------------- fi | 4 3 2 5 1

Page 10: Quick review of some key ideas

93i

i

xy

2

22 1

1

1583

15 4.8471 14

n

i ini

i ii

f y

f yn

n

2 2

3( 9)

3( 9) 30.0

9 43.714

i i

x y

x y

x y

s s

Page 11: Quick review of some key ideas

conditional probability

For any two events A and B with P(B) > 0, the conditional probability of A given that B has occurred is defined by

( )( | )

( )

P A BP A B

P B

The multiplication rule for P(A intersection B) follows directly

( ) ( | ) ( )P A B P A B P B

Page 12: Quick review of some key ideas

independence

Remember that in general

However, if A and B are independent then

( ) ( | ) ( )P A B P A B P B

( ) ( ) ( )P A B P A P B

In fact, A and B are independent if and only if the above is true

Page 13: Quick review of some key ideas

Counting Techniques When the various outcomes of an experiment are

equally likely then the task of computing probabilities reduces to counting. In particular, if N is the number of outcomes in the sample space and N(A) is the number of outcomes contained in an event A, then

( )( )

N AP A

N

Page 14: Quick review of some key ideas
Page 15: Quick review of some key ideas

Permutations

, ( 1),...( 1)

( 1),..., ( 1)( )( 1)

( )( 1),...(2)(1)

!

( )!

k nP n n n k

n n n k n k n k

n k n k

n

n k

Any ordered sequence of k objects taken from a set of n distinct objects is called a permutation of size k of the objects. The number of permutations of size k that can be constructed from the n objects is denoted by Pk,n

The number of permutations of size k that can be constructed from n objects is equal to n(n-1)(n-2)…(n-k+1)

Page 16: Quick review of some key ideas

combinations

n

k

, !

! !( )!k nn P n

k k k n k

Given a set of n distinct objects, any unordered subset of size k of the objects is called a combination. The number of combinations of size k that can be formed from n distinct objects is denoted by or sometimes by Ck,n

Page 17: Quick review of some key ideas