K. Shum Lecture 14 Continuous sample space, Special case of the law of large numbers, and Probability density function.

Slides:



Advertisements
Similar presentations
Chapter 2 Concepts of Prob. Theory
Advertisements

CS433: Modeling and Simulation
Random Variables ECE460 Spring, 2012.
Business Statistics for Managerial Decision
A.P. STATISTICS LESSON 7 – 1 ( DAY 1 ) DISCRETE AND CONTINUOUS RANDOM VARIABLES.
Instructor: Dr. Ayona Chatterjee Spring  If there are N equally likely possibilities of which one must occur and n are regarded as favorable, or.
Introduction to stochastic process
Continuous Random Variables. For discrete random variables, we required that Y was limited to a finite (or countably infinite) set of values. Now, for.
Probability theory Much inspired by the presentation of Kren and Samuelsson.
Probability Distributions
Functions f( ) = A B Lecture 15: Nov 4.
2012: J Paul GibsonTSP: Mathematical FoundationsMAT7003/L5- CountingAndEnumeration.1 MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul.
Joint Distribution of two or More Random Variables
Lecture II.  Using the example from Birenens Chapter 1: Assume we are interested in the game Texas lotto (similar to Florida lotto).  In this game,
Arithmetic Series Additive Recursion. 7/15/2013 Arithmetic Series 2 The art of asking the right questions in mathematics is more important than the art.
Functions A B f( ) =. This Lecture We will define a function formally, and then in the next lecture we will use this concept in counting. We will also.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Relation, function 1 Mathematical logic Lesson 5 Relations, mappings, countable and uncountable sets.
7.1 Discrete and Continuous Random Variable.  Calculate the probability of a discrete random variable and display in a graph.  Calculate the probability.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Welcome to Probability and the Theory of Statistics This class uses nearly every type of mathematics that you have studied so far as well as some possibly.
Ex St 801 Statistical Methods Probability and Distributions.
Theory of Probability Statistics for Business and Economics.
2.4 Sequences and Summations
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
Basic Concepts of Discrete Probability (Theory of Sets: Continuation) 1.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Copyright © Cengage Learning. All rights reserved. CHAPTER 7 FUNCTIONS.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
One Random Variable Random Process.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
Relations, Functions, and Countability
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
© 2010 Pearson Prentice Hall. All rights reserved Chapter The Normal Probability Distribution © 2010 Pearson Prentice Hall. All rights reserved 3 7.
COMPSCI 102 Introduction to Discrete Mathematics.
1 3. Random Variables Let ( , F, P) be a probability model for an experiment, and X a function that maps every to a unique point the set of real numbers.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
CY1B2 Statistics1 (ii) Poisson distribution The Poisson distribution resembles the binomial distribution if the probability of an accident is very small.
Probability (outcome k) = Relative Frequency of k
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/27/2009.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.1 Discrete and Continuous Random Variables.
Great Theoretical Ideas in Computer Science.
Discrete Random Variables. Introduction In previous lectures we established a foundation of the probability theory; we applied the probability theory.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter The Normal Probability Distribution 7.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
CS 285- Discrete Mathematics
Chapter 7 The Normal Probability Distribution 7.1 Properties of the Normal Distribution.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Section 7.1. Probability of an Event We first define these key terms: An experiment is a procedure that yields one of a given set of possible outcomes.
K. Shum Lecture 26 Singular random variable Strong law of large number.
Section 2.5. Cardinality Definition: A set that is either finite or has the same cardinality as the set of positive integers (Z + ) is called countable.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
What is Probability? Quantification of uncertainty.
Chapter 4 – Part 3.
CSCI 5832 Natural Language Processing
Lesson 5 Relations, mappings, countable and uncountable sets
Lesson 5 Relations, mappings, countable and uncountable sets
Probability, Statistics
3. Random Variables Let (, F, P) be a probability model for an experiment, and X a function that maps every to a unique point.
Experiments, Outcomes, Events and Random Variables: A Revisit
Lecture 2 Basic Concepts on Probability (Section 0.2)
Presentation transcript:

K. Shum Lecture 14 Continuous sample space, Special case of the law of large numbers, and Probability density function

K. Shum A non-discrete sample space Sample space: I={x: 0  x <1} Probability function: For an event E, e.g. an interval within the sample space, then P(E) = length of E. –Example P(0.2  x <0.5) =

K. Shum Probability of one point Given a point a in the sample space I, e.g. 1/5, 2/7, 1/ , whatever, if we randomly and uniformly pick a real number in I, the probability that it is equal to a is zero. –This fact can be interpreted in terms of precision. A randomly chosen point  is equal to a predetermined value a if they are equal with precision of infinitely many decimal places. P(  equals a to the 1st decimal place) = P(  (a-0.05,a+0.05)) = 0.1. P(  equals a to the 2nd decimal place) = P(  (a-0.005,a+0.005)) = ….. 01 a 

K. Shum Probability of two points So for a fixed value of a, we say that with probability zero, we drawn number is equal to a, or P(a) = 0. For the same reason, if we fix two values a 1 and a 2 before we draw any number, the random number we will draw is equal to a 1 or a 2 with probability zero. –P(a 1 or a 2 ) = 0.

K. Shum Probability of n points Let a 1,…,a n, be n points in the sample space I. Pick a random point  in I. P (  = a 1 or…or a n ) = 0. –Reason: Third axiom of probability. P (  = a 1 or…or a n )= P (  = a 1 )+…+ P (  = a n ) =0+…+0 = 0.

K. Shum Probability of countably infinite number of points A set S is “countably infinite” means –mathematically, there is a bijection between S and the natural numbers. –data-structure-ly, S can be stored in an infinitely long link list. If S is an event that is countably infinite, then P(S)=0. If we randomly draw a point, it belongs to S with probability zero.

K. Shum Example of countably infinite set Set of rational number in I whose denominator is a power of 2. Set of rational numbers in I. Subset of a countably infinite set. Union of a countably infinite set and a finite set. Union of two countably infinite sets.

K. Shum Non-examples {0  x <1} –Cantor’s diagonal argument. {0  x <1}-{a 1,…, a n }, the complement of a finite set in I. Complement of a countably infinite set in I.

K. Shum Probability zero, probability one We see that a non-empty event may have probability zero. Even an event with infinite cardinality may have probability zero. We say that an event happens with probability one if the complement is an event with probability zero. –For example, with probability one, a randomly drawn number in I is irrational.

K. Shum Binary expansion In Matlab, to display a number, say 1/  2, in binary, you can type “dec2bin(1/sqrt(2)*2^60,60)”. Every numbers in I gives rise to an infinitely long binary expansion. Thus the sample space I is a probability model for tossing infinitely many coins, by mapping 1 to T and 0 to H. The tosses are independent with P(T)=P(H)=0.5.

K. Shum An ambiguity with probability 0 The numbers 0.1 2, , 011 2, etc. have two different binary expansions. There are two expansions for the same number if it is a rational number with denominator a power of 2. The mapping from these numbers to bit sequence is not well-defined. So, we use the convention that we choose the one with terminating zeros. Anyway, this happens with probability zero and we don’t really care about this small difficulty.

K. Shum Is the numbers of 1’s and 0’s asymptotically equal? For  between 0 and 1, define We ask whether the partial sum divided by n is equal to 0.5 asymptotically: A number satisfying the above equation is called normal in base 2.

K. Shum Graphes of S( ,n)/n In Matlab, –dec2bin(0.123*2^50,50) is the first 50 bits of in string format. –dec2bin(0.123*2^50,50)-48 is the first 50 bits of in vector format. –cumsum(dec2bin(0.123*2^50,50)-48) is the cumulative sum, namely, S( ,n)/n. –plot(cumsum(dec2bin(0.123*2^50,50)- 48)./(1:50)) gives you the graph of S( ,n)/n.

K. Shum There are infinitely many numbers that are not normal 3/7 = … 2. 7/15 = … 2. 15/31= … 2. …

K. Shum Is there any normal numbers? We cannot show this by Matlab. –Limited precision. –Limited life. Even if there is an ideal computer with infinite precision, we cannot check the limit of an infinite sequence of 0 and 1. We can prove that normal numbers exist.

K. Shum Emile Borel’s normal number theorem (1909) Borel’s theorem in fact not only shows that normal numbers exist, it also proves that they exist in abundance. –Theorem of normal number: If we pick a real number uniformly between 0 and 1, then it is a normal number with probability 1: P(normal numbers) = 1. This is a special case of the strong law of large number.

K. Shum Relation to random walk In the binary expansion, if we substitute 0 by –1, we get a one-dimensional random walk. In matlab, 2*(dec2bin(0.123*2^50,50)-48)-1 are the first 50 steps of a random walk corresponding to plot(cumsum(2*(dec2bin(0.123*2^50,50)-48)-1)) is the graph of the random walk.

K. Shum How to predict the histogram? Two parameters –Number of samples –Bin width Height of a bin is directly proportional to –Number of samples –Bin width

K. Shum Six examples Uniform between 0 and 1 Uniform between 0 and 2 Sum of two (uniform between 0 and 1) Square root of a uniform between 0 and 1 Square of a uniform between 0 and 1 -log e (uniform between 0 and 1)

K. Shum Probability density function Definition: –Non-negative function defined on the real line. –Area under the curve is equal to one. Histogram of samples will be approximated by (No. of samples) * (bin width) * pdf.