Lecture 18. Uniform random variables

Similar documents
Lecture 10. Variance and standard deviation

18.440: Lecture 19 Normal random variables

Lecture 12. Poisson random variables

Lecture 9. Expectations of discrete random variables

18.440: Lecture 28 Lectures Review

18.440: Lecture 26 Conditional expectation

18.440: Lecture 28 Lectures Review

Lecture 14. More discrete random variables

18.175: Lecture 17 Poisson random variables

Lecture 7. Sums of random variables

18.440: Lecture 25 Covariance and some conditional expectation exercises

Lecture 16. Lectures 1-15 Review

18.175: Lecture 8 Weak laws and moment-generating/characteristic functions

Class 8 Review Problems solutions, 18.05, Spring 2014

2 Continuous Random Variables and their Distributions

p. 6-1 Continuous Random Variables p. 6-2

18.175: Lecture 13 Infinite divisibility and Lévy processes

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.041/6.431: Probabilistic Systems Analysis

6.041/6.431 Fall 2010 Quiz 2 Solutions

CIVL Continuous Distributions

18.175: Lecture 15 Characteristic functions and central limit theorem

ECE353: Probability and Random Processes. Lecture 7 -Continuous Random Variable

Expectation, Variance and Standard Deviation for Continuous Random Variables Class 6, Jeremy Orloff and Jonathan Bloom

Massachusetts Institute of Technology

18.600: Lecture 24 Covariance and some conditional expectation exercises

18.440: Lecture 33 Markov Chains

EXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS

Lecture 23. Random walks

Lecture 7. Bayes formula and independence

Experimental Design and Statistics - AGA47A

1 Expectation of a continuously distributed random variable

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

Expected Values, Exponential and Gamma Distributions

Exam 1 Practice Questions I solutions, 18.05, Spring 2014

STAT 414: Introduction to Probability Theory

Math 341: Probability Eighth Lecture (10/6/09)

Continuous Random Variables

Continuous Distributions

STAT 418: Probability and Stochastic Processes

Massachusetts Institute of Technology

STAT 516 Midterm Exam 3 Friday, April 18, 2008

There are two basic kinds of random variables continuous and discrete.

MIT Spring 2015

Class 8 Review Problems 18.05, Spring 2014

Class 26: review for final exam 18.05, Spring 2014

SDS 321: Introduction to Probability and Statistics

Chapter 4. Continuous Random Variables 4.1 PDF

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Final Solutions Fri, June 8

Deep Learning for Computer Vision

Expected Values, Exponential and Gamma Distributions

STAT Chapter 5 Continuous Distributions

STAT 3610: Review of Probability Distributions

Analysis of Engineering and Scientific Data. Semester

Exponential Distribution and Poisson Process

Conditional distributions (discrete case)

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 8 10/1/2008 CONTINUOUS RANDOM VARIABLES

Lecture 1: August 28

Week 9, 10/15/12-10/19/12, Notes: Continuous Distributions in General and the Uniform Distribution

Lecture 3 Continuous Random Variable

1.1 Review of Probability Theory

Lecture 8: Continuous random variables, expectation and variance

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

Continuous distributions

STAT 430/510: Lecture 16

14.30 Introduction to Statistical Methods in Economics Spring 2009

Algorithms for Uncertainty Quantification

3 Continuous Random Variables

18.175: Lecture 30 Markov chains

STAT/SOC/CSSS 221 Statistical Concepts and Methods for the Social Sciences. Random Variables

STAT 516 Midterm Exam 2 Friday, March 7, 2008

14.30 Introduction to Statistical Methods in Economics Spring 2009

Statistics 100A Homework 5 Solutions

STAT/MA 416 Answers Homework 6 November 15, 2007 Solutions by Mark Daniel Ward PROBLEMS

Closed book and notes. 120 minutes. Cover page, five pages of exam. No calculators.

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Continuous Random Variables

S2 QUESTIONS TAKEN FROM JANUARY 2006, JANUARY 2007, JANUARY 2008, JANUARY 2009

CSE 103 Homework 8: Solutions November 30, var(x) = np(1 p) = P r( X ) 0.95 P r( X ) 0.

Hypothesis Testing. Testing Hypotheses MIT Dr. Kempthorne. Spring MIT Testing Hypotheses

STAT 430/510 Probability Lecture 16, 17: Compute by Conditioning

Chapter 3: Random Variables 1

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

MA 250 Probability and Statistics. Nazar Khan PUCIT Lecture 15

STAT 430/510 Probability Lecture 12: Central Limit Theorem and Exponential Distribution

18.05 Exam 1. Table of normal probabilities: The last page of the exam contains a table of standard normal cdf values.

Chapter 2: Random Variables

Continuous Random Variables and Continuous Distributions

Lecture 2: Repetition of probability theory and statistics

Massachusetts Institute of Technology

Random Variables. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

6.207/14.15: Networks Lecture 12: Generalized Random Graphs

14.30 Introduction to Statistical Methods in Economics Spring 2009

BNAD 276 Lecture 5 Discrete Probability Distributions Exercises 1 11

Moments. Raw moment: February 25, 2014 Normalized / Standardized moment:

Two hours. Statistical Tables to be provided THE UNIVERSITY OF MANCHESTER. 14 January :45 11:45

Week 9 The Central Limit Theorem and Estimation Concepts

Brief Review of Probability

Math 493 Final Exam December 01

Transcription:

18.440: Lecture 18 Uniform random variables Scott Sheffield MIT 1

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 2

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 3

Recall continuous random variable definitions Say X is a continuous random variable if there exists a probability density function f = f X on R such that P{X B} = B f (x)dx := 1 B (x)f (x)dx. We may assume R f (x)dx = f (x)dx = 1 and f is non-negative. Probability of interval [a, b] is given by under f between a and b. Probability of any single point is zero. Define cumulative distribution function F (a) = F X (a) := P{X < a} = P{X a} = b a f (x)dx, the area a f (x)dx. 4

Uniform random variables on [0, 1] Suppose X is a random variable with probability density r 1 x [0, 1] function f (x) = 0 x [0, 1]. Then for any 0 a b 1 we have P{X [a, b]} = b a. Intuition: all locations along the interval [0, 1] equally likely. Say that X is a uniform random variable on [0, 1] or that X is sampled uniformly from [0, 1]. 5

Properties of uniform random variable on [0, 1] Suppose X is a random r variable with probability density 1 x [0, 1] function f (x) = 0 x [0, 1]. What is E [X ]? Guess 1/2 (since 1/2 is, you know, in the middle). 1 1 x Indeed, 2 f (x)xdx = 0 xdx = 2 = 1/2. 0 What would you guess the variance is? Expected square of distance from 1/2? It s obviously less than 1/4, but how much less? 1 1 x E [X 2 ] = f (x)x 2 dx = x 2 3 0 dx = 3 = 1/3. 0 So Var[X ] = E [X 2 ] (E[X ]) 2 = 1/3 1/4 = 1/12. 6

Properties of uniform random variable on [0, 1] Suppose X is a random r variable with probability density 1 x [0, 1] function f (x) = 0 x [0, 1]. What is the cumulative distribution function F X (a) = P{X < a}? 0 a < 0 F X (a) = a a [0, 1]. 1 a > 1 What is the general moment E [X k ] for k 0? 7

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 8

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 9

Uniform random variables on [α, β] Fix α < β and suppose X is a random r variable with 1 x [α, β] probability density function f (x) = x [α, β]. β α 0 Then for any α a b β we have P{X [a, b]} = Intuition: all locations along the interval [α, β] are equally likely. b a β α. Say that X is a uniform random variable on [α, β] or that X is sampled uniformly from [α, β]. 10

Properties of uniform random variable on [0, 1] Suppose X is a random r variable with probability density 1 β α x [α, β] function f (x) = 0 x [α, β]. What is E [X ]? Intuitively, we d guess the midpoint α+β. 2 What s the cleanest way to prove this? One approach: let Y be uniform on [0, 1] and try to show that X = (β α)y + α is uniform on [α, β]. Then linearity of α+β E [X ] = (β α)e[y ] + α = (1/2)(β α) + α = 2. Using similar logic, what is the variance Var[X ]? Answer: Var[X ] = Var[(β α)y + α] = Var[(β α)y ] = (β α) 2 Var[Y ] = (β α) 2 /12. 11

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 12

Outline Uniform random variable on [0, 1] Uniform random variable on [α, β] Motivation and examples 13

Uniform random variables and percentiles Toss n = 300 million Americans into a hat and pull one out uniformly at random. Is the height of the person you choose a uniform random variable? Maybe in an approximate sense? No. Is the percentile of the person I choose uniformly random? In other words, let p be the fraction of people left in the hat whose heights are less than that of the person I choose. Is p, in some approximate sense, a uniform random variable on [0, 1]? The way I defined it, p is uniform from the set {0, 1/(n 1), 2/(n 1),..., (n 2)/(n 1), 1}. When n is large, this is kind of like a uniform random variable on [0, 1]. 14

Approximately uniform random variables Intuition: which of the following should give approximately uniform random variables? 1. Toss n = 300 million Americans into a hat, pull one out uniformly at random, and consider that person s height (in centimeters) modulo one. 2. The location of the first raindrop to land on a telephone wire stretched taut between two poles. 3. The amount of time you have to wait until the next subway train come (assuming trains come promptly every six minutes and you show up at kind of a random time). 4. The amount of time you have to wait until the next subway train (without the parenthetical assumption above). 15

Approximately uniform random variables 5. How about the location of the jump between times 0 and 1 of λ-poisson point process (which we condition to have exactly one jump between [0, 1])? 6. The location of the ace of spades within a shuffled deck of 52 cards. 16

MIT OpenCourseWare http://ocw.mit.edu 18.440 Probability and Random Variables Spring 2014 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.