HUDM4122 Probability and Statistical Inference February 2, 2015.

Slides:



Advertisements
Similar presentations
Introduction to Probability Experiments, Outcomes, Events and Sample Spaces What is probability? Basic Rules of Probability Probabilities of Compound Events.
Advertisements

Chapter 6 Probability and Simulation
1 Some more probability Samuel Marateck © Another way of calculating card probabilities. What’s the probability of choosing a hand of cards with.
Chapter 4 Probability and Probability Distributions
Oh Craps! AMATYC Presentation November 2009 Lance Phillips – Tulsa Community College.
Mathematics in Today's World
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
K. Desch – Statistical methods of data analysis SS10 2. Probability 2.3 Joint p.d.f.´s of several random variables Examples: Experiment yields several.
1 Variance of RVs Supplementary Notes Prepared by Raymond Wong Presented by Raymond Wong.
Probability Sampling Methods Simple Random Sampling Sampling with or without replacement Systematic Random Sampling –Total number of cases (M) divided.
Mathematics in Today's World
Chapter 6 Probability.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
Statistics Chapter 3: Probability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Axioms of Probability part one.
Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
MATH 110 Sec 13-4 Lecture: Expected Value The value of items along with the probabilities that they will be stolen over the next year are shown. What can.
LECTURE 14 TUESDAY, 13 OCTOBER STA 291 Fall
Course Make a List to Find Sample Spaces Learn to use counting methods to determine possible outcomes. Vocabulary sample space Fundamental Counting.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Section Independent Events Objectives: 1.Understand the definition of independent events. 2.Know how to use the Multiplication Rule for Independent.
5-1 Random Variables and Probability Distributions The Binomial Distribution.
Lecture 8. Random variables Random variables and probability distributions Discrete random variables (Continuous random variables)
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Binomial Probabilities IBHL, Y2 - Santowski. (A) Coin Tossing Example Take 2 coins and toss each Make a list to predict the possible outcomes Determine.
Make a List to Find Sample Spaces
The Binomial Distribution.  If a coin is tossed 4 times the possibilities of combinations are  HHHH  HHHT, HHTH, HTHH, THHHH  HHTT,HTHT, HTTH, THHT,
Systems for Planning & Control in Manufacturing Produced by D K Harrison and D J Petty 21/04/02 Sld X Supporting Slides Professor David K Harrison.
5-2 Probability Models The Binomial Distribution and Probability Model.
Section 7.1 Discrete and Continuous Random Variables
+ Chapter 5 Probability: What Are the Chances? 5.1Randomness, Probability, and Simulation 5.2Probability Rules 5.3Conditional Probability and Independence.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
AP Statistics, Section 7.11 The Practice of Statistics Third Edition Chapter 7: Random Variables 7.1 Discete and Continuous Random Variables Copyright.
Section Constructing Models of Random Behavior Objectives: 1.Build probability models by observing data 2.Build probability models by constructing.
From Randomness to Probability
AP Statistics Section 7.1 Probability Distributions.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
Section Discrete and Continuous Random Variables AP Statistics.
“Teach A Level Maths” Statistics 1
Sec. 4-5: Applying Ratios to Probability
Random Variables/ Probability Models
Lecture 8.
“Teach A Level Maths” Statistics 1
UNIT 8 Discrete Probability Distributions
EXAMPLE 1 Find a sample space
HUDM4122 Probability and Statistical Inference
HUDM4122 Probability and Statistical Inference
Daniela Stan Raicu School of CTI, DePaul University
Discrete Random Variables 2
Probability Trees By Anthony Stones.
Random Walks.
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Section Probability Models
“Teach A Level Maths” Statistics 1
Section 6.2 Probability Models
Probability The branch of mathematics that describes the pattern of chance outcome.
Daniela Stan Raicu School of CTI, DePaul University
Bernoulli's choice: Heads or Tails?
Daniela Stan Raicu School of CTI, DePaul University
Probability By Mya Vaughan.
EQ: How do we describe and summarize random events?
Section 7.1 Discrete and Continuous Random Variables
Pascal’s Arithmetic Triangle
Section 7.1 Discrete and Continuous Random Variables
72 24) 20/ ) S = {hhh, hht, hth, thh, tth, tht, htt, ttt} 10%
Sample Spaces and Probability
Presentation transcript:

HUDM4122 Probability and Statistical Inference February 2, 2015

In the last class Covariance Correlation Scatterplots Simple linear regression

Questions? Comments?

Today Ch in Mendenhall, Beaver, & Beaver

Today Probability in Statistics Events and the Sample Space Calculating Probabilities Using Simple Events

I have a coin in my hand What is the probability that I will get heads?

I have a coin in my hand What is the probability that I will get heads? – 50%

I have a coin in my hand What is the probability that I will get tails?

I have a coin in my hand What is the probability that I will get tails? – 50%

Flipping the Coin

Now that I’ve flipped the coin What is the probability that I will get heads if I flip it again?

Flipping the coin 10 times

What are the odds that I will get heads the next time?

Flipping the coin 10 times What are the odds that I will get heads the next time? It depends on whether it’s a fair coin – E.g. a coin where the probability of heads is exactly 50%

But if you get heads 10 times in a row It’s probably not a fair coin

Probability of heads 1 time, if it’s a fair coin ½, or 50%, or 0.5

Probability of heads 2 times, if it’s a fair coin

4 cases T, H H, T T, T H, H

Probability of heads 2 times, if it’s a fair coin 4 cases T, H H, T T, T H, H

Probability of heads 2 times, if it’s a fair coin 4 cases T, H H, T T, T H, H ¼, or 25%, or 0.25

Probability of heads 3 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 3 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/8, or 12.5%, or 0.125

Probability of heads 4 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 4 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/16, or

Probability of heads 5 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 5 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/32, or

Probability of heads 6 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 6 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/64, or

Probability of heads 7 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 7 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/128, or

Probability of heads 8 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 8 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/256, or about

Probability of heads 9 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 9 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/512, or about 0.002

Probability of heads 10 times, if it’s a fair coin How many cases? How many of these cases are heads?

Probability of heads 10 times, if it’s a fair coin How many cases? How many of these cases are heads? 1/1024, or about 0.001

Who thinks this is a fair coin?

It’s really improbable that it is About 1 in 1000

Who thinks this is a fair coin? It’s really improbable that it is About 1 in 1000 Of course, weirder things have happened… – My daughter is 1 in 10,000,000,000, so…

Questions? Comments?

Quick non-on-the-test digression

We just did our first statistical test of the semester… The sign test

We just did our first statistical test of the semester… The sign test – A special case of it, anyways

The Sign Test Formulas and theory are out of this class’s scope

The Sign Test Formulas and theory are out of this class’s scope But the big idea is You have an event that you think happens 50% of the time But does it really occur 50% of the time?

End quick non-on-the-test digression

So, that coin Every time you flipped that coin it was a simple event – An outcome that is received on a single repetition of an experiment

So, that coin Every time you flipped that coin it was a simple event – An outcome that is received on a single repetition of an experiment So when I flipped the coin ten times, it represented 10 simple events

So, that coin Every time you flipped that coin it was a simple event – An outcome that is received on a single repetition of an experiment So when I flipped the coin ten times, it represented 10 simple events An event is a set of connected simple events

Mutual exclusivity When you and your significant other decide not to date anyone else?

Mutual exclusivity When you and your significant other decide not to date anyone else? No.

Mutual exclusivity When you and your significant other decide not to date anyone else? No. Not in stats class, anyways.

Mutual exclusivity Mutual Exclusivity is when two events cannot both occur together A coin cannot be both heads and tails at the same time

Mutual exclusivity Mutual Exclusivity is when two events cannot both occur together A coin cannot be both heads and tails at the same time Can you think of other examples of mutual exclusivity?

Questions? Comments?

Sample space The sample space is the set of all possible simple events So for a fair coin, it’s {T, H}

What if you have a 6-sided die?

Sample space = {1, 2, 3, 4, 5, 6}

So if I have a six-sided die What is the probability that I roll a 6?

So if I have a six-sided die What is the probability that I roll a 6? – 1/6 or 0.17

So if I have a six-sided die What is the probability that I roll an odd number?

So if I have a six-sided die What is the probability that I roll an odd number? – 1, 3, 5 – Out of – {1, 2, 3, 4, 5, 6}

So if I have a six-sided die What is the probability that I roll an odd number? – 1/2 or 0.5

So if I have a six-sided die What is the probability that if I roll the die twice, I get 1 both times?

So if I have a six-sided die What is the probability that if I roll the die twice, I get 1 both times? – 1/36

Questions? Comments?

Compound events Multiple simple events, one after another

What is the probability of getting 2 heads in a row T, T H, H T, H H, T 1 out of 4

More complex combinations possible too

Let’s look at another example Let’s say I flip a coin 4 times And I get 3 heads and 1 tail – We don’t care about the order What is the probability of that?

3 heads, 1 tail How many cases are there?

3 heads, 1 tail How many cases are there? 16 – HHHH, HHHT, HHTH, HHTT, – HTHH, HTHT, HTTH, HTTT, – THHH, THHT, THTH, THTT, – TTHH, TTHT, TTTH, TTTT,

3 heads, 1 tail How many cases have 3 heads, 1 tail? 16 – HHHH, HHHT, HHTH, HHTT, – HTHH, HTHT, HTTH, HTTT, – THHH, THHT, THTH, THTT, – TTHH, TTHT, TTTH, TTTT,

3 heads, 1 tail How many cases have 3 heads, 1 tail? 16 – HHHH, HHHT, HHTH, HHTT, – HTHH, HTHT, HTTH, HTTT, – THHH, THHT, THTH, THTT, – TTHH, TTHT, TTTH, TTTT,

3 heads, 1 tail How many cases have 3 heads, 1 tail? 4/16 = 0.25 – HHHH, HHHT, HHTH, HHTT, – HTHH, HTHT, HTTH, HTTT, – THHH, THHT, THTH, THTT, – TTHH, TTHT, TTTH, TTTT,

This is an illustration of probability To quote the book The probability of an event A is equal to the sum of the probabilities of the simple events contained in A

Example with 1 head out of 2 flips 4 cases – HH – HT (1/4) – TH (1/4) – TT ¼ + ¼ = ½

Example with 3 heads out of 4 flips 16 cases – HHHH, HHHT, HHTH, HHTT, – HTHH, HTHT, HTTH, HTTT, – THHH, THHT, THTH, THTT, – TTHH, TTHT, TTTH, TTTT, 1/16 + 1/16 + 1/16 + 1/16 = 4/16 = 1/4

Questions? Comments?

Probabilities don’t have to be equal for all examples in the sample space

For example, let’s say that you have made a new friend, randomly sampled from the population of New York City residents

Probabilities don’t have to be equal for all examples in the sample space For example, let’s say that you have made a new friend, randomly sampled from the population of New York City residents – That’s how I make friends

Probabilities don’t have to be equal for all examples in the sample space For example, let’s say that you have made a new friend, randomly sampled from the population of New York City residents – That’s how I make friends 56% of NYC residents take mass transit to work 28% of NYC residents drive to work

Probabilities don’t have to be equal for all examples in the sample space For example, let’s say that you have made a new friend, randomly sampled from the population of New York City residents – That’s how I make friends 56% of NYC residents take mass transit to work 28% of NYC residents drive to work What is the probability that your friend either takes mass transit or drives to work?

Probabilities don’t have to be equal for all examples in the sample space For example, let’s say that you have made a new friend, randomly sampled from the population of New York City residents – That’s how I make friends 56% of NYC residents take mass transit to work 28% of NYC residents drive to work What is the probability that your friend either takes mass transit or drives to work? – 84%

Questions? Comments?

If we have time Left-over from previous class

If we have time Demo finding A and B for Y = A + Bx In Excel Using Sum of Squared Residuals – Residual = Difference Between Predicted Y and Actual Y

Questions? Comments?

Upcoming Classes 2/9 No class 2/11 Permutations, Combinations, Unions, and Complements – Ch. 4.4 – HW2 due 2/13 Independence and Conditional Probability – Ch. 4.5, 4.6

Homework 2 Due in 7 days In the ASSISTments system

Questions? Comments?