Statistical Methods for NLP LT 2202

Size: px
Start display at page:

Download "Statistical Methods for NLP LT 2202"

Transcription

1 LT 2202 Lecture 3 Random variables January 26, 2012

2 Recap of lecture 2 Basic laws of probability: 0 P(A) 1 for every event A. P(Ω) = 1 P(A B) = P(A) + P(B) if A and B disjoint Conditional probability: P(A B) = P(A B)/P(B) Bayes: P(B A) = P(A B)P(B)/P(A) Independence if P(A B) = P(A) P(B)

3 Today s lecture Random variables Probability distributions Expectations and variances The zoo of probability distributions

4 Random variables, informally A variable that takes different values with different probabilities The amount I win when buying a lottery ticket The number of heads when throwing coins n times The gender of a newborn baby The number of words in a random English sentence The initial word in a random English sentence

5 Random variables, informally The outcomes: If I win, I ll get 1,000,000 SEK Otherwise, I get nothing P(nothing) = P(1,000,000 SEK) = P(something else) = 0

6 Throwing a coin twice The number of heads when throwing a coin twice The outcomes: (H,H), (H,T), (T,H), (T,T) P(none) = 1/4 P(one) = 2/4 P(two) = 1/4

7 Random variables, formally Definition: A random variable is a function from the sample space Ω to some set of values Also stochastic variable (στοχαστικός) Example: the number of heads

8 Describing a random variable When discussing a random variable, we need to describe which values it takes and with which probabilities: the distribution

9 The probability mass function For all values x that a random variable X may take, we define the function p X (x) = P(X takes the value x) This is called the probability mass function (pmf) of X

10 Coins again X = the number of heads when throwing a coin twice p X (0) = P(X = 0) = 1/4 p X (1) = P(X = 1) = 2/4 p X (2) = P(X = 2) = 1/4

11 Exams X = the number of times I have to go to the exam p X (1) = P(X = 1) = 0.6 p X (2) = P(X = 2) = 0.4 * p X (k) = P(X = k) = 0.4 k-1 * 0.6

12 Independent random variables We saw independent events previously We may introduce a similar concept for random variables: X and Y are independent random variables if P(X = x, Y = y) = P(X = x) P(Y = y) = p X (x) p Y (y) for all possible values x, y of X and Y.

13 Expectations: averages We are rolling a die repeatedly. What will be the average result? We are throwing a coin. If heads, we pay $10, if tails, we get $5. What is the average gain?

14 Expectations: averages We are throwing a coin. If heads, we pay $10, if tails, we get $5. What is the average gain? P($5) = 0.5 P(-$10) = * $ * -$10

15 The expected value If X is a random variable taking numeric values, then Ε[ = k X ] p ( k) X is called the expected value, mean value, or expectation of X. k

16 Dice rolling X is the result of a die roll: Ε[ X ] = k p ( ) = X k k = = 6 6 k k 3.5

17 Coins again X = the number of heads when throwing a coin twice p X (0) = P(X = 0) = 1/4 p X (1) = P(X = 1) = 2/4 p X (2) = P(X = 2) = 1/ Ε[ X ] = k p ( k X ) = = k 1

18 Interpretation

19 Some interesting facts about expectations The expectation is linear: Ε [ ax + b ] = a Ε [ X ] + b We can sum expectations directly: Ε[ X + Y ] = Ε[ X ] + Ε[ Y ]

20 Expectations of functions If Y is a function of X, e.g. Y = g(x), then = g( k) Ε [ Y ] p ( k) X k

21 Example X = the result of a die roll Y = Amount won or lost depending on X: 1: Lose $20 2: Lose $5 3: Nothing 4: Win $1 5: Win $2 6: Win $20

22 Example = g( k) Ε[ Y ] p X ( k) k Ε[ Y ] = g(1) px (1) g(6) px (6) Ε[ Y ] = =

23 Variance If m = E[X], then V ( X ) =Ε[( X m) 2 ] is called the variance of X, and D ( X ) = V ( X ) is called the standard deviation of X.

24 Example (standard deviation)

25 The zoo of probability distributions We ll exemplify a few. Try to remember the type cases! See table on course page Examples: Coin tossing with uneven coin: Bernoulli Die rolling: Uniform Counting errors/successes: Binomial Trying until success: Geometric Word frequencies: Zipf

26 The Bernoulli distribution Assume that we throw an unbalanced coin giving heads (1) with probability p and tails (0) with probability 1-p: p X ( 0) =1 p p X (1) = p

27 Properties of the Bernoulli distribution Expectation and variance (see exercise): Ε [X X ] = p V[ X ] = p(1 p)

28 The uniform distribution: die rolling 1 p X ( k) = n Ε[ X ] = n + 1 2

29 Counting: the binomial distribution The number of heads when throwing a coin (heads prob p) n times n=1: H, T n=2: (H,H), (H,T), (T,H), (T,T) n=3: (H,H,H), (H,H,T), (H,T,H), (H,T,T), (T,H,H), (T,H,T), (T,T,H), (T,T,T)

30 Counting: the binomial distribution The probability of getting k heads? n=3, k=1: (H,T,T), (T,H,T,), (T,T,H) Each of the outcomes has the probability k n k p (1 p) How many such outcomes: the number of ways to pick k items from a set of n

31 Picking k items out of n The number of ways to pick k items from a set of n is called the binomial coefficient: n n k = n!! k!( n k)!

32 The binomial distribution We get the pmf: p X ( k) n k k k n k = p (1 p) The expectation: (think about it!) Ε [ X ] = np

33 The geometric distribution Trying until success p X(1) = P(X = 1) = p p X (2) = P(X = 2) = (1-p) * p... p X (k) = P(X = k) = (1-p) k-1 * p Ε[ X ] = 1 p

34 The Zipf distribution For many phenomena in language, frequency tends to be approximately proportional to inverse frequency rank Assuming such a distribution, the probability of drawing the kth most common item is p X ( k) = C k (C is a normalizer so that the sum is 1.) Must assume finite vocabulary!

35 Example: the Codex Argenteus Corpus size about 60,000 words How many hapax legomena? About 9% Zipf with voc. size 25,000 would give us around 10% 50,000: 15%

36 Continuous distributions So far, our random values have taken discrete values (1, 2, 3,... or a, b,...) We may also define random variables that take continuous values This requires slightly different machinery

37 Probability density function For a continuous random variable X, we don t use a pmf Instead we use a probability density function (pdf) f X (x) such that P ( a < X b) = f X ( x) b x= a (Note that f X (x) is not a probability by itself!)

38 Expectations and such The expectation (and most other stuff as well) becomes similar we just need to replace sums with integrals: Discrete: Continuous: = k Ε [ X ] p ( k) X k Ε [ X ] = x f ( x) dx x X

39 The normal distribution (Gaussian) The normal distribution has the following pdf f X ( x m) σ ( x) = e σ 2π 2 Ε [ X ] = m V[ X ] = σ 2

40 Some nice facts about the normal distribution The normal distribution is very common in statistics because Often seen in nature (height, test scores,...) Has nice mathematical properties Scale, translation, sum invariant Central limit theorem: if we sum (or average) a large number of i.i.d. variables, the sum is approximately normal

41 Central limit theorem

42 Normal approximation of binomial For large values of n, the binomial distribution can be approximated with a normal: (why???)

43 Recap Random variables: Variables taking values with some probability Probability distributions Probability mass function Expectations (means) and variances Distributions... Try to remember the type cases See table on course page

Probability mass function; cumulative distribution function

Probability mass function; cumulative distribution function PHP 2510 Random variables; some discrete distributions Random variables - what are they? Probability mass function; cumulative distribution function Some discrete random variable models: Bernoulli Binomial

More information

Probability Distributions for Discrete RV

Probability Distributions for Discrete RV Probability Distributions for Discrete RV Probability Distributions for Discrete RV Definition The probability distribution or probability mass function (pmf) of a discrete rv is defined for every number

More information

Binomial Random Variables. Binomial Random Variables

Binomial Random Variables. Binomial Random Variables Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as

More information

CHAPTER 10: Introducing Probability

CHAPTER 10: Introducing Probability CHAPTER 10: Introducing Probability The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner Lecture PowerPoint Slides Chapter 10 Concepts 2 The Idea of Probability Probability Models Probability

More information

The Binomial distribution

The Binomial distribution The Binomial distribution Examples and Definition Binomial Model (an experiment ) 1 A series of n independent trials is conducted. 2 Each trial results in a binary outcome (one is labeled success the other

More information

The binomial distribution

The binomial distribution The binomial distribution The coin toss - three coins The coin toss - four coins The binomial probability distribution Rolling dice Using the TI nspire Graph of binomial distribution Mean & standard deviation

More information

CHAPTER 6 Random Variables

CHAPTER 6 Random Variables CHAPTER 6 Random Variables 6.1 Discrete and Continuous Random Variables The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers Discrete and Continuous Random

More information

Random Variables. 6.1 Discrete and Continuous Random Variables. Probability Distribution. Discrete Random Variables. Chapter 6, Section 1

Random Variables. 6.1 Discrete and Continuous Random Variables. Probability Distribution. Discrete Random Variables. Chapter 6, Section 1 6.1 Discrete and Continuous Random Variables Random Variables A random variable, usually written as X, is a variable whose possible values are numerical outcomes of a random phenomenon. There are two types

More information

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal Econ 6900: Statistical Problems Instructor: Yogesh Uppal Email: yuppal@ysu.edu Lecture Slides 4 Random Variables Probability Distributions Discrete Distributions Discrete Uniform Probability Distribution

More information

Marquette University MATH 1700 Class 8 Copyright 2018 by D.B. Rowe

Marquette University MATH 1700 Class 8 Copyright 2018 by D.B. Rowe Class 8 Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science Copyright 208 by D.B. Rowe Agenda: Recap Chapter 4.3-4.5 Lecture Chapter 5. - 5.3 2 Recap Chapter 4.3-4.5 3 4:

More information

Chapter 6: Random Variables

Chapter 6: Random Variables Chapter 6: Random Variables Section 6.1 Discrete and Continuous Random Variables The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 6 Random Variables 6.1 Discrete and Continuous

More information

IEOR 165 Lecture 1 Probability Review

IEOR 165 Lecture 1 Probability Review IEOR 165 Lecture 1 Probability Review 1 Definitions in Probability and Their Consequences 1.1 Defining Probability A probability space (Ω, F, P) consists of three elements: A sample space Ω is the set

More information

Stochastic Calculus, Application of Real Analysis in Finance

Stochastic Calculus, Application of Real Analysis in Finance , Application of Real Analysis in Finance Workshop for Young Mathematicians in Korea Seungkyu Lee Pohang University of Science and Technology August 4th, 2010 Contents 1 BINOMIAL ASSET PRICING MODEL Contents

More information

ECON 214 Elements of Statistics for Economists 2016/2017

ECON 214 Elements of Statistics for Economists 2016/2017 ECON 214 Elements of Statistics for Economists 2016/2017 Topic Probability Distributions: Binomial and Poisson Distributions Lecturer: Dr. Bernardin Senadza, Dept. of Economics bsenadza@ug.edu.gh College

More information

Statistics for IT Managers

Statistics for IT Managers Statistics for IT Managers 95-796, Fall 212 Course Overview Instructor: Daniel B. Neill (neill@cs.cmu.edu) TAs: Eli (Han) Liu, Kats Sasanuma, Sriram Somanchi, Skyler Speakman, Quan Wang, Yiye Zhang (see

More information

+ Chapter 7. Random Variables. Chapter 7: Random Variables 2/26/2015. Transforming and Combining Random Variables

+ Chapter 7. Random Variables. Chapter 7: Random Variables 2/26/2015. Transforming and Combining Random Variables + Chapter 7: Random Variables Section 7.1 Discrete and Continuous Random Variables The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE + Chapter 7 Random Variables 7.1 7.2 7.2 Discrete

More information

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values. MA 5 Lecture 4 - Expected Values Wednesday, October 4, 27 Objectives: Introduce expected values.. Means, Variances, and Standard Deviations of Probability Distributions Two classes ago, we computed the

More information

Sec$on 6.1: Discrete and Con.nuous Random Variables. Tuesday, November 14 th, 2017

Sec$on 6.1: Discrete and Con.nuous Random Variables. Tuesday, November 14 th, 2017 Sec$on 6.1: Discrete and Con.nuous Random Variables Tuesday, November 14 th, 2017 Discrete and Continuous Random Variables Learning Objectives After this section, you should be able to: ü COMPUTE probabilities

More information

Stat 211 Week Five. The Binomial Distribution

Stat 211 Week Five. The Binomial Distribution Stat 211 Week Five The Binomial Distribution Last Week E x E x = x p(x) = n p σ x = x μ x 2 p(x) We will see this again soon!! Binomial Experiment We have an experiment with the following qualities : 1.

More information

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7 Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7 Lew Davidson (Dr.D.) Mallard Creek High School Lewis.Davidson@cms.k12.nc.us 704-786-0470 Probability & Sampling The Practice of Statistics

More information

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9 INF5830 015 FALL NATURAL LANGUAGE PROCESSING Jan Tore Lønning, Lecture 3, 1.9 Today: More statistics Binomial distribution Continuous random variables/distributions Normal distribution Sampling and sampling

More information

Math 14 Lecture Notes Ch Mean

Math 14 Lecture Notes Ch Mean 4. Mean, Expected Value, and Standard Deviation Mean Recall the formula from section. for find the population mean of a data set of elements µ = x 1 + x + x +!+ x = x i i=1 We can find the mean of the

More information

TOPIC: PROBABILITY DISTRIBUTIONS

TOPIC: PROBABILITY DISTRIBUTIONS TOPIC: PROBABILITY DISTRIBUTIONS There are two types of random variables: A Discrete random variable can take on only specified, distinct values. A Continuous random variable can take on any value within

More information

Part V - Chance Variability

Part V - Chance Variability Part V - Chance Variability Dr. Joseph Brennan Math 148, BU Dr. Joseph Brennan (Math 148, BU) Part V - Chance Variability 1 / 78 Law of Averages In Chapter 13 we discussed the Kerrich coin-tossing experiment.

More information

Chapter 8 Solutions Page 1 of 15 CHAPTER 8 EXERCISE SOLUTIONS

Chapter 8 Solutions Page 1 of 15 CHAPTER 8 EXERCISE SOLUTIONS Chapter 8 Solutions Page of 5 8. a. Continuous. b. Discrete. c. Continuous. d. Discrete. e. Discrete. 8. a. Discrete. b. Continuous. c. Discrete. d. Discrete. CHAPTER 8 EXERCISE SOLUTIONS 8.3 a. 3/6 =

More information

HUDM4122 Probability and Statistical Inference. February 23, 2015

HUDM4122 Probability and Statistical Inference. February 23, 2015 HUDM4122 Probability and Statistical Inference February 23, 2015 In the last class We studied Bayes Theorem and the Law of Total Probability Any questions or comments? Today Chapter 4.8 in Mendenhall,

More information

Chapter 5 Basic Probability

Chapter 5 Basic Probability Chapter 5 Basic Probability Probability is determining the probability that a particular event will occur. Probability of occurrence = / T where = the number of ways in which a particular event occurs

More information

5.2 Random Variables, Probability Histograms and Probability Distributions

5.2 Random Variables, Probability Histograms and Probability Distributions Chapter 5 5.2 Random Variables, Probability Histograms and Probability Distributions A random variable (r.v.) can be either continuous or discrete. It takes on the possible values of an experiment. It

More information

A useful modeling tricks.

A useful modeling tricks. .7 Joint models for more than two outcomes We saw that we could write joint models for a pair of variables by specifying the joint probabilities over all pairs of outcomes. In principal, we could do this

More information

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations II - Probability Counting Techniques three rules of counting 1multiplication rules 2permutations 3combinations Section 2 - Probability (1) II - Probability Counting Techniques 1multiplication rules In

More information

Random Variables Handout. Xavier Vilà

Random Variables Handout. Xavier Vilà Random Variables Handout Xavier Vilà Course 2004-2005 1 Discrete Random Variables. 1.1 Introduction 1.1.1 Definition of Random Variable A random variable X is a function that maps each possible outcome

More information

Conditional Probability. Expected Value.

Conditional Probability. Expected Value. Conditional Probability. Expected Value. CSE21 Winter 2017, Day 22 (B00), Day 14-15 (A00) March 8, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Random Variables A random variable assigns a real number

More information

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Distribution Distribute in anyway but normal

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Distribution Distribute in anyway but normal Distribution Distribute in anyway but normal VI. DISTRIBUTION A probability distribution is a mathematical function that provides the probabilities of occurrence of all distinct outcomes in the sample

More information

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom Review for Final Exam 18.05 Spring 2014 Jeremy Orloff and Jonathan Bloom THANK YOU!!!! JON!! PETER!! RUTHI!! ERIKA!! ALL OF YOU!!!! Probability Counting Sets Inclusion-exclusion principle Rule of product

More information

Chapter 4. Section 4.1 Objectives. Random Variables. Random Variables. Chapter 4: Probability Distributions

Chapter 4. Section 4.1 Objectives. Random Variables. Random Variables. Chapter 4: Probability Distributions Chapter 4: Probability s 4. Probability s 4. Binomial s Section 4. Objectives Distinguish between discrete random variables and continuous random variables Construct a discrete probability distribution

More information

Central Limit Theorem, Joint Distributions Spring 2018

Central Limit Theorem, Joint Distributions Spring 2018 Central Limit Theorem, Joint Distributions 18.5 Spring 218.5.4.3.2.1-4 -3-2 -1 1 2 3 4 Exam next Wednesday Exam 1 on Wednesday March 7, regular room and time. Designed for 1 hour. You will have the full

More information

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes MDM 4U Probability Review Properties of Probability Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes Theoretical

More information

Probability Distributions

Probability Distributions Chapter 6 Discrete Probability Distributions Section 6-2 Probability Distributions Definitions Let S be the sample space of a probability experiment. A random variable X is a function from the set S into

More information

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9 1 INF5830 2015 FALL NATURAL LANGUAGE PROCESSING Jan Tore Lønning, Lecture 3, 1.9 Today: More statistics 2 Recap Probability distributions Categorical distributions Bernoulli trial Binomial distribution

More information

Binomial population distribution X ~ B(

Binomial population distribution X ~ B( Chapter 9 Binomial population distribution 9.1 Definition of a Binomial distributio If the random variable has a Binomial population distributio i.e., then its probability function is given by p n n (

More information

MATH 118 Class Notes For Chapter 5 By: Maan Omran

MATH 118 Class Notes For Chapter 5 By: Maan Omran MATH 118 Class Notes For Chapter 5 By: Maan Omran Section 5.1 Central Tendency Mode: the number or numbers that occur most often. Median: the number at the midpoint of a ranked data. Ex1: The test scores

More information

Statistics for Business and Economics: Random Variables (1)

Statistics for Business and Economics: Random Variables (1) Statistics for Business and Economics: Random Variables (1) STT 315: Section 201 Instructor: Abdhi Sarkar Acknowledgement: I d like to thank Dr. Ashoke Sinha for allowing me to use and edit the slides.

More information

The normal distribution is a theoretical model derived mathematically and not empirically.

The normal distribution is a theoretical model derived mathematically and not empirically. Sociology 541 The Normal Distribution Probability and An Introduction to Inferential Statistics Normal Approximation The normal distribution is a theoretical model derived mathematically and not empirically.

More information

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going? 1 The Law of Averages The Expected Value & The Standard Error Where Are We Going? Sums of random numbers The law of averages Box models for generating random numbers Sums of draws: the Expected Value Standard

More information

Mean, Median and Mode. Lecture 2 - Introduction to Probability. Where do they come from? We start with a set of 21 numbers, Statistics 102

Mean, Median and Mode. Lecture 2 - Introduction to Probability. Where do they come from? We start with a set of 21 numbers, Statistics 102 Mean, Median and Mode Lecture 2 - Statistics 102 Colin Rundel January 15, 2013 We start with a set of 21 numbers, ## [1] -2.2-1.6-1.0-0.5-0.4-0.3-0.2 0.1 0.1 0.2 0.4 ## [12] 0.4 0.5 0.6 0.7 0.7 0.9 1.2

More information

Probability is the tool used for anticipating what the distribution of data should look like under a given model.

Probability is the tool used for anticipating what the distribution of data should look like under a given model. AP Statistics NAME: Exam Review: Strand 3: Anticipating Patterns Date: Block: III. Anticipating Patterns: Exploring random phenomena using probability and simulation (20%-30%) Probability is the tool used

More information

FE 5204 Stochastic Differential Equations

FE 5204 Stochastic Differential Equations Instructor: Jim Zhu e-mail:zhu@wmich.edu http://homepages.wmich.edu/ zhu/ January 13, 2009 Stochastic differential equations deal with continuous random processes. They are idealization of discrete stochastic

More information

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI Opening Exercise: Example #: (a) Use a tree diagram to answer the following: You throwing a bent coin 3 times where P(H) = / (b) THUS, find the probability

More information

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI 08-0- Lesson 9 - Binomial Distributions IBHL - SANTOWSKI Opening Exercise: Example #: (a) Use a tree diagram to answer the following: You throwing a bent coin times where P(H) = / (b) THUS, find the probability

More information

Theoretical Foundations

Theoretical Foundations Theoretical Foundations Probabilities Monia Ranalli monia.ranalli@uniroma2.it Ranalli M. Theoretical Foundations - Probabilities 1 / 27 Objectives understand the probability basics quantify random phenomena

More information

Chapter 7. Random Variables

Chapter 7. Random Variables Chapter 7 Random Variables Making quantifiable meaning out of categorical data Toss three coins. What does the sample space consist of? HHH, HHT, HTH, HTT, TTT, TTH, THT, THH In statistics, we are most

More information

Random Variables and Probability Functions

Random Variables and Probability Functions University of Central Arkansas Random Variables and Probability Functions Directory Table of Contents. Begin Article. Stephen R. Addison Copyright c 001 saddison@mailaps.org Last Revision Date: February

More information

STOR Lecture 7. Random Variables - I

STOR Lecture 7. Random Variables - I STOR 435.001 Lecture 7 Random Variables - I Shankar Bhamidi UNC Chapel Hill 1 / 31 Example 1a: Suppose that our experiment consists of tossing 3 fair coins. Let Y denote the number of heads that appear.

More information

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016 Probability Theory Probability and Statistics for Data Science CSE594 - Spring 2016 What is Probability? 2 What is Probability? Examples outcome of flipping a coin (seminal example) amount of snowfall

More information

Probability Distributions: Discrete

Probability Distributions: Discrete Probability Distributions: Discrete INFO-2301: Quantitative Reasoning 2 Michael Paul and Jordan Boyd-Graber FEBRUARY 19, 2017 INFO-2301: Quantitative Reasoning 2 Paul and Boyd-Graber Probability Distributions:

More information

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations. Chapter 8 Notes Binomial and Geometric Distribution Often times we are interested in an event that has only two outcomes. For example, we may wish to know the outcome of a free throw shot (good or missed),

More information

4 Random Variables and Distributions

4 Random Variables and Distributions 4 Random Variables and Distributions Random variables A random variable assigns each outcome in a sample space. e.g. called a realization of that variable to Note: We ll usually denote a random variable

More information

HHH HHT HTH THH HTT THT TTH TTT

HHH HHT HTH THH HTT THT TTH TTT AP Statistics Name Unit 04 Probability Period Day 05 Notes Discrete & Continuous Random Variables Random Variable: Probability Distribution: Example: A probability model describes the possible outcomes

More information

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION 12. THE BINOMIAL DISTRIBUTION Eg: The top line on county ballots is supposed to be assigned by random drawing to either the Republican or Democratic candidate. The clerk of the county is supposed to make

More information

12. THE BINOMIAL DISTRIBUTION

12. THE BINOMIAL DISTRIBUTION 12. THE BINOMIAL DISTRIBUTION Eg: The top line on county ballots is supposed to be assigned by random drawing to either the Republican or Democratic candidate. The clerk of the county is supposed to make

More information

6.1 Discrete and Continuous Random Variables. 6.1A Discrete random Variables, Mean (Expected Value) of a Discrete Random Variable

6.1 Discrete and Continuous Random Variables. 6.1A Discrete random Variables, Mean (Expected Value) of a Discrete Random Variable 6.1 Discrete and Continuous Random Variables 6.1A Discrete random Variables, Mean (Expected Value) of a Discrete Random Variable Random variable Takes numerical values that describe the outcomes of some

More information

Section Distributions of Random Variables

Section Distributions of Random Variables Section 8.1 - Distributions of Random Variables Definition: A random variable is a rule that assigns a number to each outcome of an experiment. Example 1: Suppose we toss a coin three times. Then we could

More information

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models STA 6166 Fall 2007 Web-based Course 1 Notes 10: Probability Models We first saw the normal model as a useful model for the distribution of some quantitative variables. We ve also seen that if we make a

More information

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41 STA258H5 Al Nosedal and Alison Weir Winter 2017 Al Nosedal and Alison Weir STA258H5 Winter 2017 1 / 41 NORMAL APPROXIMATION TO THE BINOMIAL DISTRIBUTION. Al Nosedal and Alison Weir STA258H5 Winter 2017

More information

Business Statistics 41000: Probability 4

Business Statistics 41000: Probability 4 Business Statistics 41000: Probability 4 Drew D. Creal University of Chicago, Booth School of Business February 14 and 15, 2014 1 Class information Drew D. Creal Email: dcreal@chicagobooth.edu Office:

More information

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8) 3 Discrete Random Variables and Probability Distributions Stat 4570/5570 Based on Devore s book (Ed 8) Random Variables We can associate each single outcome of an experiment with a real number: We refer

More information

STAT Chapter 7: Central Limit Theorem

STAT Chapter 7: Central Limit Theorem STAT 251 - Chapter 7: Central Limit Theorem In this chapter we will introduce the most important theorem in statistics; the central limit theorem. What have we seen so far? First, we saw that for an i.i.d

More information

The Elements of Probability and Statistics

The Elements of Probability and Statistics The Elements of Probability and Statistics E. Bruce Pitman The University at Buffalo CCR Workshop June 27, 2017 Basic Premise of Statistics One can group statistical ideas into a few groupings Aggregation

More information

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables Chapter : Random Variables Ch. -3: Binomial and Geometric Random Variables X 0 2 3 4 5 7 8 9 0 0 P(X) 3???????? 4 4 When the same chance process is repeated several times, we are often interested in whether

More information

Stochastic Processes and Financial Mathematics (part one) Dr Nic Freeman

Stochastic Processes and Financial Mathematics (part one) Dr Nic Freeman Stochastic Processes and Financial Mathematics (part one) Dr Nic Freeman December 15, 2017 Contents 0 Introduction 3 0.1 Syllabus......................................... 4 0.2 Problem sheets.....................................

More information

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise. Math 224 Q Exam 3A Fall 217 Tues Dec 12 Version A Problem 1. Let X be the continuous random variable defined by the following pdf: { 1 x/2 when x 2, f(x) otherwise. (a) Compute the mean µ E[X]. E[X] x

More information

Probability and Random Variables A FINANCIAL TIMES COMPANY

Probability and Random Variables A FINANCIAL TIMES COMPANY Probability Basics Probability and Random Variables A FINANCIAL TIMES COMPANY 2 Probability Probability of union P[A [ B] =P[A]+P[B] P[A \ B] Conditional Probability A B P[A B] = Bayes Theorem P[A \ B]

More information

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why? Probability Introduction Shifting our focus We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why? What is Probability? Probability is used

More information

Statistics for Managers Using Microsoft Excel 7 th Edition

Statistics for Managers Using Microsoft Excel 7 th Edition Statistics for Managers Using Microsoft Excel 7 th Edition Chapter 5 Discrete Probability Distributions Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 5-1 Learning

More information

5.4 Normal Approximation of the Binomial Distribution

5.4 Normal Approximation of the Binomial Distribution 5.4 Normal Approximation of the Binomial Distribution Bernoulli Trials have 3 properties: 1. Only two outcomes - PASS or FAIL 2. n identical trials Review from yesterday. 3. Trials are independent - probability

More information

INTRODUCTION TO MATHEMATICAL MODELLING LECTURES 3-4: BASIC PROBABILITY THEORY

INTRODUCTION TO MATHEMATICAL MODELLING LECTURES 3-4: BASIC PROBABILITY THEORY 9 January 2004 revised 18 January 2004 INTRODUCTION TO MATHEMATICAL MODELLING LECTURES 3-4: BASIC PROBABILITY THEORY Project in Geometry and Physics, Department of Mathematics University of California/San

More information

Some Discrete Distribution Families

Some Discrete Distribution Families Some Discrete Distribution Families ST 370 Many families of discrete distributions have been studied; we shall discuss the ones that are most commonly found in applications. In each family, we need a formula

More information

Lecture Data Science

Lecture Data Science Web Science & Technologies University of Koblenz Landau, Germany Lecture Data Science Statistics Foundations JProf. Dr. Claudia Wagner Learning Goals How to describe sample data? What is mode/median/mean?

More information

Probability: Week 4. Kwonsang Lee. University of Pennsylvania February 13, 2015

Probability: Week 4. Kwonsang Lee. University of Pennsylvania February 13, 2015 Probability: Week 4 Kwonsang Lee University of Pennsylvania kwonlee@wharton.upenn.edu February 13, 2015 Kwonsang Lee STAT111 February 13, 2015 1 / 21 Probability Sample space S: the set of all possible

More information

Lecture 6 Probability

Lecture 6 Probability Faculty of Medicine Epidemiology and Biostatistics الوبائيات واإلحصاء الحيوي (31505204) Lecture 6 Probability By Hatim Jaber MD MPH JBCM PhD 3+4-7-2018 1 Presentation outline 3+4-7-2018 Time Introduction-

More information

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5 Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5 Steve Dunbar Due Fri, October 9, 7. Calculate the m.g.f. of the random variable with uniform distribution on [, ] and then

More information

2017 Fall QMS102 Tip Sheet 2

2017 Fall QMS102 Tip Sheet 2 Chapter 5: Basic Probability 2017 Fall QMS102 Tip Sheet 2 (Covering Chapters 5 to 8) EVENTS -- Each possible outcome of a variable is an event, including 3 types. 1. Simple event = Described by a single

More information

Review of the Topics for Midterm I

Review of the Topics for Midterm I Review of the Topics for Midterm I STA 100 Lecture 9 I. Introduction The objective of statistics is to make inferences about a population based on information contained in a sample. A population is the

More information

2011 Pearson Education, Inc

2011 Pearson Education, Inc Statistics for Business and Economics Chapter 4 Random Variables & Probability Distributions Content 1. Two Types of Random Variables 2. Probability Distributions for Discrete Random Variables 3. The Binomial

More information

5. In fact, any function of a random variable is also a random variable

5. In fact, any function of a random variable is also a random variable Random Variables - Class 11 October 14, 2012 Debdeep Pati 1 Random variables 1.1 Expectation of a function of a random variable 1. Expectation of a function of a random variable 2. We know E(X) = x xp(x)

More information

Central Limit Theorem (cont d) 7/28/2006

Central Limit Theorem (cont d) 7/28/2006 Central Limit Theorem (cont d) 7/28/2006 Central Limit Theorem for Binomial Distributions Theorem. For the binomial distribution b(n, p, j) we have lim npq b(n, p, np + x npq ) = φ(x), n where φ(x) is

More information

Prof. Thistleton MAT 505 Introduction to Probability Lecture 3

Prof. Thistleton MAT 505 Introduction to Probability Lecture 3 Sections from Text and MIT Video Lecture: Sections 2.1 through 2.5 http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-041-probabilistic-systemsanalysis-and-applied-probability-fall-2010/video-lectures/lecture-1-probability-models-and-axioms/

More information

Chapter 14. From Randomness to Probability. Copyright 2010 Pearson Education, Inc.

Chapter 14. From Randomness to Probability. Copyright 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability Copyright 2010 Pearson Education, Inc. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen, but we don

More information

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Chapter 3 - Lecture 5 The Binomial Probability Distribution Chapter 3 - Lecture 5 The Binomial Probability October 12th, 2009 Experiment Examples Moments and moment generating function of a Binomial Random Variable Outline Experiment Examples A binomial experiment

More information

Probability Models. Grab a copy of the notes on the table by the door

Probability Models. Grab a copy of the notes on the table by the door Grab a copy of the notes on the table by the door Bernoulli Trials Suppose a cereal manufacturer puts pictures of famous athletes in boxes of cereal, in the hope of increasing sales. The manufacturer announces

More information

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table: Chapter7 Probability Distributions and Statistics Distributions of Random Variables tthe value of the result of the probability experiment is a RANDOM VARIABLE. Example - Let X be the number of boys in

More information

Introduction to Probability and Inference HSSP Summer 2017, Instructor: Alexandra Ding July 19, 2017

Introduction to Probability and Inference HSSP Summer 2017, Instructor: Alexandra Ding July 19, 2017 Introduction to Probability and Inference HSSP Summer 2017, Instructor: Alexandra Ding July 19, 2017 Please fill out the attendance sheet! Suggestions Box: Feedback and suggestions are important to the

More information

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen 5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen Review From Yesterday Bernoulli Trials have 3 properties: 1. 2. 3. Binomial Probability Distribution In a binomial experiment with

More information

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x)

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x) N. Name: MATH: Mathematical Thinking Sec. 08 Spring 0 Worksheet 9: Solution Problem Compute the expected value of this probability distribution: x 3 8 0 3 P(x) 0. 0.0 0.3 0. Clearly, a value is missing

More information

Review. What is the probability of throwing two 6s in a row with a fair die? a) b) c) d) 0.333

Review. What is the probability of throwing two 6s in a row with a fair die? a) b) c) d) 0.333 Review In most card games cards are dealt without replacement. What is the probability of being dealt an ace and then a 3? Choose the closest answer. a) 0.0045 b) 0.0059 c) 0.0060 d) 0.1553 Review What

More information

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 3 Discrete Random Variables and Probability Distributions Chapter 3 Discrete Random Variables and Probability Distributions Part 3: Special Discrete Random Variable Distributions Section 3.5 Discrete Uniform Section 3.6 Bernoulli and Binomial Others sections

More information

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table: Chapter8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables tthe value of the result of the probability experiment is a RANDOM VARIABLE. Example - Let X be the number

More information

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. Random Variables 2 A random variable X is a numerical (integer, real, complex, vector etc.) summary of the outcome of the random experiment.

More information

Chapter 4 and 5 Note Guide: Probability Distributions

Chapter 4 and 5 Note Guide: Probability Distributions Chapter 4 and 5 Note Guide: Probability Distributions Probability Distributions for a Discrete Random Variable A discrete probability distribution function has two characteristics: Each probability is

More information

Keeping Your Options Open: An Introduction to Pricing Options

Keeping Your Options Open: An Introduction to Pricing Options The College of Wooster Libraries Open Works Senior Independent Study Theses 2014 Keeping Your Options Open: An Introduction to Pricing Options Ryan F. Snyder The College of Wooster, rsnyder14@wooster.edu

More information