Presentation is loading. Please wait.

Presentation is loading. Please wait.

POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.

Similar presentations


Presentation on theme: "POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because."— Presentation transcript:

1 POSC 202A: Lecture 4 Probability

2 We begin with the basics of probability and then move on to expected value. Understanding probability is important because the rules that govern probabilistic relationships allow us to explicitly account for the stochastic nature of the world. We begin with some basic definitions…..

3 Probability Probability- The percentage of times something is expected to happen, when the process is infinitely repeated, under the same conditions.

4 Probability Since it is a percentage, it ranges from 0 (never expected to occur) to 1 (it always occurs). Thus we can calculate a probability that something occurs by subtracting the probability that it does not occur from 1.

5 Venn Diagrams The area in the rectangle=1 which is the sample space. The probability that event ‘A’ occurs is indicated by the size of the area that is covered in the space. The complement is the area in the sample space not covered by the circle ‘A’. It is abbreviated A c. So: A c= 1-A A AcAc

6 Probability Thus we can calculate a probability that something occurs by subtracting the probability that it does not occur from 1. Example: If a coin is 2 sided, the probability that heads will occur is 1- (the probability of tails).

7 Probability Population- The entire group of things about which we want information. An estimate that describes an aspect of the population is a parameter. A parameter is a number that describes the population – in theory it is fixed, but rarely do we know it. An example: The US Census.

8 Probability Sample- A part of the population from which we actually collect information, used to draw conclusions about the population. An estimate that describes an aspect of the sample (our quantity of interest) is a a statistic.

9 Probability Random- An event is random when its selection can be attributed to chance. We think of random selection occurring when all units have an equal chance of being selected. Example: roll of dice.

10 Probability: a brief tangent Sampling Distribution- Is the distribution of the values of some statistic in all possible samples (of a particular size) that could be taken from a population. This is a distribution in which each observation or unit is itself the product of a sample. The sampling distribution is Normal about the true population mean.

11 Underlying distributions converge around the sample mean as the number of trials increase.

12 Estimating the mean of a distribution (or variable)? We can think of two ways to do this: 1.Calculate the average. -(Not always possible) 2.Simulate through repeat sampling. -In essence, we estimate the sampling distribution.

13 Probability: a brief tangent Class exercise. Pair up. We are going to create a sampling distribution. 1.Roll the dice. (in R, hint: requires sample() function) 2.Record each roll. (Repeat 5 more times-6 total) 3.Calculate and record the average of the 6 rolls. 4.Repeat 20 times. You should have 20 averages. Each average represents the result from a sample.

14 Probability: a brief tangent Sampling Distribution- We can create a sampling distribution of the means of all groups samples. What do we find when we graph the average of the samples? Why is this useful?

15 Probability Independence- Two things are considered independent if the chances of the second occurring, given our knowledge of the first, are the same. The selection of one does not effect the chances that another is selected. Example: the second roll of the dice is unrelated to the first.

16 Probability Example: the second roll of the dice is unrelated to the first. So the probability of any number remains 1/6. A common misperception is that the number that just came up is less likely to occur on the next roll. If that were true, what would we expect to see in our results?

17 Probability Dependent- When the outcome of future events change due to events that precede them. The selection of one DOES effect the chance that another is selected.

18 Dependent- vs. Independent Example: Pick a card from a deck (of 52). What is the probability of selecting any one card? If we place the card back in the deck and re- select, then the second selection is independent of the first. If we do not place the card back in the deck then the chances for selecting a particular card are dependent on the selection of the first card (1/51).

19 Probability Replacement- Refers to returning the item selected to the sample so that the odds of selecting any one case remain unchanged (the draws remain independent).

20 Probability Two general types of more complex processes. Conditional probability: What is the likelihood of one thing and the other happening. Joint probability: What is the probability of one thing or the other happening?

21 Probability Conditional Probability- The chance an event occurs given another event has already occurred. Conditional probability deals with dependent events (though the individual components of each step may be independent). (Think of it as a two-step process)

22 Probability Conditional Probability- The chance an event occurs given another event has already occurred. Here we are trying to find the area ‘A and B’ which is called the intersection A B A and B

23 Probability Intersection- The probability that all events occur. A B A and B

24 Probability Conditional Probability- To find a conditional probability, use the multiplication rule: CP=Pr(a)*(Pr(b)given (a)). Example: What are the odds of selecting the 7 of clubs and then the queen of hearts: CP=1/52*1/51

25 Conditional Probability- The individual events can be independent or dependent. We can account for both. Assume independence. Example: What is the probability of flipping a coin and getting heads twice? Two heads=.5*.5

26 Conditional Probability- A more complex example: Assume independence. Example: What are the odds that we will draw a female Republican from a sample if the probability of drawing a female is.53 and of a Republican is.5? CP=.53*.5=.265

27 Conditional Probability- Assume dependence. Now we need the probability of B given A. In this case the proportion of Republicans among women. Example: What are the odds that we will draw a female Republican from a sample if the probability of drawing a female is.52 and of a Republican is.4? CP=.52*.4= ~.21

28 Conditional Probability- Now we need the probability of B given A. One limitation is that when the probabilities are dependent, we often don’t know what the probability of B given A is: A B A and B A B SmallLarge

29 Joint Probability- What is the probability that more than one outcome occurs (in a round)? (e.g., what is the probability we roll a 1 or a 3?)

30 Joint Probability- To answer this we need to know if the outcomes are mutually exclusive—does the occurrence of one event preclude the other from occurring?

31 Joint Probability- Are the outcomes mutually exclusive—does the occurrence of one event preclude the other from occurring? If yes, then the events are dependent. (one depends on the other NOT occurring) If no, then the events are independent. (they can occur simultaneously)

32 Joint Probability- If yes, then the events are dependent. If No, then they are independent. A B A B A and B Yes ‘Disjoint’ No

33 Joint Probability- If yes, then the events are disjoint. To solve: we add the probabilities. Example: the probability of getting a king of clubs or queen of hearts. JP=1/52 + 1/52 Example: the probability of getting any king or any queen. JP=4/52 + 4/52

34 Joint Probability- If no, then the events are independent. (they can occur simultaneously) To solve: we add the probabilities and then subtract their intersection. JP= (A+B)-(AxB)

35 Joint Probability- To solve: we add the probabilities and then subtract their intersection. JP= (A+B)-(AxB) Example: the probability of drawing any club or any queen. JP=(13/52+4/52)-(13/52*4/52) JP=(.25+.077)-(.25*.077)

36 Joint Probability- Example: the probability of drawing a Female or a Republican in a sample. Females are 52% of the population Republicans are 40% of the population. JP=(.52+.40)-(.52*40) =(.92-.21) =71%

37 Probability: Quick Summary Two general types of more complex processes. Conditional probability: What is the likelihood of one thing and the other happening. Joint probability: What is the probability of one thing or the other happening?


Download ppt "POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because."

Similar presentations


Ads by Google