Stats for Engineers: Lecture 3. Conditional probability Suppose there are three cards: A red card that is red on both sides, A white card that is white.

Slides:



Advertisements
Similar presentations
Probability Distribution
Advertisements

CS CS1512 Foundations of Computing Science 2 Lecture 23 Probability and statistics (4) © J.
Lecture Discrete Probability. 5.3 Bayes’ Theorem We have seen that the following holds: We can write one conditional probability in terms of the.
Acknowledgement: Thanks to Professor Pagano
STA291 Statistical Methods Lecture 13. Last time … Notions of: o Random variable, its o expected value, o variance, and o standard deviation 2.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Unit 18 Section 18C The Binomial Distribution. Example 1: If a coin is tossed 3 times, what is the probability of obtaining exactly 2 heads Solution:
5.1 Sampling Distributions for Counts and Proportions.
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Chapter 5 Probability Distributions
Discrete Probability Distributions
The Binomial Distribution. Introduction # correct TallyFrequencyP(experiment)P(theory) Mix the cards, select one & guess the type. Repeat 3 times.
Discrete Random Variables: The Binomial Distribution
Binomial & Geometric Random Variables §6-3. Goals: Binomial settings and binomial random variables Binomial probabilities Mean and standard deviation.
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
Section 15.8 The Binomial Distribution. A binomial distribution is a discrete distribution defined by two parameters: The number of trials, n The probability.
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
Binomial Distributions Calculating the Probability of Success.
The Binomial Distribution. Binomial Experiment.
Business and Finance College Principles of Statistics Eng. Heba Hamad 2008.
Discrete Probability Distributions
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
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.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Probability Distributions BINOMIAL DISTRIBUTION. Binomial Trials There are a specified number of repeated, independent trials There are a specified number.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
King Saud University Women Students
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Math b (Discrete) Random Variables, Binomial Distribution.
Stat 13 Lecture 19 discrete random variables, binomial A random variable is discrete if it takes values that have gaps : most often, integers Probability.
4.2 Binomial Distributions
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Your 3rd quiz will cover sections a){HHH,HTT,THT,TTH,THH,HTH,HHT,TTT} {0,1,2,3} b) {1/8,3/8,3/8,1/8} d) P(x=2 or x=3)= P(x=2)+P(x=3)=3/8+1/8=1/2.
By Satyadhar Joshi. Content  Probability Spaces  Bernoulli's Trial  Random Variables a. Expectation variance and standard deviation b. The Normal Distribution.
Simulating Experiments Introduction to Random Variable.
Probability Distributions, Discrete Random Variables
Random Variables Jim Bohan Manheim Township School District Lancaster, Pennsylvania
Measuring chance Probabilities FETP India. Competency to be gained from this lecture Apply probabilities to field epidemiology.
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:
DISCRETE PROBABILITY MODELS
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U Authors: Gary Greer (with.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Section 6.3 Day 1 Binomial Distributions. A Gaggle of Girls Let’s use simulation to find the probability that a couple who has three children has all.
Random Probability Distributions BinomialMultinomial Hyper- geometric
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
+ Binomial and Geometric Random Variables Textbook Section 6.3.
Section 7.3. Why we need Bayes?  How to assess the probability that a particular event occurs on the basis of partial evidence.  The probability p(F)
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
INTRODUCTION TO ECONOMIC STATISTICS Topic 5 Discrete Random Variables These slides are copyright © 2010 by Tavis Barr. This work is licensed under a Creative.
Binomial Distribution
Discrete Probability Distributions
Business Statistics Topic 4
3.4 The Binomial Distribution
Chapter 16.
The Binomial and Geometric Distributions
Binomial Distribution
LESSON 9: BINOMIAL DISTRIBUTION
Random Variables Binomial Distributions
Discrete Distributions
Discrete Distributions
Discrete Distributions.
Bernoulli Trials Two Possible Outcomes Trials are independent.
CSE 321 Discrete Structures
MATH 2311 Section 3.2.
Presentation transcript:

Stats for Engineers: Lecture 3

Conditional probability Suppose there are three cards: A red card that is red on both sides, A white card that is white on both sides, and A mixed card that is red on one side and white on the other. All the cards are placed into a hat and one is pulled at random and placed on a table. If the side facing up is red, what is the probability that the other side is also red? 1.1/6 2.1/3 3.1/2 4.2/3 5.5/6

Conditional probability Suppose there are three cards: A red card that is red on both sides, A white card that is white on both sides, and A mixed card that is red on one side and white on the other. All the cards are placed into a hat and one is pulled at random and placed on a table. If the side facing up is red, what is the probability that the other side is also red? Red card White card Mixed card Top Red Top White Top Red Let R=red card, TR = top red. Probability tree

Conditional probability Suppose there are three cards: A red card that is red on both sides, A white card that is white on both sides, and A mixed card that is red on one side and white on the other. All the cards are placed into a hat and one is pulled at random and placed on a table. If the side facing up is red, what is the probability that the other side is also red? The probability we want is P(R|TR) since having the red card is the only way for the other side also to be red. Let R=red card, W = white card, M = mixed card. Let TR = top is a red face. For a random draw P(R)=P(W)=P(M)=1/3. Total probability rule: Intuition: 2/3 of the three red faces are on the red card.

Summary From Last Time Permutations - ways of ordering k items: k! Ways of choosing k things from n, irrespective of ordering: Random Variables: Discreet and Continuous Mean Means add: Bayes Theorem e.g. from Total Probability Rule:

Mean of a product of independent random variables Note: in general this is not true if the variables are not independent Example: If I throw two dice, what is the mean value of the product of the throws?

So the variance can also be written Note that

Example: what is the mean and standard deviation of the result of a dice throw?

Sums of variances For two independent (or just uncorrelated) random variables X and Y the variance of X+Y is given by the sums of the separate variances.

In general, for both discrete and continuous independent (or uncorrelated) random variables Answer: In reality be careful - assumption of independence unlikely to be accurate

Binomial distribution A process with two possible outcomes, "success" and "failure" (or yes/no, etc.) is called a Bernoulli trial. Discrete Random Variables e.g. coin tossing: Heads or Tails quality control: Satisfactory or Unsatisfactory An experiment consists of n independent Bernoulli trials and p = probability of success for each trial. Let X = total number of successes in the n trials. for k = 0, 1, 2,..., n. This is called the Binomial distribution with parameters n and p, or B(n, p) for short. X ~ B(n, p) stands for "X has the Binomial distribution with parameters n and p." Polling: Agree or disagree

Situations where a Binomial might occur 1) Quality control: select n items at random; X = number found to be satisfactory. 2) Survey of n people about products A and B; X = number preferring A. 3) Telecommunications: n messages; X = number with an invalid address. 4) Number of items with some property above a threshold; e.g. X = number with height > A

"X = k" means k successes (each with probability p) and n-k failures (each with probability 1-p). Justification

Example: If I toss a coin 100 times, what is the probability of getting exactly 50 tails? Answer: Let X = number tails in 100 tosses

Example: A component has a 20% chance of being a dud. If five are selected from a large batch, what is the probability that more than one is a dud? Answer: Let X = number of duds in selection of 5