Presentation is loading. Please wait.

Presentation is loading. Please wait.

Probability & Independence. Sample space Random variable Probability.

Similar presentations


Presentation on theme: "Probability & Independence. Sample space Random variable Probability."— Presentation transcript:

1 Probability & Independence

2 Sample space Random variable Probability

3 face Y f 1 1/6 2 3 4 5 6 Random variable

4

5 Sample point ( ): the object where selection is made Sample space ( ) : the set of all sample points

6 Random variable (,, …. ): a characteristic (number, color, etc.) of sample points. a function converts sample points to their characteristics. a function from sample space to the set of real numbers.

7

8 Random variables No.ColorEven…f 00Green-1/38 0Green-1/38 1RedX1/38 2BlackO1/38 3RedX1/38 4BlackO1/38 35BlackX1/38 36RedO1/38

9 Random variable generates subsets of the sample space. Event: a subset of the sample space

10 A B C E Each point in layout corresponds to an event.

11 Probability is a function converts events to a number between 0 and 1.

12 : complementary event of : sample space, the total set, the universal event : null event

13 : the set of even numbers : multiples of 3 : multiples of 6 : multiples of 2 or 3

14 12141516181020212224262728303233 34 36 23 4 689 0 00 111317192325293135 1 57

15 15 24 33 141632 34 12183036 61020222628248 212739 11 13 17293135 192325 1 57 0 00

16 : sample space, the total set, universal event, roulette, chocolate box, urn : set of subsets of layout

17 RouletteHolesCharacteristics of holes sample points, sample spacerandom variables Layout set of subsets of sample space

18 X f 1 1/6 2 3 4 5 6 (X,Y) f (1,1)1/36 (1,2)1/36 (1,3)1/36 … (6,5)1/36 (6,6)1/36

19 How to get money from casino ?

20

21 Bet $100 + “all the amount you lose” every time. Think coin tossing game. Then you will win at least a time, then stop there.

22 $500 House marginUsing chipsBetting limit

23

24

25 “Who are willing to play a gambling game, seeing rising sun?”

26 How to get money from casino ? The best strategy is the one that casinos want to keep out of. That is the strategy leaving casino as soon as possible.

27 Counterplots of casino: High quality accommodation Far away location

28 Independence Combinatorics Joint distribution Conditional distribution

29 (X,Y) f (1,1)1/36 (1,2)1/36 (1,3)1/36 … (6,5)1/36 (6,6)1/36 X\Y 12…6Tot 1 1/36 1/6 2 1/36 1/6 … … … 6 1/36 1/6 Tot1/6 1.0 Joint dist’n, Marginal dist’n

30

31 X\Y123456Tot 1(H) 2/18 2/3 0(T) 1/18 1/3 Tot 1/6 1.0 X\Y123456Tot 1(H) 0(T) Tot 1.0

32 Independence of random variables X\Y123456Tot 1(H) 2/18 2/3 0(T) 1/18 1/3 Tot 1/6 1.0 X\Y123456Tot 1(H) 2/181/182/181/182/181/181/2 0(T) 1/182/181/182/181/182/181/2 Tot 1/6 1.0

33 joint pdf, marginal pdf, independence X\Y 012T 0 1/161/81/161/4 1 1/81/41/81/2 2 1/161/81/161/4 T 1/21/41.0 X\Y 012T 0 1/8 01/4 1 1/81/41/81/2 2 01/8 1/4 T 1/21/41.0 X\Y 012T 0 01/40 1 0 1/2 2 01/40 T 1/21/41.0

34

35

36

37 conditional distribution f(x|y) X\Y 012T 0 1/161/81/161/4 1 1/81/41/81/2 2 1/161/81/161/4 T 1/21/41.0 X\Y 012T 0 1/8 01/4 1 1/81/41/81/2 2 01/8 1/4 T 1/21/41.0 X\Y 012 0 1/4 1 1/2 2 1/4 T 1.0 X\Y 012 0 1/21/40 1 1/2 2 01/41/2 T 1.0

38 X\Y 012T 0 1/161/81/161/4 1 1/81/41/81/2 2 1/161/81/161/4 T 1/21/41.0 X\Y 012T 0 1/41/21/41.0 1 1/41/21/41.0 2 1/41/21/41.0 X\Y 012 0 1/4 1 1/2 2 1/4 T 1.0

39

40

41 X\Y 012T 0 1/161/81/161/4 1 1/81/41/81/2 2 1/161/81/161/4 T 1/21/41.0 X\Y 012T 0 1/8 01/4 1 1/81/41/81/2 2 01/8 1/4 T 1/21/41.0 X\Y 012T 0 01/40 1 0 1/2 2 01/40 T 1/21/41.0

42 XYX Yf1f1 f 2 f3f3 0001/161/80 010 1/4 0201/1600 1001/8 1/4 111 0 1221/8 1/4 2001/1600 2121/8 1/4 2241/161/80 Total1.0 E(XY)15/41 Cov(X,Y)01/40

43 X

44

45 (X)(X) (0)(0)

46

47 (o)(o) (X)(X) regardless of independence

48 ?

49 a a b How many ways to give an order to n people ?

50 How many ways to give an order to r people selected from n people ? --- No order for (n-r) people. Give an full order to n people, and disregard the order of the last (n-r) people.

51 How many ways to separate n people into two groups of r people and (n-r) people ? Disregard also the order of selected r people.

52 X: the number of heads when we toss a fair coin twice Xf 00.25 10.5 20.25 Total1.0

53 Thank you !!


Download ppt "Probability & Independence. Sample space Random variable Probability."

Similar presentations


Ads by Google