04 Discrete Probability

# 04 Discrete Probability - Discrete Probability...

This preview shows pages 1–13. Sign up to view the full content.

Discrete Probability Distributions Devore and Berk Chapter 3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
What is a random variable? { Used to help characterize the probability of events { Defined as a function that maps sample space to real numbers z And we can do mathematics on real numbers! { Can be discrete or continuous { Often represented by uppercase letters, so X random, x realized
Example { X = Gender of a randomly selected student from the class z Can be either Male or Female, so the sample space is the set {Male, Female} z An event: Female { So, we select a student, and it is a Male, then x=Male

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Types of Random Variables { Discrete z Result from a single coin toss z Number of heads from 12 coin tosses z Sum of points from a throw of two dice z Number of individuals in a fish population { Continuous z Length of a lifetime z Distance between trees
Probability Distribution { A probability distribution describes how probability is distributed among possible values { Fair coin: P(X=H)=1/2,P(X=T)=1/2 z Flip coin, realization: x=H { Die, one toss, P(X=4)=1/6 z Toss die, realization: x=3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
123456 0.0 0.05 0.10 0.15 Theoretical Distribution 0 50 100 150 x.bar Realized Empircal Distribution
Script to explore probability of a single role of a die par(mfrow=c(2,1)) barplot(c(1/6,1/6,1/6,1/6,1/6,1/6),names=c(1,2,3,4,5,6),cex=1.2) title("Theoretical Distribution") x = runif(1000) x.bars = cut(x,breaks=c(0,1/6,2/6,3/6,4/6,5/6,6/6)) hist(as.character(x.bars),names=c(1,2,3,4,5,6),xlab="x.bar",cex=1.2) title("Realized Empircal Distribution") par(mfrow=c(1,1))

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Cumulative Probability Distribution = = x y y y p x X P x F : ) ( ) ( ) (
Number of Points on a Die Cumulative Probability 0246 0.0 0.2 0.4 0.6 0.8 1.0 Cumulative Probability, P(X<x)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Expected Value = = D x x p x X E ) ( ) ( μ
Expected Value from a Single Throw of a Die 5 . 3 6 6 1 5 6 1 4 6 1 3 6 1 2 6 1 1 6 1 = + + + + + = μ

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Expected Value of a Function = D x x p x h X h E ) ( ) ( )) ( (
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 11/12/2009 for the course BTRY 3010 at Cornell.

### Page1 / 34

04 Discrete Probability - Discrete Probability...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online