Presentation is loading. Please wait.

Presentation is loading. Please wait.

Some Rules of Probability. More formulae: P(B|A) = = Thus, P(B|A) is not the same as P(A|B). P(A  B) = P(A|B)·P(B) P(A  B) = P(B|A)·P(A) CONDITIONAL.

Similar presentations


Presentation on theme: "Some Rules of Probability. More formulae: P(B|A) = = Thus, P(B|A) is not the same as P(A|B). P(A  B) = P(A|B)·P(B) P(A  B) = P(B|A)·P(A) CONDITIONAL."— Presentation transcript:

1 Some Rules of Probability

2 More formulae: P(B|A) = = Thus, P(B|A) is not the same as P(A|B). P(A  B) = P(A|B)·P(B) P(A  B) = P(B|A)·P(A) CONDITIONAL PROBABILITY

3 AIDS Testing Example  ELISA test: + : HIV positive - : HIV negative Correctness: 99% on HIV positive person (1% false negative) 95% on HIV negative person (5% false alarm)  Mandatory ELISA testing for people applying for marriage licenses in MA. “low risk” population: 1 in 500 HIV positive  Suppose a person got ELISA = +. Q: HIV positive?

4 Bayes’ Theorem …some people make a living out of this formula Try Michael Birnbaum’s (former UIUC psych faculty) Bayesian calculator http://psych.fullerton.edu/mbirnbaum/bayes/BayesCalc.htm

5 Bayes’ Theorem

6 The Binomial Distribution Today:

7 We have already talked about the most famous continuous random variable, which, because it is so heavily used, even has a name: The Normal Random Variable (and, associated with it, the Normal Distribution ) Today we will talk about a famous discrete random variable, which, because it is so heavily used, also has a name: The Binomial Random Variable (and, associated with it, the Binomial Distribution )

8 FAIR COIN “POPULATION” THEORETICAL PROBABILITY OF HEADS IS ½ If you toss a fair coin 10 times, what is the probability of x many heads?

9

10 Binomial Random Variable Potential Examples: Repeat a simple dichotomous experiment n times and count… Coin Tossing:# heads Marketing:# purchases Medical procedure:# patients cured Finance:# days stock  Politics:# voters favoring a given bill Testing:# number of test items of a given difficulty that you solve correctly Sampling:# of females in a random sample of people Education:# of high school students who drink alcohol

11 Population Repeat simple experiment n many times independently.

12 X: number of successes in n many independent repetitions of an experiment, each repetition having a probability p of success Binomial Random Variable

13 The Binomial Distribution

14 Trial 11111111100000000 Trial 21111000011110000 Trial 31100110011001100 Trial 41010101010101010 Probab. (letting q=1-p) pppppppp pppqpppq ppqpppqp ppqqppqq pqpppqpp pqpqpqpq pqqppqqp pqqqpqqq qpppqppp qppqqppq qpqpqpqp qpqqqpqq qqppqqpp qqpqqqpq qqqpqqqp qqqqqqqq X4332322132212110

15 Probab. (letting q=1-p) pppppppp pppqpppq ppqpppqp ppqqppqq pqpppqpp pqpqpqpq pqqppqqp pqqqpqqq qpppqppp qppqqppq qpqpqpqp qpqqqpqq qqppqqpp qqpqqqpq qqqpqqqp qqqqqqqq X4332322132212110

16 In general, for n many trials How do we figure that out in general?

17 Factorial

18 Binomial Distribution Formula: TABLE C Pages T-6 to T-10 in the book

19 Probab. (letting q=1-p) pppppppp pppqpppq ppqpppqp ppqqppqq pqpppqpp pqpqpqpq pqqppqqp pqqqpqqq qpppqppp qppqqppq qpqpqpqp qpqqqpqq qqppqqpp qqpqqqpq qqqpqqqp qqqqqqqq X4332322132212110

20 BINOMIAL COEFFICIENTS:

21

22

23

24

25

26 Example: # heads in 5 tosses of a coin: X~B(5,1/2) Expectation Variance # heads in 5 tosses of a coin: 2.5 1.25

27 PROOF :

28 Another Statistic: The Sample Proportion Remember that X is a random variable The sample proportion is a linear transformation of X and thus a random variable too Sampling Distribution of the Sample Proportion:

29 The Sample Proportion Unbiased Estimator

30 Let’s take another look at some Binomial Distributions especially what happens as n gets bigger and bigger

31

32

33

34

35

36 Normal Approximation of/to the Binomial

37

38 Normal Approximation

39 Normal Approximation: Let’s check it out! TABLE C Pages T-6 to T-10 in the book

40 Normal Approximation: Let’s check it out! Standardizing:

41 Normal Approximation: Let’s check it out!

42 Are we stuck with a bad approximation??

43 Binomial Distribution, n=20 0 0.05 0.1 0.15 0.2 0.25 01234567891011121314151617181920 # of successes probability 0.2

44

45

46 For now, that’s it … We will revisit the Binomial: Based on the sample proportion as an estimate of the population proportion, we will develop “confidence intervals” for the population proportion. We will carry out hypothesis tests about the true population proportion, using the information gained from the sample proportion.


Download ppt "Some Rules of Probability. More formulae: P(B|A) = = Thus, P(B|A) is not the same as P(A|B). P(A  B) = P(A|B)·P(B) P(A  B) = P(B|A)·P(A) CONDITIONAL."

Similar presentations


Ads by Google