Probability Mechanics. Laws of probability: Addition The question of Or p(A or B) = p(A) + p(B) –Probability of getting a grape or lemon skittle in a.

Slides:



Advertisements
Similar presentations
Chi-Square Test Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
Advertisements

1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
COUNTING AND PROBABILITY
Chapter 6: Probability : The Study of Randomness “We figured the odds as best we could, and then we rolled the dice.” US President Jimmy Carter June 10,
statistics NONPARAMETRIC TEST
Probability: The Foundation of Inferential Statistics October 14, 2009.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
BCOR 1020 Business Statistics Lecture 8 – February 12, 2007.
Probability (cont.). Assigning Probabilities A probability is a value between 0 and 1 and is written either as a fraction or as a proportion. For the.
Compound Events A compound event is any event combining two or more simple events For example, the event “exactly 2 girls out of 3 kids” that we considered.
1 Some terminology Population - the set of all cases about which we have some interest. Sample - the cases we have selected from the population (randomly)
Thinking About Probability. Outline Basic Idea Different types of probability Definitions and Rules Conditional and Joint probabilities Essentials of.
© Buddy Freeman, 2015Probability. Segment 2 Outline  Basic Probability  Probability Distributions.
Engineering Probability and Statistics
Statistics Probabilities
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
Chapter 1 Basics of Probability.
5.1 Basic Probability Ideas
Conditional Probabilities Multiplication Rule Independence.
RMTD 404 Lecture 8. 2 Power Recall what you learned about statistical errors in Chapter 4: Type I Error: Finding a difference when there is no true difference.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Elementary Statistical Methods André L. Souza, Ph.D. The University of Alabama Lecture 22 Statistical Power.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 13: Nominal Variables: The Chi-Square and Binomial Distributions.
Chapter 19 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 A dichotomous outcome is one that has only two possibilities (e.g., pass or fail;
BIOSTATISTICS Topic: Probability 郭士逢 輔大生科系 2007 Note: These slides are made for teaching purpose only, with contents from the textbook, Biostatistics for.
Significance Testing Statistical testing of the mean (z test)
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
SESSION 31 & 32 Last Update 14 th April 2011 Discrete Probability Distributions.
Chapter 17: probability models
AP Review Day 2: Discrete Probability. Basic Probability Sample space = all possible outcomes P(A c ) = 1 – P(A) Probabilities have to be between 0 and.
Chapter 4 Lecture 3 Sections: 4.4 – 4.5. Multiplication Rule Recall that we used addition for the P(A or B). the word “or” in P(A or B) suggests addition.
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
The Big Picture: Counting events in a sample space allows us to calculate probabilities The key to calculating the probabilities of events is to count.
Probability Definition: Probability: the chance an event will happen. # of ways a certain event can occur # of possible events Probability =  Probability.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
SECTION 11-3 Conditional Probability; Events Involving “And” Slide
Conditional Probability Notes from Stat 391. Conditional Events We want to know P(A) for an experiment Can event B influence P(A)? –Definitely! Assume.
Remember Playing perfect black jack – the probability of winning a hand is.498 What is the probability that you will win 8 of the next 10 games of blackjack?
Hypothesis Testing and the T Test. First: Lets Remember Z Scores So: you received a 75 on a test. How did you do? If I said the mean was 72 what do you.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Stat 13, Thu 4/19/ Hand in HW2! 1. Resistance. 2. n-1 in sample sd formula, and parameters and statistics. 3. Probability basic terminology. 4. Probability.
Chapter 14 From Randomness to Probability. Dealing with Random Phenomena A random phenomenon: if we know what outcomes could happen, but not which particular.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
Probability. Properties of probabilities 0 ≤ p(A) ≤ 1  0 = never happens  1 = always happens  A priori definition p(A) = number of events classifiable.
The Birthday Problem. The Problem In a group of 50 students, what is the probability that at least two students share the same birthday?
Aim: How do we find the conditional probability of an event? TEST TUESDAY.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter 14 Probability Rules!. Do Now: According to the 2010 US Census, 6.7% of the population is aged 10 to 14 years, and 7.1% of the population is aged.
AP Statistics From Randomness to Probability Chapter 14.
Probability Class Homework Check Assignment: Chapter 7 – Exercise 7.20, 7.29, 7.47, 7.48, 7.53 and 7.57 Reading: Chapter 7 – p
Monday, October 14 Statistical Inference and Probability.
The Chi-square Statistic
Section 2 Probability William Christensen, Ph.D..
Chapter 3: Probability Topics
Chapter 11 Probability.
Extra Brownie Points! Lottery To Win: choose the 5 winnings numbers from 1 to 49 AND Choose the "Powerball" number from 1 to 42 What is the probability.
LEARNING GOAL The student will understand how to calculate the probability of an event.
Applicable Mathematics “Probability”
Is a persons’ size related to if they were bullied
Categorical Data Analysis Review for Final
Hypothesis Testing.
Extra Brownie Points! Lottery To Win: choose the 5 winnings numbers from 1 to 49 AND Choose the "Powerball" number from 1 to 42 What is the probability.
Inference on Categorical Data
QUANTITATIVE METHODS 1 SAMIR K. SRIVASTAVA.
General Probability Rules
Probability Probability Principles of EngineeringTM
Chapter 3 & 4 Notes.
Presentation transcript:

Probability Mechanics

Laws of probability: Addition The question of Or p(A or B) = p(A) + p(B) –Probability of getting a grape or lemon skittle in a bag of 60 pieces where there are 15 strawberry, 13 grape, 12 orange, 8 lemon, 12 lime? –p(G) = 13/60p(L) = 8/60 –13/60 + 8/60 = 21/60 =.35 or a 35% chance we’ll get one of those two flavors when we open the bag and pick one out

Laws of probability: Multiplication The question of And If A & B are independent p(A and B) = p(A)p(B) p(A and B and C) = p(A)p(B)p(C) –Probability of getting a grape and a lemon (after putting the grape back) after two draws from the bag –p(Grape)*p(Lemon) = 13/60*8/60 = ~.0288

Conditional Probabilities and Joint Events Conditional probability –One where you are looking for the probability of some event with some sort of information in hand –e.g. the odds of having a boy given that you had a girl already. 1 Joint probability –Probability of the co-occurrence of events –E.g. Would be the probability that you have a boy and a girl for children i.e. a combination of events In this case the conditional would be higher b/c if we knew there was already a girl that means they’re of child- rearing age, able to have kids, possibly interested in having more etc.

Conditional probabilities If events are not independent then: p(X|Y) = probability that X happens given that Y happens –The probability of X “conditional on” Y p(A and B) = p(A)*p(B|A)

Conditional probability Example Example: once we grab one skittle we aren’t going to put it back (sampling without replacement) so: – p(A and B and C) = p(A)*p(B|A)*p(C|A,B) –Probability of getting grape and lemon = p(G)*p(L|G) –(13/60)(8/59) =.0293 –Note: p(G)*p(L|G) = p(L)*p(G|L)

Joint Probability Example What is the probability of obtaining a Female who is Independent from this sample? In this case we’re looking for the joint condition of someone who is Female and Independent out of all possible outcomes: 2/17 = 11.8

LibModConsTotals M44210 F Totals LibMod ConsTotals M F Totals % Example: Political Party and Gender

Conditional probabilities Let’s do a conditional probability: If I have a male, what is the probability of him being in the ‘other’ category? Formally: p(A|B) = p(A,B)/p(B)= [p(A)*p(B|A)]/p(B) p(O|M) = p(O,M)/p(M)= [p(O)* p(M|O)]/p(M) = (.412*.714)/.588= ~.5

Conditional probabilities Easier way by looking at table- there are 10 males and of those 10 (i.e. given that we are dealing with males) how many are “Other”? p(O|M) = 5/10 or 50%.

Permutations Permutation is a sequence or ordering of events. Basic Question: if I have N objects, how many different orderings of them are there? Factorial: N! Formula: N(N-1)(N-2)…(1) Example: 5(5-1)(5-2)(5-3)(5-4) –5*4*3*2*1 = 120

Permutations General formula for finding the number of permutations of size k taken from n objects

Example: 10 songs on the iPod and we only have time to hear 6. What is the number 6 song orderings that we can make?: 10! =10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 (10 - 6)! 4! 4 x 3 x 2 x 1 = 10 x 9 x 8 x 7 x 6 x 5 = Example

Combinations General formula for finding the number of combinations of k objects you can choose from a set of n objects

e.g. How many sets of 6 song groupings (where their order is unimportant) can we make from 10 total (without repeating the same combinations)? 10! =10! =10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 6!(10 - 6)! 6!(4!) (6 x 5 x 4 x 3 x 2 x 1)( 4 x 3 x 2 x 1) = 10 x 9 x 8 x 7 =5040=210 (4 x 3 x 2 x 1) 24 Example

Binomial in action: Sign test Decision: bigger (+) or smaller (-) = binomial Makes no assumption about the distribution of means –Might be useful when data is highly skewed

Sign test example Memory span for digits and letters  13 subjects Digits: 7.2, 6.2, 5.9, 8.1, 6.7, 7.0, 7.6, 8.0, 5.8, 6.5, 7.0, 6.9, 6.2 Letters: 6.8, 6.1, 5.9, 6.9, 6.0, 6.5, 7.2, 7.4, 6.0, 6.6, 7.4, 6.8, 6.5 Sign +, +, =, +, +, +, +, +, -, -, -, +, - 8 out of 12 [ignore the =]

Add probabilities What is the probability of at least 8 with more digit recall assuming.5 success rate typically, i.e. digit span = letter span? p(8) + p(9) + p (10) + p(11) + p(12)

Enter values Input the values into the equation Check your answer with: BINOMDIST(success,total N, prob., FALSE)

Equation with values End up with:

Decision p(8) =.12 Without even calculating p(9) & p(10) & p(11) & p(12), we can say that the probability of getting at least 8 people with more digit recall than letter recall >.05 Thus by conventional standards we would fail to reject the null hypothesis –“There is no statistically significant difference found in the recall span for digits versus letters”