Random Variable. Random Variables. Chapter 5 Slides. Maurice Geraghty Inferential Statistics and Probability a Holistic Approach

Similar documents
Continuous Distributions

Binomial and Poisson Probability Distributions

Copyright c 2006 Jason Underdown Some rights reserved. choose notation. n distinct items divided into r distinct groups.

Distribusi Binomial, Poisson, dan Hipergeometrik

REVIEW: Midterm Exam. Spring 2012

Bernoulli and Binomial Distributions. Notes. Bernoulli Trials. Bernoulli/Binomial Random Variables Bernoulli and Binomial Distributions.

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

Lecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014

b. ( ) ( ) ( ) ( ) ( ) 5. Independence: Two events (A & B) are independent if one of the conditions listed below is satisfied; ( ) ( ) ( )

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

REPEATED TRIALS. p(e 1 ) p(e 2 )... p(e k )

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

Statistics for Economists Lectures 6 & 7. Asrat Temesgen Stockholm University

Relationship between probability set function and random variable - 2 -

Known probability distributions

Discrete probability distributions

success and failure independent from one trial to the next?

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

STAT509: Discrete Random Variable

Topic 3 - Discrete distributions

Statistics for Managers Using Microsoft Excel (3 rd Edition)

STAT/MATH 395 PROBABILITY II

= n 1. n 1. Measures of Variability. Sample Variance. Range. Sample Standard Deviation ( ) 2. Chapter 2 Slides. Maurice Geraghty

An-Najah National University Faculty of Engineering Industrial Engineering Department. Course : Quantitative Methods (65211)

Chapter 2: The Random Variable

Mathematical Statistics 1 Math A 6330

3 Modeling Process Quality

Statistics for Economists. Lectures 3 & 4

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

BINOMIAL DISTRIBUTION

Special distributions

BIOSTATISTICS. Lecture 2 Discrete Probability Distributions. dr. Petr Nazarov

Topic 2: Probability & Distributions. Road Map Probability & Distributions. ECO220Y5Y: Quantitative Methods in Economics. Dr.

Chapter (4) Discrete Probability Distributions Examples

DEFINITION: IF AN OUTCOME OF A RANDOM EXPERIMENT IS CONVERTED TO A SINGLE (RANDOM) NUMBER (E.G. THE TOTAL

Binomial random variable

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions

Math/Stat 352 Lecture 8

Discrete Distributions

Chapter 3: Discrete Random Variable

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables

Week 6, 9/24/12-9/28/12, Notes: Bernoulli, Binomial, Hypergeometric, and Poisson Random Variables

Discrete Random Variables

MATH/STAT 395. Introduction to Probability Models. Jan 7, 2013

Suppose that you have three coins. Coin A is fair, coin B shows heads with probability 0.6 and coin C shows heads with probability 0.8.

Probability and Statistics

CHAPTER 13: F PROBABILITY DISTRIBUTION

Discrete Probability Distribution

Data, Estimation and Inference

Geometric Distribution The characteristics of a geometric experiment are: 1. There are one or more Bernoulli trials with all failures except the last

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

Topic 3: The Expectation of a Random Variable

Each trial has only two possible outcomes success and failure. The possible outcomes are exactly the same for each trial.

Chapter 4a Probability Models

Continuous Improvement Toolkit. Probability Distributions. Continuous Improvement Toolkit.

Applied Statistics I

4. Discrete Probability Distributions. Introduction & Binomial Distribution

Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] P[AB] = P(AB)

3.4. The Binomial Probability Distribution

Discrete random variables and probability distributions

ALL TEXTS BELONG TO OWNERS. Candidate code: glt090 TAKEN FROM

Chapter 5. Means and Variances

MTH4451Test#2-Solutions Spring 2009

Things to remember when learning probability distributions:

Topic 3: The Expectation of a Random Variable

Continuous-Valued Probability Review

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Moment functions. x r p X (x) (1) E[X r ] = x r f X (x) dx (2) (x E[X]) r p X (x) (3)

Probability and Statistics for Engineers

ECO220Y Continuous Probability Distributions: Uniform and Triangle Readings: Chapter 9, sections

MgtOp 215 Chapter 5 Dr. Ahn

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p).

II. The Binomial Distribution

UNIT 4 MATHEMATICAL METHODS SAMPLE REFERENCE MATERIALS

Discrete Distributions

Discrete Probability Distributions

BNAD 276 Lecture 5 Discrete Probability Distributions Exercises 1 11

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Introduction to Statistics. By: Ewa Paszek

CS 1538: Introduction to Simulation Homework 1

Probability Distribution

Stats for Engineers: Lecture 4

Dennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa

Discrete Random Variables (cont.) Discrete Distributions the Geometric pmf

Plotting data is one method for selecting a probability distribution. The following

Lecture 2 Binomial and Poisson Probability Distributions

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

Chapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations

Guidelines for Solving Probability Problems

Fault-Tolerant Computer System Design ECE 60872/CS 590. Topic 2: Discrete Distributions

Counting principles, including permutations and combinations.

Bernoulli Trials, Binomial and Cumulative Distributions

Probability (10A) Young Won Lim 6/12/17

Lecture 2: Discrete Probability Distributions

Stat 2300 International, Fall 2006 Sample Midterm. Friday, October 20, Your Name: A Number:

Math 2311 Test 1 Review. 1. State whether each situation is categorical or quantitative. If quantitative, state whether it s discrete or continuous.

Discrete Random Variables

Chapter 7: Theoretical Probability Distributions Variable - Measured/Categorized characteristic

Stochastic Processes - lesson 2

Transcription:

Inferential Statistics and Probability a Holistic Approach Chapter 5 Discrete Random Variables This Course Material by Maurice Geraghty is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Conditions for use are shown here: https://creativecommons.org/licenses/by-sa/4.0/ 1 Random Variable The value of the variable depends on an experiment, observation or measurement. The result is not known in advance. For the purposes of this class, the variable will be numeric. 2 Random Variables Discrete Data that you Count Defects on an assembly line Reported Sick days RM 7.0 earthquakes on San Andreas Fault Continuous Data that you Measure Temperature Height Time 3 Maurice Geraghty 2018 1

Discrete Random Variable List Sample Space Assign probabilities P(x) to each event x Use relative frequencies Must follow two rules P(x) 0 ΣP(x) = 1 P(x) is called a Probability Distribution Function or pdf for short. 4 Probability Distribution Example Students are asked 4 questions and the number of correct answers are determined. Assign probabilities to each event. x P(x) 0.1 1.1 2.2 3.4 4 5 Probability Distribution Example Students are asked 4 questions and the number of correct answers are determined. Assign probabilities to each event. x P(x) 0.1 1.1 2.2 3.4 4.2 6 Maurice Geraghty 2018 2

Mean and Variance of Discrete Random Variables Population mean μ, is the expected value of x μ = Σ[ (x) P(x) ] Population variance σ 2, is the expected value of (x-μ) 2 σ 2 = Σ[ (x-μ) 2 P(x) ] 7 Example of Mean and Variance x P(x) xp(x) (x-μ) 2 P(x) 0 0.1 0.0.625 1 01 0.1 01 0.1.225 2 0.2 0.4.050 3 0.4 1.2.100 4 0.2 0.8.450 Total 1.0 2.5=μ 1.450=σ 2 8 Bernoulli Distribution Experiment is one trial 2 possible outcomes (Success,Failure) p=probability probability of success q=probability of failure X=number of successes (1 or 0) Also known as Indicator Variable 9 Maurice Geraghty 2018 3

Mean and Variance of Bernoulli x P(x) xp(x) (x-μ) 2 P(x) 0 (1-p) 0.0 p 2 (1-p) 1 p p p(1-p) p) 2 Total 1.0 p=μ p(1-p)=σ 2 μ = p σ 2 = p(1-p) = pq 10 Binomial Distribution n identical trials Two possible outcomes (success/failure) Probability of success in a single trial is p Trials are mutually independent X is the number of successes Note: X is a sum of n independent identically distributed Bernoulli distributions 11 Binomial Distribution n independent Bernoulli trials Mean and Variance of Binomial Distribution is just sample size times mean and variance of Bernoulli Distribution p( x) = C n x x n p (1 p) x μ = E( X ) = np 2 σ = Var( X ) = np(1 p) 12 Maurice Geraghty 2018 4

Binomial Examples The number of defective parts in a fixed sample. The number of adults in a sample who support the war in Iraq. The number of correct answers if you guess on a multiple choice test. 13 Binomial Example 90% of super duplex globe valves manufactured are good (not defective). A sample of 10 is selected. Find the probability of exactly 8 good valves being chosen. Find the probability of 9 or more good valves being chosen. Find the probability of 8 or less good valves being chosen. 14 Using Technology Use Minitab or Excel to make a table of Binomial Probabilities. P(X=8) =.19371 P(X 8) =.26390 P(X 9) = 1 - P(X 8) =.73610 15 Maurice Geraghty 2018 5

Poisson Distribution Occurrences per time period (rate) Rate (μ) is constant No limit on occurrences over time period μ x μ = μ e μ P ( x ) = σ = μ x! 16 Examples of Poisson Text messages in the next hour Earthquakes on a fault Customers at a restaurant Flaws in sheet metal produced Lotto winners Note: A binomial distribution with a large n and small p is approximately Poisson with μ np. 17 Poisson Example Earthquakes of Richter magnitude 3 or greater occur on a certain fault at a rate of twice every year. Find the probability of at least one earthquake of RM 3 or greater in the next year. P( X > 0) = 1 P(0) 2 0 e 2 = 1 0! 2 = 1 e.8647 18 Maurice Geraghty 2018 6

Poisson Example (cont) Earthquakes of Richter magnitude 3 or greater occur on a certain fault at a rate of twice every year. Find the probability of exactly 6 earthquakes of RM 3 or greater in the next 2 years. μ = 2(2) = 4 4 e 4 P( X = 6) = 6! 6.1042 19 Maurice Geraghty 2018 7