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.

Slides:



Advertisements
Similar presentations
Discrete Random Variables To understand what we mean by a discrete random variable To understand that the total sample space adds up to 1 To understand.
Advertisements

Random Variables Chapter 8
Lecture Discrete Probability. 5.2 Recap Sample space: space of all possible outcomes. Event: subset of of S. p(s) : probability of element s of.
MOMENT GENERATING FUNCTION AND STATISTICAL DISTRIBUTIONS
Binomial random variables
Copyright ©2011 Brooks/Cole, Cengage Learning Random Variables Chapter 8 1.
Probability Distributions Finite Random Variables.
Ka-fu Wong © 2003 Chap 6- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
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.
Random Variables and Distributions Lecture 5: Stat 700.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
Probability Distributions: Finite Random Variables.
Random Variables A random variable A variable (usually x ) that has a single numerical value (determined by chance) for each outcome of an experiment A.
6- 1 Chapter Six McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
Copyright © 2015 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 C H A P T E R F I V E Discrete Probability Distributions.
MTH3003 PJJ SEM I 2015/2016.  ASSIGNMENT :25% Assignment 1 (10%) Assignment 2 (15%)  Mid exam :30% Part A (Objective) Part B (Subjective)  Final Exam:
Random Variables A random variable is simply a real-valued function defined on the sample space of an experiment. Example. Three fair coins are flipped.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
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}.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
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.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 8.5 The student will be able to identify what is meant by a random variable.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
LECTURE 17 THURSDAY, 22 OCTOBER STA 291 Fall
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
Binomial Distribution
Probability Distributions
Review of Chapter
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.1 Discrete and Continuous Random Variables.
Probability and Distributions. Deterministic vs. Random Processes In deterministic processes, the outcome can be predicted exactly in advance Eg. Force.
Random Variables Probability distribution functions Expected values.
Chapter 4 Random Variables - 1. Outline Random variables Discrete random variables Expected value 2.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
1 Keep Life Simple! We live and work and dream, Each has his little scheme, Sometimes we laugh; sometimes we cry, And thus the days go by.
What Is Probability Distribution?Ir. Muhril A., M.Sc., Ph.D.1 Chapter 6. Discrete Probability Distributions.
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.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
Copyright ©2011 Brooks/Cole, Cengage Learning Random Variables Class 34 1.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
Lecturer : FATEN AL-HUSSAIN Discrete Probability Distributions Note: This PowerPoint is only a summary and your main source should be the book.
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Chapter 5 Discrete Probability Distributions 1. Chapter 5 Overview 2 Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
CHAPTER 5 Discrete Probability Distributions. Chapter 5 Overview  Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
Discrete Random Variable Random Process. The Notion of A Random Variable We expect some measurement or numerical attribute of the outcome of a random.
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
Chapter 4: Discrete Random Variables
Chapter Six McGraw-Hill/Irwin
Chapter 5 Created by Bethany Stubbe and Stephan Kogitz.
Math 145 October 5, 2010.
Chapter 4: Discrete Random Variables
Random Variables.
22C:19 Discrete Math Discrete Probability
Algorithms CSCI 235, Fall 2017 Lecture 10 Probability II
STA 291 Spring 2008 Lecture 7 Dustin Lueker.
Math 145.
Probability distributions
6.1: Discrete and Continuous Random Variables
Random Variable Two Types:
Random Variables and Probability Distributions
Math 145 June 11, 2014.
Discrete & Continuous Random Variables
Math 145 September 29, 2008.
Math 145 June 8, 2010.
Econ 3790: Business and Economics Statistics
Algorithms CSCI 235, Spring 2019 Lecture 10 Probability II
Math 145 October 1, 2013.
Presentation transcript:

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 probabilities Budhi Setiawan Teknik Sipil - UNSRI

2 What is a Random Variable? Random Variable: an outcome or event may be identified through the value(s) of a function, which usually denoted with a capital letter Two different broad classes of random variables: 1.A continuous random variable can take any value in an interval or collection of intervals. 2.A discrete random variable can take one of a countable list of distinct values. If the value of X represent flood above mean level, then X > 7 meter stand for the occurrence of floods above 7 meter

3 Random factors that will determine how enjoyable the event is: Temperature: continuous random variable (any value, integer or decimal) Number of airplanes that fly overhead: discrete random variable (integer only) Example: Random Variables at an Outdoor Graduation or Wedding

4 What is the probability that three tosses of a fair coin will result in three heads? Assuming boys and girls are equally likely, what is the probability that 3 births will result in 3 girls? Assuming probability is 1/2 that a randomly selected individual will be taller than median height of a population, what is the probability that 3 randomly selected individuals will all be taller than the median? Example: Random Variables:Probability an Event Occurs 3 Times in 3 Tries Answer to all three questions = 1/8. Discrete Random Variable X = number of times the “outcome of interest” occurs in three independent tries.

5 Discrete Random Variables Discrete random variable: can only result in a countable set of possibilities – often a finite number of outcomes, but can be infinite. X the random variable. k = a number the discrete r.v. could assume. P(X = k) is the probability that X equals k. Example: It’s Possible to Toss Forever Repeatedly tossing a fair coin, and define: X = number of tosses until the first head occurs Any number of flips is a possible outcome. P(X = k) = (1/2) k

6 Probability Distribution of a Discrete R.V. Using the sample space to find probabilities: Step 1: List all simple events in sample space. Step 2: Find probability for each simple event. Step 3: List possible values for random variable X and identify the value for each simple event. Step 4: Find all simple events for which X = k, for each possible value k. Step 5: P(X = k) is the sum of the probabilities for all simple events for which X = k. Probability distribution function (pdf) X is a table or rule that assigns probabilities to possible values of X.

7 Example:How Many Girls are Likely? Family has 3 children. Probability of a girl is ? What are the probabilities of having 0, 1, 2, or 3 girls? Sample Space: For each birth, write either B or G. There are eight possible arrangements of B and G for three births. These are the simple events. Sample Space and Probabilities: The eight simple events are equally likely. Random Variable X: number of girls in three births. For each simple event, the value of X is the number of G’s listed.

8 Example: How Many Girls? (cont) Probability distribution function for Number of Girls X: Value of X for each simple event: Graph of the pdf of X:

9 Conditions for Probabilities for Discrete Random Variables Condition 1 The sum of the probabilities over all possible values of a discrete random variable must equal 1. Condition 2 The probability of any specific outcome for a discrete random variable must be between 0 and 1.

10 Cumulative Distribution Function of a Discrete Random Variable Cumulative distribution function (cdf) for a random variable X is a rule or table that provides the probabilities P(X ≤ k) for any real number k. Cumulative probability = probability that X is less than or equal to a particular value. Example: Cumulative Distribution Function for the Number of Girls (cont)

11 Finding Probabilities for Complex Events Example: A Mixture of Children pdf for Number of Girls X: What is the probability that a family with 3 children will have at least one child of each sex? If X = Number of Girls then either family has one girl and two boys (X = 1) or two girls and one boy (X = 2). P(X = 1 or X = 2) = P(X = 1) + P(X = 2) = 3/8 + 3/8 = 6/8 = 3/4

12 Expectations for Random Variables The expected value of a random variable is the mean value of the variable X in the sample space, or population, of possible outcomes. If X is a random variable with possible values x 1, x 2, x 3,..., occurring with probabilities p 1, p 2, p 3,..., then the expected value of X is calculated as

13 Standard Deviation for a Discrete Random Variable The standard deviation of a random variable is essentially the average distance the random variable falls from its mean over the long run. If X is a random variable with possible values x 1, x 2, x 3,..., occurring with probabilities p 1, p 2, p 3,..., and expected value E(X) = , then

14 Binomial Random Variables 1. There are n “trials” where n is determined in advance and is not a random value. 2. Two possible outcomes on each trial, called “success” and “failure” and denoted S and F. 3. Outcomes are independent from one trial to the next. 4. Probability of a “success”, denoted by p, remains same from one trial to the next. Probability of “failure” is 1 – p. Class of discrete random variables = Binomial -- results from a binomial experiment. Conditions for a binomial experiment:

15 Examples of Binomial Random Variables A binomial random variable is defined as X=number of successes in the n trials of a binomial experiment.

16 Finding Binomial Probabilities p = probability win = 0.2; plays of game are independent. X = number of wins in three plays. What is P(X = 2)? for k = 0, 1, 2, …, n Example: Probability of Two Wins in Three Plays

17 Binomial Probability Distribution Binomial distribution is based on events in which there are only two possible outcomes on each occurrence. Example: Flip a coin 3 times the possible outcomes are (heads = hits; tails = misses): HHH, HHT, HTT, TTT, TTH, THH, THT, AND HTH

18 Binomial Probability Distribution Example: Flip a coin 3 times the possible outcomes are (call heads = hits; tails = misses): Possible Outcomes of Coin Flipped 3 times OutcomeNo. Hits (x) HHH HHT THH HTH HTT THT TTH TTT Frequency Dist of data Xf

19 Binomial Probability Distribution

20 Probability Associated with Hits HitsFrequencyProbability

21 Binomial Probability Distribution

22 Binomial Probability Distribution The preceding bar graph is symmetrical; this will always be true for the binomial distribution when p= 0.5.

23 Expected Value and Standard Deviation for a Binomial Random Variable For a binomial random variable X based on n trials and success probability p,

24 Example: Extraterrestrial Life? 50% of large population would say “yes” if asked, “Do you believe there is extraterrestrial life?” Sample of n = 100 is taken. X = number in the sample who say “yes” is approximately a binomial random variable. In repeated samples of n=100, on average 50 people would say “yes”. The amount by which that number would differ from sample to sample is about 5.