Stat 31, Section 1, Last Time Big Rules of Probability –The not rule –The or rule –The and rule P{A & B} = P{A|B}P{B} = P{B|A}P{A} Bayes Rule (turn around.

Slides:



Advertisements
Similar presentations
6-1 Stats Unit 6 Sampling Distributions and Statistical Inference - 1 FPP Chapters 16-18, 20-21, 23 The Law of Averages (Ch 16) Box Models (Ch 16) Sampling.
Advertisements

Stat 155, Section 2, Last Time Big Rules of Probability: –Not Rule ( 1 – P{opposite}) –Or Rule (glasses – football) –And rule (multiply conditional prob’s)
Chapter 4 Probability and Probability Distributions
Business Statistics for Managerial Decision
Solve for x. 28 = 4(2x + 1) = 8x = 8x + 8 – 8 – 8 20 = 8x = x Distribute Combine Subtract Divide.
Stat 155, Section 2, Last Time Producing Data: How to Sample? –Placebos –Double Blind Experiment –Random Sampling Statistical Inference –Population “parameters”,,
1 Chapter 6: Probability— The Study of Randomness 6.1The Idea of Probability 6.2Probability Models 6.3General Probability Rules.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Review of Probability and Binomial Distributions
Section 5.2 The Addition Rule and Complements
Expected Value (Mean), Variance, Independence Transformations of Random Variables Last Time:
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Problem A newly married couple plans to have four children and would like to have three girls and a boy. What are the chances (probability) their desire.
Stat 155, Section 2, Last Time Pepsi Challenge: When are results “significant” vs. “random”? Independence –Conditional Prob’s = Unconditional Prob’s –Special.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Starter The probability distribution of a discrete random variable X is given by: P(X = r) = 30kr for r = 3, 5, 7 P(X = r) = 0 otherwise What is the value.
Chapter 6: Probability Distributions
Statistics 303 Chapter 4 and 1.3 Probability. The probability of an outcome is the proportion of times the outcome would occur if we repeated the procedure.
Probability The definition – probability of an Event Applies only to the special case when 1.The sample space has a finite no.of outcomes, and 2.Each.
Theory of Probability Statistics for Business and Economics.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.
PROBABILITY CONCEPTS Key concepts are described Probability rules are introduced Expected values, standard deviation, covariance and correlation for individual.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
STA Lecture 61 STA 291 Lecture 6 Randomness and Probability.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Stor 155, Section 2, Last Time Prediction in Regression –Given new point X 0, predict Y 0 –Confidence interval for mean –Prediction Interval for value.
Basic Probability Rules Let’s Keep it Simple. A Probability Event An event is one possible outcome or a set of outcomes of a random phenomenon. For example,
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Expectation for multivariate distributions. Definition Let X 1, X 2, …, X n denote n jointly distributed random variable with joint density function f(x.
CHAPTER 10: Introducing Probability ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
7.2 Means and variances of Random Variables (weighted average) Mean of a sample is X bar, Mean of a probability distribution is μ.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
Random Variables an important concept in probability.
Rules of Probability. Recall: Axioms of Probability 1. P[E] ≥ P[S] = 1 3. Property 3 is called the additive rule for probability if E i ∩ E j =
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Probability Basics Section Starter Roll two dice and record the sum shown. Repeat until you have done 20 rolls. Write a list of all the possible.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
Inference: Probabilities and Distributions Feb , 2012.
Today’s Topics Graded HW1 in Moodle (Testbeds used for grading are linked to class home page) HW2 due (but can still use 5 late days) at 11:55pm tonight.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
R.Kass/F02 P416 Lecture 1 1 Lecture 1 Probability and Statistics Introduction: l The understanding of many physical phenomena depend on statistical and.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
Great Theoretical Ideas in Computer Science for Some.
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.
Chance We will base on the frequency theory to study chances (or probability).
The expected value The value of a variable one would “expect” to get. It is also called the (mathematical) expectation, or the mean.
Introduction Sample surveys involve chance error. Here we will study how to find the likely size of the chance error in a percentage, for simple random.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
Review Design of experiments, histograms, average and standard deviation, normal approximation, measurement error, and probability.
Last Time Proportions Continuous Random Variables Probabilities
Welcome to MM305 Unit 3 Seminar Dr
What is Probability? Quantification of uncertainty.
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
Multiple Choice Practice
Probability.
Independence and Counting
Independence and Counting
Independence and Counting
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Presentation transcript:

Stat 31, Section 1, Last Time Big Rules of Probability –The not rule –The or rule –The and rule P{A & B} = P{A|B}P{B} = P{B|A}P{A} Bayes Rule (turn around Conditional Probabilities) Independence

(Need one more major concept at this level) An event A does not depend on B, when: Knowledge of B does not change chances of A: P{A | B} = P{A}

New Ball & Urn Example H  R R R R G G T  R R G Again toss coin, and draw ball: Same, so R & I are independent events Not true above, but works here, since proportions of R & G are same

Independence Note, when A in independent of B: so And thus i.e. B is independent of A

Independence Note, when A in independent of B: It follows that: B is independent of A I.e. “independence” is symmetric in A and B (as expected) More formal treatments use symmetric version as definition (to avoid hassles with 0 probabilities)

Independence HW: 4.33

Special Case of “And” Rule For A and B independent: P{A & B} = P{A | B} P{B} = P{B | A} P{A} = = P{A} P{B} i.e. When independent, just multiply probabilities…

Independent “And” Rule E.g. Toss a coin until the 1 st Head appears, find P{3 tosses}: Model: tosses are independent (saw this was reasonable last time, using “equally likely sample space ideas) P{3 tosses} = When have 3: group with parentheses

Independent “And” Rule E.g. Toss a coin until the 1 st Head appears, find P{3 tosses} (by indep:) I.e. “just multiply”

Independent “And” Rule E.g. Toss a coin until the 1 st Head appears, P{3 tosses} Multiplication idea holds in general So from now on will just say: “Since Independent, multiply probabilities” Similarly for Exclusive Or rule, Will just “add probabilities”

Independent “And” Rule HW:

Overview of Special Cases Careful: these can be tricky to keep separate OR works like adding, for mutually exclusive AND works like multiplying, for independent

Overview of Special Cases Caution: special cases are different Mutually exclusive independent For A and B mutually exclusive: P{A | B} = 0 P{A} Thus not independent

Overview of Special Cases HW: C13 Suppose events A, B, C all have probability 0.4, A & B are independent, and A & C are mutually exclusive. (a)Find P{A or B} (0.64) (b)Find P{A or C} (0.8) (c)Find P{A and B} (0.16) (d)Find P{A and C} (0)

Random Variables Text, Section 4.3 (we are currently jumping) Idea: take probability to next level Needed for probability structure of political polls, etc.

Random Variables Definition: A random variable, usually denoted as X, is a quantity that “takes on values at random”

Random Variables Two main types (that require different mathematical models) Discrete, i.e. counting (so look only at “counting numbers”, 1,2,3,…) Continuous, i.e. measuring (harder math, since need all fractions, etc.)

Random Variables E.g: X = # for Candidate A in a randomly selected political poll: discrete (recall all that means) Power of the random variable idea: Gives something to “get a hold of…” Similar in spirit to high school algebra: Give unknowns a name, so can work with

Random Variables E.g: X = # that comes up, in die rolling: Discrete But not too interesting Since can study by simple methods As done above Don’t really need random variable concept

Random Variables E.g: X = # that comes up, in die rolling: Discrete But not very interesting Since can study by simple methods As done above Don’t really need random variable concept

Random Variables E.g: Measurement error: Let X = measurement: Continuous How to model probabilities???

Random Variables HW on discrete vs. continuous: 4.40 ((b) discrete, (c) continuous, (d) could be either, but discrete is more common)

And now for something completely different My idea about “visualization” last time: 30% really liked it 70% less enthusiastic… Depends on mode of thinking –“Visual thinkers” loved it –But didn’t connect with others So don’t plan to continue that…

Random Variables A die rolling example (where random variable concept is useful) Win $9 if 5 or 6, Pay $4, if 1, 2 or 3, otherwise (4) break even Notes: Don’t care about number that comes up Random Variable abstraction allows focussing on important points Are you keen to play? (will calculate…)

Random Variables Die rolling example Win $9 if 5 or 6, Pay $4, if 1, 2 or 4 Let X = “net winnings” Note: X takes on values 9, -4 and 0 Probability Structure of X is summarized by: P{X = 9} = 1/3 P{X = -4} = ½ P{X = 0} = 1/6 (should you want to play?, study later)

Random Variables Die rolling example, for X = “net winnings”: Win $9 if 5 or 6, Pay $4, if 1, 2 or 4 Probability Structure of X is summarized by: P{X = 9} = 1/3 P{X = -4} = ½ P{X = 0} = 1/6 Convenient form: a table Winning9-40 Prob.1/31/21/6

Summary of Prob. Structure In general: for discrete X, summarize “distribution” (i.e. full prob. Structure) by a table: Where: i.All are between 0 and 1 ii. (so get a prob. funct’n as above) Valuesx1x1 x2x2 …xkxk Prob.p1p1 p2p2 …pkpk

Summary of Prob. Structure Summarize distribution, for discrete X, by a table: Power of this idea: Get probs by summing table values Special case of disjoint OR rule Valuesx1x1 x2x2 …xkxk Prob.p1p1 p2p2 …pkpk

Summary of Prob. Structure E.g. Die Rolling game above: P{X = 9} = 1/3 P{X < 2} = P{X = 0} + P{X = -4} = 1/6 +½ = 2/3 P{X = 5} = 0 (not in table!) Winning9-40 Prob.1/31/21/6

Summary of Prob. Structure E.g. Die Rolling game above: Winning9-40 Prob.1/31/21/6

Summary of Prob. Structure HW: 4.47 & (d) Find P{X = 3 | X >= 2} (0.24) 4.50 (0.144, …, 0.352)

Random Variables Now consider continuous random variables Recall: for measurements (not counting) Model for continuous random variables: Calculate probabilities as areas, under “probability density curve”, f(x)

Continuous Random Variables Model probabilities for continuous random variables, as areas under “probability density curve”, f(x): = Area( ) a b (calculus notation)

Continuous Random Variables e.g. Uniform Distribution Idea: choose random number from [0,1] Use constant density: f(x) = C Models “equally likely” To choose C, want: Area 1 = P{X in [0,1]} = C So want C =

Uniform Random Variable HW: 4.52 (0.73, 0, 0.73, 0.2, 0.5) 4.54 (1, ½, 1/8)

Continuous Random Variables e.g. Normal Distribution Idea: Draw at random from a normal population f(x) is the normal curve (studied above) Review some earlier concepts:

Normal Curve Mathematics The “normal density curve” is: usual “function” of circle constant = 3.14… natural number = 2.7…

Normal Curve Mathematics Main Ideas: Basic shape is: “Shifted to mu”: “Scaled by sigma”: Make Total Area = 1: divide by as, but never

Computation of Normal Areas EXCEL Computation: works in terms of “lower areas” E.g. for Area < 1.3

Computation of Normal Probs EXCEL Computation: probs given by “lower areas” E.g. for X ~ N(1,0.5) P{X < 1.3} = 0.73

Normal Random Variables As above, compute probabilities as areas, In EXCEL, use NORMDIST & NORMINV E.g. above: X ~ N(1,0.5) P{X < 1.3} =NORMDIST(1.3,1,0.5,TRUE) = 0.73 (as in pic above)

Normal Random Variables HW: 4.55