Modeling Discrete Variables Lecture 22, Part 1 Sections 6.4 Fri, Oct 13, 2006.

Slides:



Advertisements
Similar presentations
6.2 Construct and Interpret Binomial Distributions
Advertisements

Random Variables A random variable is a variable (usually we use x), that has a single numerical value, determined by chance, for each outcome of a procedure.
Random Variables Probability Continued Chapter 7.
Slide 5-2 Copyright © 2008 Pearson Education, Inc. Chapter 5 Probability and Random Variables.
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
EXAMPLE 1 Construct a probability distribution
Working with Random Variables. What is a Random Variable? A random variable is a variable that has a numerical value which arises by chance (ie – from.
EXAMPLE 1 Construct a probability distribution Let X be a random variable that represents the sum when two six-sided dice are rolled. Make a table and.
Statistics Lecture 7. Last day: Completed Chapter 2 Today: Discrete probability distributions Assignment 3: Chapter 2: 44, 50, 60, 68, 74, 86, 110.
Random Variables November 23, Discrete Random Variables A random variable is a variable whose value is a numerical outcome of a random phenomenon.
© 2010 Pearson Education Inc.Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 1 of 15 Chapter 12 Probability and Calculus.
Unit 6 – Data Analysis and Probability
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
7.1 Discrete and Continuous Random Variable.  Calculate the probability of a discrete random variable and display in a graph.  Calculate the probability.
Biostatistics Lecture 7 4/7/2015. Chapter 7 Theoretical Probability Distributions.
DISCRETE PROBABILITY DISTRIBUTIONS Chapter 5. Outline  Section 5-1: Introduction  Section 5-2: Probability Distributions  Section 5-3: Mean, Variance,
Modular 11 Ch 7.1 to 7.2 Part I. Ch 7.1 Uniform and Normal Distribution Recall: Discrete random variable probability distribution For a continued random.
4.1 Probability Distributions. Do you remember? Relative Frequency Histogram.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
Continuous Random Variables Lecture 25 Section Mon, Feb 28, 2005.
Slide 5-1 Chapter 5 Probability and Random Variables.
Continuous Random Variables Lecture 24 Section Tue, Mar 7, 2006.
CHAPTER 7 DAY 1. Warm – Up (Density Curves Review)  Consider the density curve that consists of two line segments. The first segment starts at the point.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter The Normal Probability Distribution 7.
MATH 2400 Ch. 10 Notes. So…the Normal Distribution. Know the 68%, 95%, 99.7% rule Calculate a z-score Be able to calculate Probabilities of… X < a(X is.
Class 2 Probability Theory Discrete Random Variables Expectations.
Uniform Distributions and Random Variables Lecture 23 Sections 6.3.2, Mon, Oct 25, 2004.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Continuous Random Variables Section Starter A 9-sided die has three faces that show 1, two faces that show 2, and one face each showing 3,
Random Variables Ch. 6. Flip a fair coin 4 times. List all the possible outcomes. Let X be the number of heads. A probability model describes the possible.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Chapter 4 Continuous Random Variables and Probability Distributions
1 7.3 RANDOM VARIABLES When the variables in question are quantitative, they are known as random variables. A random variable, X, is a quantitative variable.
Probability Distributions and Expected Value
MATH Section 3.1.
Copyright ©2011 Brooks/Cole, Cengage Learning Random Variables Class 34 1.
Continuous Random Variables Lecture 24 Section Tue, Oct 18, 2005.
Probability Distributions Section 7.6. Definitions Random Variable: values are numbers determined by the outcome of an experiment. (rolling 2 dice: rv’s.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chapter Five The Binomial Probability Distribution and Related Topics
Unit 5 Section 5-2.
Discrete and Continuous Random Variables
Continuous Random Variables
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
Uniform Distributions and Random Variables
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
AP Statistics: Chapter 7
Chapter 16.
Suppose you roll two dice, and let X be sum of the dice. Then X is
Lecture 26 Section – Tue, Mar 2, 2004
Lecture 34 Section 7.5 Wed, Mar 24, 2004
Binomial Distributions
Sampling Distribution of a Sample Mean
Warm Up Imagine you are rolling 2 six-sided dice. 1) What is the probability to roll a sum of 7? 2) What is the probability to roll a sum of 6 or 7? 3)
Lecture 23 Section Mon, Oct 25, 2004
Discrete Distributions
Continuous Random Variables
Discrete Distributions
Modeling Discrete Variables
Uniform Distributions and Random Variables
Continuous Random Variables
Modeling Discrete Variables
Discrete Distributions.
7.1: Discrete and Continuous Random Variables
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Discrete Distributions
6.1 Construct and Interpret Binomial Distributions
Continuous Random Variables
Modeling Discrete Variables
Presentation transcript:

Modeling Discrete Variables Lecture 22, Part 1 Sections 6.4 Fri, Oct 13, 2006

Two Types of Variable Discrete variable – A variable whose set of possible values is a set of isolated points on the number line. Discrete variable – A variable whose set of possible values is a set of isolated points on the number line. Continuous variable – A variable whose set of possible values is a continuous interval of real numbers. Continuous variable – A variable whose set of possible values is a continuous interval of real numbers.

Example of a Discrete Variable Suppose that 10% of all households have no children, 30% have one child, 40% have two children, and 20% have three children. Suppose that 10% of all households have no children, 30% have one child, 40% have two children, and 20% have three children. Select a household at random and let X = number of children. Select a household at random and let X = number of children. What is the distribution of X? What is the distribution of X?

Example of a Discrete Variable Method 1: A list. Method 1: A list. We may list each value and its proportion. We may list each value and its proportion. X = 0 for 0.10 of the population. X = 0 for 0.10 of the population. X = 1 for 0.30 of the population. X = 1 for 0.30 of the population. X = 2 for 0.40 of the population. X = 2 for 0.40 of the population. X = 3 for 0.20 of the population. X = 3 for 0.20 of the population.

Example of a Discrete Variable Method 2: A table. Method 2: A table. We may present the information as a table. We may present the information as a table. Value of X Proportion

Graphing a Discrete Variable Method 3: A stick graph. Method 3: A stick graph. We may present the information as a stick graph. We may present the information as a stick graph. x Proportion

Graphing a Discrete Variable Method 4: A histogram. Method 4: A histogram. We may present the information as a histogram. We may present the information as a histogram. x Proportion

Discrete Random Variables Lecture 22, Part 2 Section Fri, Oct 13, 2006

Random Variables Random variable – A variable whose value is determined by the outcome of a procedure where the outcome of at least one step in the procedure is left to chance. Random variable – A variable whose value is determined by the outcome of a procedure where the outcome of at least one step in the procedure is left to chance. Therefore, the random variable may take on a new value each time the procedure is performed, even though the procedure is exactly the same. Therefore, the random variable may take on a new value each time the procedure is performed, even though the procedure is exactly the same.

Random Variables A random variable is really the same thing as the variables we studied in Chapter 2 (page 85). A random variable is really the same thing as the variables we studied in Chapter 2 (page 85). A variable is a quantitative or qualitative characteristic that can be observed or measured for each member of a population. A variable is a quantitative or qualitative characteristic that can be observed or measured for each member of a population. So what makes it random? So what makes it random?

Examples of Random Variables Select one person at random from a group of 10 men and 20 women. Select one person at random from a group of 10 men and 20 women. Let X be the sex of the person selected. Let X be the sex of the person selected. What are the possible values of X? What are the possible values of X? What are the probabilities of those values? What are the probabilities of those values? Which step of the procedure is left to chance? Which step of the procedure is left to chance?

Examples of Random Variables Roll two dice. Roll two dice. Let X be the number of sixes that turn up. Let X be the number of sixes that turn up. What is the characteristic that is being observed? What is the characteristic that is being observed? What are the possible values of X? What are the possible values of X? What are the probabilities of those values? What are the probabilities of those values?

Examples of Random Variables Roll two dice. Roll two dice. Let X be the total of the two numbers. What is the characteristic that is being observed? Let X be the total of the two numbers. What is the characteristic that is being observed? What are the possible values of X? What are the possible values of X? What are their probabilities? What are their probabilities?

Examples of Random Variables A bus arrives at a bus stop every 15 minutes. You show up at a random time. A bus arrives at a bus stop every 15 minutes. You show up at a random time. Let X be the time you wait until the bus arrives. Let X be the time you wait until the bus arrives. What are the possible values of X? What are the possible values of X? What are their probabilities? What are their probabilities?

A Note About Probability The probability that something happens is the proportion of the time that it does happen out of all the times that it was given an opportunity to happen. The probability that something happens is the proportion of the time that it does happen out of all the times that it was given an opportunity to happen. Therefore, “probability” and “proportion” are synonymous in the context of what we are doing. Therefore, “probability” and “proportion” are synonymous in the context of what we are doing.

Discrete Probability Distribution Functions Discrete Probability Distribution Function (pdf) – A function that assigns a probability to each possible value of a discrete random variable. Discrete Probability Distribution Function (pdf) – A function that assigns a probability to each possible value of a discrete random variable.

Rolling Two Dice Roll two dice and let X be the number of sixes. Roll two dice and let X be the number of sixes. Draw the 6  6 rectangle showing all 36 possibilities. Draw the 6  6 rectangle showing all 36 possibilities. From it we see that From it we see that P(X = 0) = 25/36. P(X = 0) = 25/36. P(X = 1) = 10/36. P(X = 1) = 10/36. P(X = 2) = 1/36. P(X = 2) = 1/36. (1, 1)(1, 2)(1, 3)(1, 4)(1, 5)(1, 6) (2, 1)(2, 2)(2, 3)(2, 4)(2, 5)(2, 6) (3, 1)(3, 2)(3, 3)(3, 4)(3, 5)(3, 6) (4, 1)(4, 2)(4, 3)(4, 4)(4, 5)(4, 6) (5, 1)(5, 2)(5, 3)(5, 4)(5, 5)(5, 6) (6, 1)(6, 2)(6, 3)(6, 4)(6, 5)(6, 6)

Rolling Two Dice We can summarize this as a list (Method 1): We can summarize this as a list (Method 1): P(X = 0) = 25/36. P(X = 0) = 25/36. P(X = 1) = 10/36. P(X = 1) = 10/36. P(X = 2) = 1/36. P(X = 2) = 1/36.

Rolling Two Dice We can summarize this in a table (Method 2): We can summarize this in a table (Method 2): X P(X = x) 025/36 110/36 21/36

Example of a Discrete PDF We may present it as a stick graph (Method 3): We may present it as a stick graph (Method 3): x P(X = x) 012 5/36 15/36 25/36 30/36 20/36 10/36

Example of a Discrete PDF We may present it as a histogram (Method 4): We may present it as a histogram (Method 4): x P(X = x) 012 5/36 15/36 25/36 30/36 20/36 10/36

Rolling Two Dice Roll two dice and let X be the sum of the two numbers. Roll two dice and let X be the sum of the two numbers. From it we see that From it we see that P(X = 2) = 1/36. P(X = 2) = 1/36. P(X = 3) = 2/36. P(X = 3) = 2/36. P(X = 4) = 3/36. P(X = 4) = 3/36. P(X = 5) = 4/36. P(X = 5) = 4/36. P(X = 6) = 5/36. P(X = 6) = 5/36. etc. etc. (1, 1)(1, 2)(1, 3)(1, 4)(1, 5)(1, 6) (2, 1)(2, 2)(2, 3)(2, 4)(2, 5)(2, 6) (3, 1)(3, 2)(3, 3)(3, 4)(3, 5)(3, 6) (4, 1)(4, 2)(4, 3)(4, 4)(4, 5)(4, 6) (5, 1)(5, 2)(5, 3)(5, 4)(5, 5)(5, 6) (6, 1)(6, 2)(6, 3)(6, 4)(6, 5)(6, 6)

Example of a Discrete PDF Suppose that 10% of all households have no children, 30% have one child, 40% have two children, and 20% have three children. Suppose that 10% of all households have no children, 30% have one child, 40% have two children, and 20% have three children. Select a household at random and let X = number of children. Select a household at random and let X = number of children. Then X is a random variable. Then X is a random variable. What is the pdf of X? What is the pdf of X?

Example of a Discrete PDF We may present the pdf as a list. We may present the pdf as a list. P(X = 0) = P(X = 0) = P(X = 1) = P(X = 1) = P(X = 2) = P(X = 2) = P(X = 3) = P(X = 3) = 0.20.

Example of a Discrete PDF We may present the pdf as a table. We may present the pdf as a table. x P(X = x)

Example of a Discrete PDF Or we may present it as a stick graph. Or we may present it as a stick graph. x P(X = x)

Example of a Discrete PDF Or we may present it as a histogram. Or we may present it as a histogram. x P(X = x)