19
Tutorial 2 STAT1301 Fall 2010 28SEP2010, MB103@HKU By Joseph Dong STATISTICAL INDEPENDENCE AND AN INVITATION TO THE Art OF CONDITIONING

Statistical Independence and An Invitation to The Art of Conditioning

  • Upload
    razi

  • View
    23

  • Download
    1

Embed Size (px)

DESCRIPTION

Statistical Independence and An Invitation to The Art of Conditioning. Tutorial 2 STAT1301 Fall 2010 28SEP2010, MB103@HKU By Joseph Dong. - PowerPoint PPT Presentation

Citation preview

Page 1: Statistical Independence and An Invitation to The  Art  of Conditioning

Tutorial 2STAT1301 Fall 2010

28SEP2010, MB103@HKUBy Joseph Dong

STATISTICAL INDEPENDENCEAND

AN INVITATION TO THE Art OF CONDITIONING

Page 2: Statistical Independence and An Invitation to The  Art  of Conditioning

2

“Look, imagine a remote village where there has been a long drought. One day, local peasants in desperation go to the church, and the priest says a prayer for rain. And the next day the rain arrives! These are independent events.”Legendary answer made by Kolmogorov when he was questioned by a senior Soviet Minister

about whether the concept of independent events of his probability theory is consistent with materialistic determinism.

What is the intuitive background of Independence? How is the concept of independence related from that of mutual exclusiveness?

Page 3: Statistical Independence and An Invitation to The  Art  of Conditioning

3

MOTIVATING CONCEPT INDEPENDENCE• The event of today’s raining is by no means affected by the prayer said at the

church yesterday.

• How do you represent this wording in symbolic language so that you can analyze it in a more precise manner?

• Using the language of event (set):

• The realization of the event A={it rains today} is by no means affected by the realization of event B={villagers prayed yesterday}.

• If B has already realized, A will have an unaffected probability of realizing.

• For convenience we use a notation to denote the probability of A’s realization given B’s realization. Then the foregoing motivation for the concept independence will require us to establish the precise meaning of in a symbolic way.

• A and B independent ??

Page 4: Statistical Independence and An Invitation to The  Art  of Conditioning

4

INDEPENDENCE & MUTUAL EXCLUSIVENESS• Two events are mutually exclusive if there is no possibility that they can happen together

(simultaneously).

• Mutual exclusiveness is a concept/phenomenon on the set theory layer.

• Independence is a concept/phenomenon on the probability(measure) theory layer.

• Two events are independent if … (see next slide)

• Mutual ExclusivenessSet Theory

• IndependenceProbability(Measure) Theory

Page 5: Statistical Independence and An Invitation to The  Art  of Conditioning

5

Independence: • A formal, less intuitive, precise, and deep definition: Two events are independent if

A = {The villagers prayed yesterday}, , B = {It rains today},

Now we just need to specify one more probability to establish independence!

If events (A, B) are independent, so are events (A, Bc), (Ac, B), and (Ac, Bc).Practice: handout problem 3.

Page 6: Statistical Independence and An Invitation to The  Art  of Conditioning

6

NOW SHOW ALGEBRAICALLY…• If the events , are independent, show that the pairs , , also consist of independent

events.

• If the events , , and are completely independent (mutually independent), then the pairs , , also consist of independent events.

• But not the reverse:

• R.E. = Tossing a coin twice.

• A = {1st toss shows H}, B = {2nd toss shows H}, C = {both tosses show the same side}

c c

P ABC P A P B P CP AB P A P B

P ABC P A P B P C

Page 7: Statistical Independence and An Invitation to The  Art  of Conditioning

7

MORE ON MUTUAL INDEPENDENCE

• Intrinsic additive relations:

• the probabilities of the 4 vertices of a face add to the probability of the face.

• the probabilities of the 2 vertices of an edge add to the probability of the edge.

• Mutual independence require us to establish all multiplicative relations among vertices, edges, and faces.

Page 8: Statistical Independence and An Invitation to The  Art  of Conditioning

8

MORE ON MUTUAL INDEPENDENCE (CONT’D)

• Any two of the following three can derive the third.

• How to specify the multiplicative relations of the probabilities of a minimal set of vertices, edges, and faces?

• Solution 1: 4 vertices

• Solution 2: ?

Page 9: Statistical Independence and An Invitation to The  Art  of Conditioning

9

• Are the first two columns of digits independent?

• What about A and Bc? Ac and Bc?

• What about second and third?

• What about columns A & B together and column C? If you are allowed to add more rows, how could you make them independent?

• What about the first and last columns?

• What about the first and last columns together and column C?

A B C D

1 1 0 0

0 1 1 0

0 0 0 1

1 0 1 0

ANOTHER RELATED SOURCE OF PERSPECTIVE

Page 10: Statistical Independence and An Invitation to The  Art  of Conditioning

10

A CONCRETE EXAMPLE• R.E. = Tossing a die once.

• Event

• Event

• What’s and ?

• If you think A and B are not independent, then what can you say about ?

• Actually

• Are you surprised?

• Can you give 3 more pairs of events that are independent?

Page 11: Statistical Independence and An Invitation to The  Art  of Conditioning

11

CONDITIONAL PROBABILITY

(Total: conditional probabilities.)

Given an event (and of course also its sample space whereby it’s contained), the probability conditional on event , satisfies Kolmogorov’s Axioms of Probability.

Page 12: Statistical Independence and An Invitation to The  Art  of Conditioning

12

FORMAL DEFINITION:

• Conditional Probability is a valid probability:

• (“conditional sample space”)

• If ’s are disjoint events(subsets of ), then

?

• Exercise: Prove the identity

• Exercise: Prove the identity

• Exercise: Prove

• Practice: Handout Problems 1 and 2.

Page 13: Statistical Independence and An Invitation to The  Art  of Conditioning

13

USING CONDITIONAL PROBABILITY ON ITS OWN• In English, we use “if”, “when”, and the alike to indicate a condition.

• In Probabilistic analysis, we use the vertical bar “|” to indicate a condition.

• If she says yes, we’ll adopt plan A; if she says no or is indifferent, we’ll go with plan B.

• If the coin turns a head, I’ll go basketball tonight; if tail, 50% chance I’ll read a book chapter on Bayes Theory, and 50% chance I’ll go to bed early.

• If the airplane crashes in the prairie, then there is a high probability to find it; if in the mountain, then medium probability to find it; if in the sea, then very low probability to find it.

• If tomorrow the announcement of last season’s financial result is above public expectation, then the stock price will go up with probability 0.89; if equals the expectation, the stock price will go up with probability 0.5; if below expectation, the stock price will go up with probability 0.08.

Page 14: Statistical Independence and An Invitation to The  Art  of Conditioning

14

PARTITION (OF SAMPLE SPACE)AND CONDITION (ON THE PARTITION)• Formal Def. of a Partition of a Set.

• Any disjoint and exhaustive collection of subsets of a given set forms a partition of that set.

• A trivial partition of : For each subset , is a partition of .

• Throwing a die 10 times and we are interested in the sequence of the ten outcomes. Then

If , then

Each is a subset of

The six s are disjoint

The six s together are exhaustive.

The six s together is a partition of .

Page 15: Statistical Independence and An Invitation to The  Art  of Conditioning

15

EXERCISE

• We work in the sample space . Let the collection of events be a partition of . Also we have another event . Prove the following identity:

• Further, prove the following additional identity:

Page 16: Statistical Independence and An Invitation to The  Art  of Conditioning

16

PARTITION AND CONDITIONMonty Hall REVISITED – LAYMAN EDITION• You have made your first choice at box A, hoping that it contains the key to unlock a brand

new BMW. Then the host opens box B and it’s empty. Now it is your decision to make on whether you will switch to choose C or stay with A.

• What particular partition to form, and hence what conditions to make?

• In a probability veteran’s language, it is said that we would “condition on A”

• Meaning we first identify the event A as .

• Then form the trivial partition of the sample space.

• Then you proceed the analysis by making a condition “if event X happens, then” for each event X in the partition.

• Here…

• if event happens (ie, …), and with the knowledge is empty, then must also be empty.

• if event happens (ie, …), and with the knowledge is empty, then must contain the key.

• Now it is your turn to reach the end of this thread …

Page 17: Statistical Independence and An Invitation to The  Art  of Conditioning

17

QUESTION TO THE LAYMAN EDITION

• What subtlety will be involved if, unfortunately, you “conditioned on C”, instead of A?!

Page 18: Statistical Independence and An Invitation to The  Art  of Conditioning

18

• Brief setup: Let , where

• Recall an observation made in tutorial 1: What are the two events involved when the host, seeing you have chosen box A, shows you the emptiness of box B?

• Let

• Known:

• Want:

• Want =

Now it’s your turn: mimic an expert solution for the “Three Prisoners Problem”.

PARTITION AND CONDITIONMonty Hall REVISITED – EXPERT EDITION

Page 19: Statistical Independence and An Invitation to The  Art  of Conditioning

19

• Require a clever conditioning (although the hint has effectively eliminated this requirement) and some mathematical maturity

• What events are involved in the statement:

• “The initial search was in the mountains, and the plane was not found.”

EXERCISE

Handout Problem 4 Handout Problem 5