HUDM4122 Probability and Statistical Inference. February 23, 2015

Similar documents
HUDM4122 Probability and Statistical Inference. March 4, 2015

5.2 Random Variables, Probability Histograms and Probability Distributions

Chapter 3: Probability Distributions and Statistics

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

Lecture 9. Probability Distributions. Outline. Outline

Lecture 9. Probability Distributions

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

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

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Statistical Methods for NLP LT 2202

Mean, Variance, and Expectation. Mean

AP Stats ~ Lesson 6B: Transforming and Combining Random variables

X P(X) (c) Express the event performing at least two tests in terms of X and find its probability.

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

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

Prof. Thistleton MAT 505 Introduction to Probability Lecture 3

Section Random Variables and Histograms

Central Limit Theorem

Theoretical Foundations

Every data set has an average and a standard deviation, given by the following formulas,

Statistical Methods in Practice STAT/MATH 3379

Chapter 4 Discrete Random variables

Chapter 7: Random Variables

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

AP Statistics Review Ch. 6

Discrete Random Variables

Discrete Random Variables

Value (x) probability Example A-2: Construct a histogram for population Ψ.

Chapter 4 Discrete Random variables

Math 166: Topics in Contemporary Mathematics II

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

Statistics, Their Distributions, and the Central Limit Theorem

Section Distributions of Random Variables

TOPIC: PROBABILITY DISTRIBUTIONS

5.1 Personal Probability

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

CHAPTER 6 Random Variables

AMS7: WEEK 4. CLASS 3

Chapter 6: Random Variables

EXERCISES FOR PRACTICE SESSION 2 OF STAT CAMP

Module 4: Probability

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

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

Section Distributions of Random Variables

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

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

2017 Fall QMS102 Tip Sheet 2

Midterm Exam III Review

6.1 Discrete & Continuous Random Variables. Nov 4 6:53 PM. Objectives

Introduction to Statistics I

MATH 446/546 Homework 1:

Lecture 6: Chapter 6

7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4

Chapter 7. Random Variables

Part 10: The Binomial Distribution

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

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

BIOL The Normal Distribution and the Central Limit Theorem

Chapter 5 Probability Distributions. Section 5-2 Random Variables. Random Variable Probability Distribution. Discrete and Continuous Random Variables

STAT 201 Chapter 6. Distribution

No, because np = 100(0.02) = 2. The value of np must be greater than or equal to 5 to use the normal approximation.

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

4.3 Normal distribution

Chapter 7. Random Variables: 7.1: Discrete and Continuous. Random Variables. 7.2: Means and Variances of. Random Variables

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

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

30 Wyner Statistics Fall 2013

Binomial Random Variables

Chapter 6: Random Variables

Sampling Distributions Chapter 18

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

= 0.35 (or ˆp = We have 20 independent trials, each with probability of success (heads) equal to 0.5, so X has a B(20, 0.5) distribution.

Review of the Topics for Midterm I

Chapter 8: The Binomial and Geometric Distributions

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

Statistics and Probability

Chapter 5. Sampling Distributions

What do you think "Binomial" involves?

Discrete Probability Distributions

Binomial Random Variable - The count X of successes in a binomial setting

MLLunsford 1. Activity: Central Limit Theorem Theory and Computations

Normal distribution. We say that a random variable X follows the normal distribution if the probability density function of X is given by

Chapter 8 Homework Solutions Compiled by Joe Kahlig. speed(x) freq 25 x < x < x < x < x < x < 55 5

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

But suppose we want to find a particular value for y, at which the probability is, say, 0.90? In other words, we want to figure out the following:

MATH 264 Problem Homework I

Section 7.4 Transforming and Combining Random Variables (DAY 1)

STA Module 3B Discrete Random Variables

STT315 Chapter 4 Random Variables & Probability Distributions AM KM

4.1 Probability Distributions

We use probability distributions to represent the distribution of a discrete random variable.

Section M Discrete Probability Distribution

Chapter 8. Variables. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.

Fall 2015 Math 141:505 Exam 3 Form A

Let X be the number that comes up on the next roll of the die.

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

STA Rev. F Learning Objectives. What is a Random Variable? Module 5 Discrete Random Variables

4 Random Variables and Distributions

Exam II Math 1342 Capters 3-5 HCCS. Name

Transcription:

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, Beaver, & Beaver Probability Distributions Random Variables

Random Variable A variable x is a random variable if the value that it assumes, corresponding to the outcome of an experiment, is a chance or random event. MBB, p.158 A random variable is a variable whose value is subject to variations due to chance. -- Wikipedia

Random Variable It is not that the variable can have any value at random But that the variable s value comes from random sampling

These are random variables A coin flip s result Number of times a randomly selected student is sent to the principal s office NY Regents Exam score for a randomly selected student in NY State Number of people on the subway at a randomly selected time

These are not random variables I flip a biased coin that gives 100% heads The temperature setting on your oven you set it yourself These values are not subject to chance

A random variable s value You can never say for sure what it s going to be There is a certainly probability that it will have certain values

Questions? Comments?

Reminder Discrete variable Can have limited number of values Continuous/numerical variable Can have infinite number of values

Which of these are Discrete Variables? Number of heads in 3 coin flips Sum of rolling two 6-sided dice Temperature outside How late is 2 train Height of a person, rounded to closest inch Number of times a randomly selected student is sent to the principal s office

Probability Distribution A probability distribution for random variable X gives the possible values of X, x 1 x n And the probability p(x i ) associated with each value of X

Probability Distribution A probability distribution for random variable X gives the possible values of X, x 1 x n And the probability p(x i ) associated with each value of X Each value of X is mutually exclusive The sum of p(x i ) adds to 1

Example I flip a coin twice The number of heads can be 0, 1, or 2 TT: 0 TH:1 HT:1 HH:2

Example I flip a coin twice The number of heads can be 0, 1, or 2 TT: 0 TH:1 HT:1 HH:2 x 0 1 2 P(x)

Example I flip a coin twice The number of heads can be 0, 1, or 2 TT: 0 TH:1 HT:1 HH:2 x P(x) 0 1/4 1 2/4 2 1/4

Example I flip a coin twice The number of heads can be 0, 1, or 2 TT: 0 TH:1 HT:1 HH:2 x P(x) 0 1/4 1 1/2 2 1/4

Example I flip a coin twice The number of heads can be 0, 1, or 2 TT: 0 TH:1 HT:1 HH:2 x P(x) 0 0.25 1 0.5 2 0.25

Probability Histogram x P(x) 0.6 0 0.25 1 0.5 2 0.25 p(x) 0.5 0.4 0.3 0.2 0.1 0 0 1 2 x

You try it I flip a coin three times What is the probability distribution on the number of heads?

You try it: What is the Probability Distribution? I collected the following data on the temperature in NYC Day Temp Day Temp 1 Cold 9 Cold 2 Cold 10 Cold 3 Freezing 11 Cold 4 Cold 12 Not That Bad 5 Cold 13 Cold 6 Freezing 14 F ing Freezing 7 F ing Freezing 15 F ing Freezing 8 Freezing 16 Cold

Note that probability distributions can have many values p(x) 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 x

Later in the semester We ll talk about probability distributions for continuous variables

Questions? Comments?

Expected Value of Probability Distribution The value you can expect to get on average if you re-run your experiment many times Take each value, multiply it by its probability Add those together E(x) = ( )

Expected Value of Probability Distribution The value you can expect to get on average if you re-run your experiment many times Take each value, multiply it by its probability Add those together E(x) = ( ) This is also called the mean of the random variable, µ

Example x P(x) 0 0.25 1 0.5 2 0.25 0(0.25) + 1(0.5) + 2(0.25)

Example x P(x) 0 0.25 1 0.5 2 0.25 0 + 0.5 + 0.5 = 1

You can expect 1 head on average if you flip a coin twice, infinite times x P(x) 0 0.25 1 0.5 2 0.25 0 + 0.5 + 0.5 = 1

You Try It x P(x) 0 0.1 1 0.5 2 0.2 3 0.2

You Try It x P(x) 0 0.1 1 0.5 2 0.2 3 0.2 0(0.1)+1(0.5)+2(0.2)+3(0.2)

You Try It x P(x) 0+0.5+0.4+0.6= 1.5 0 0.1 1 0.5 2 0.2 3 0.2

You Try It My dad s barber has played the lottery every day for 40 years (a.k.a. 14,600 times), at $1 a ticket One time he won $1000 What is the expected value for playing the lottery?

You Try It My dad s barber has played the lottery every day for 40 years (a.k.a. 14,600 times), at $1 a ticket One time he won $1000 What is the expected value for playing the lottery? (1/14600)(1000) + (14599/14600)(-1)

You Try It My dad s barber has played the lottery every day for 40 years (a.k.a. 14,600 times), at $1 a ticket One time he won $1000 What is the expected value for playing the lottery? (1/14600)(1000) + (14599/14600)(-1)= 0.068 0. 999 = $-0.931

Questions? Comments?

Variance of Discrete Random Variable ( )

Standard Deviation of Discrete Random Variable ( )

Example: SD of Random Variable x P(x) 0 0.25 1 0.5 2 0.25

Example: SD of Random Variable x P(x) Recall: µ = 1 0 0.25 1 0.5 2 0.25

Example: xsd of Random P(x) Variable 0 0.25 1 0.5 2 0.25 Recall: µ = 1 ( )

Example: xsd of Random P(x) Variable 0 0.25 1 0.5 2 0.25 Recall: µ = 1 0 1 (0.25) + 1 1.5 + 2 1.25

Example: xsd of Random P(x) Variable 0 0.25 1 0.5 2 0.25 Recall: µ = 1 1(0.25) + 0.5 +1.25

Example: xsd of Random P(x) Variable 0 0.25 1 0.5 2 0.25 Recall: µ = 1 0.25 + 0.25

Example: xsd of Random P(x) Variable 0 0.25 1 0.5 2 0.25 Recall: µ = 1 0.25 + 0.25 0.707

You Try It: SD of random variable x P(x) 0 0.1 1 0.5 2 0.2 3 0.2 µ = 1.5

Any last comments or questions for the day?

If there s time: Do this in solver-explainer pairs Practice with extended version of Bayes Rule ( ) = ( ) )

Example There are three professors who teach HUDM4122. Let s call them A, B, and C P(student is in prof A s class) = P(A) = 0.4 P(student is in prof B s class) = P(B) = 0.3 P(student is in prof C s class) = P(C) = 0.1

Example P(student is in prof A s class) = P(A) = 0.4 P(student is in prof B s class) = P(B) = 0.3 P(student is in prof C s class) = P(C) = 0.1 P(learned stats A)=0.8 P(learned stats B)=0.6 P(learned stats C)=0.4

What is P(A learned stats)? P(student is in prof A s class) = P(A) = 0.4 P(student is in prof B s class) = P(B) = 0.3 P(student is in prof C s class) = P(C) = 0.1 P(learned stats A)=0.8 P(learned stats B)=0.6 P(learned stats C)=0.4

Upcoming Classes 2/25 Binomial Probability Distribution Ch. 5-2 HW 4 due 2/28 Normal Probability Distribution

Homework 4 Due in 2 days In the ASSISTments system