Probability Distributions Finite Random Variables.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Lecture (7) Random Variables and Distribution Functions.
Random Variable A random variable X is a function that assign a real number, X(ζ), to each outcome ζ in the sample space of a random experiment. Domain.
A.P. STATISTICS LESSON 7 – 1 ( DAY 1 ) DISCRETE AND CONTINUOUS RANDOM VARIABLES.
Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Discrete Probability Distributions
Engineering Statistics ECIV 2305 Chapter 2 Random Variables.
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
Variance Math 115b Mathematics for Business Decisions, part II
Test 2 Stock Option Pricing
Prof. Bart Selman Module Probability --- Part d)
Probability Distributions
Chapter 6 Continuous Random Variables and Probability Distributions
Probability Distributions
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
1 Review of Probability Theory [Source: Stanford University]
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
Probability Distributions Random Variables: Finite and Continuous A review MAT174, Spring 2004.
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Discrete Random Variables and Probability Distributions
Probability Distributions: Finite Random Variables.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Probability Distributions - Discrete Random Variables Outcomes and Events.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Probability Distributions. Essential Question: What is a probability distribution and how is it displayed?
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.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)
Chapter Four Random Variables and Their Probability Distributions
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
One Random Variable Random Process.
Math b (Discrete) Random Variables, Binomial Distribution.
Random Variable. Random variable A random variable χ is a function (rule) that assigns a number to each outcome of a chance experiment. A function χ acts.
Random Sampling Approximations of E(X), p.m.f, and p.d.f.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
Slide 5-1 Chapter 5 Probability and Random Variables.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Probability (outcome k) = Relative Frequency of k
Random Variables Learn how to characterize the pattern of the distribution of values that a random variable may have, and how to use the pattern to find.
Random Variables Example:
Probability Distributions, Discrete Random Variables
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
Lecture 7 Dustin Lueker.  Experiment ◦ Any activity from which an outcome, measurement, or other such result is obtained  Random (or Chance) Experiment.
Computing Fundamentals 2 Lecture 7 Statistics, Random Variables, Expected Value. Lecturer: Patrick Browne
Lesson 99 - Continuous Random Variables HL Math - Santowski.
Random Variables By: 1.
Random variables (r.v.) Random variable
Discrete Random Variables and Probability Distributions
Discrete and Continuous Random Variables
C4: DISCRETE RANDOM VARIABLES
Simulation Statistics
Chapter Four Random Variables and Their Probability Distributions
ASV Chapters 1 - Sample Spaces and Probabilities
7.1 Discrete & Continuous Random Variables
RANDOM VARIABLES Random variable:
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Experiments, Outcomes, Events and Random Variables: A Revisit
Random Variables Binomial and Hypergeometric Probabilities
Discrete Random Variables: Basics
Presentation transcript:

Probability Distributions Finite Random Variables

Probability Distributions  Recall a Random Variable was: numerical value associated with the outcome of an experiment that was subject to chance Examples:  The number of heads that appear when flipping three coins  The sum obtained when two fair dice are rolled  Value of an attempted loan workout

Finite Random Variables  Types of random variables: Finite Random Variable:  Can only assume a countable number of values (i.e. they can all be listed)  Examples Flipping a coin three times & recording # of heads Rolling a pair of dice & recording the sum on each roll

Finite Random Variables  Types of Random Variables (cont): Continuous Random Variable:  Can assume a whole range of values which cannot be listed:  Examples: Arrival times of customers using an ATM at the start of the hour Time between arrivals Length of service at an ATM machine  We’ll first look at finite random variables

Finite Random Variables  Ex: Suppose we flip a coin 3 times and record each flip. Let X be a random variable that records the # of heads we get.  What are the possible values of X?

Finite Random Variables  X can be 0, 1, 2, or 3  Notice that we can list all possible values of the random variable X  This makes X a finite random variable

Finite Random Variables  Recall Told us the probability the random variable X (upper case) assumed a certain value x (lower case)  List all possible values of x (lower case) and their probabilities in table

Finite Random Variables  Notice each value of the random variable has one probability associated with it  For a finite random variable we call this the probability mass function  Abbreviated (p.m.f.)

Finite Random Variables  Why a function? Each value of the random variable has exactly one probability assigned to it Since this is a function, the following are equivalent for a finite random variable:

Finite Random Variables  Like any function, the p.m.f. for a finite random variable has several properties: Domain: discrete numbered values (e.g. {0, 1, 2,3} ) Range: Sum:

Finite Random Variables  If we graph a p.m.f., should be a histogram with sum of all heights equal to 1  Each bar height corresponds to P(X=x)

Finite Random Variables  Cumulative Distribution Function Abbreviated c.d.f. Determines probability of all events occurring up to and including a specific event

Finite Random Variables  Ex: Find from our coin problem. Do the same for and  Sol:

Finite Random Variables  Notice: IntervalF X (x) = P(X≤x) (-∞,0)0 [0,1)0.125 [1,2) =0.500 [2,3) =0.875 [3,∞) =1

Finite Random Variables  The last table is describing a piece-wise function:

Finite Random Variables  The graph of the c.d.f.

Finite Random Variables  Notice for the c.d.f. of a finite random variable Graph is a step-wise function Domain is all real #s Graph never decreases Approaches 1 as x gets larger

Finite Random Variables  Ex. Use the sample space for rolling two dice to graph.

Finite Random Variables  Soln.

Finite Random Variables  Ex. Find in the previous example. Find in the previous example. Find in the previous example.  Soln.

Finite Random Variables  Remember: Cumulative distribution function adds probabilities up to and including a certain value  Ex. Find in the previous example. Find in the previous example. Find in the previous example.

Finite Random Variables  Soln.

Finite Random Variables Sample c.d.f.

Finite Random Variables  Notice the graph starts at height 0  Notice the graph ends at height 1  The graph “steps” to next height  The size of each “step” corresponds to the value of the p.m.f. at that x-value

Finite Random Variables  The bullet on the last slide gives us the ability to: p.m.f. c.d.f

Finite Random Variables  Binomial Random Variable Special type of finite r.v. Collection of Bernoulli Trials Bernoulli Trial is an experiment with only 2 possible outcomes Each trial is independent

Finite Random Variables  Excel has a built in Binomial R.V. function  BINOMDIST

Finite Random Variables  Ex: Suppose we flip a biased coin whose probability of landing heads is 0.7. Let’s say we do this 3 times and record each flip. Let X be a random variable that records the # of heads we get.  This is an example of a binomial random variable

Finite Random Variables  In Excel:  This is the p.m.f Value of Random Variable How many times you perform the experiment Probability of success on each trial FALSE (p.m.f) ; TRUE (c.d.f)

Finite Random Variables  In Excel:  This is the c.d.f

Finite Random Variables  Ex. Historically, 83% of all students pass a particular class. If there are 34 students in the class, what is the probability that exactly 28 will pass? What is the probability that at least 28 students pass? What is the probability that at most 28 students pass?

Finite Random Variables  What is the probability that exactly 28 students pass? Soln:

Finite Random Variables  What is the probability that at least 28 students pass? Soln:

Finite Random Variables  What is the probability that at most 28 students pass? Soln:

Finite Random Variables  Sample p.m.f.

Finite Random Variables  Mean of a finite random variable same as expected value in project 1 add product of each value and it’s respective probability

Finite Random Variables  Ex. Historically, 83% of all students pass a particular class. If there are 34 students in the class, find the mean number of students that will pass. Soln. Approximately students will pass (Two ways this can be found)

Finite Random Variables  Method 1:  Use BINOMDIST to make p.m.f.  Then use:

Finite Random Variables  Method 2:  There is a special formula that ONLY works for random variables that are binomially distributed: