Probability overview Event space – set of possible outcomes

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Random Variables ECE460 Spring, 2012.
Random Variables A random variable is a variable (usually we use x), that has a single numerical value, determined by chance, for each outcome of a procedure.
Laws of division of casual sizes. Binomial law of division.
Lec 18 Nov 12 Probability – definitions and simulation.
Ch 4 & 5 Important Ideas Sampling Theory. Density Integration for Probability (Ch 4 Sec 1-2) Integral over (a,b) of density is P(a
Chapter 2: Probability Random Variable (r.v.) is a variable whose value is unknown until it is observed. The value of a random variable results from an.
Review of Basic Probability and Statistics
Probability Theory Part 2: Random Variables. Random Variables  The Notion of a Random Variable The outcome is not always a number Assign a numerical.
Probability theory Much inspired by the presentation of Kren and Samuelsson.
Sections 4.1, 4.2, 4.3 Important Definitions in the Text:
Probability Mass Function Expectation 郭俊利 2009/03/16
Chapter 16: Random Variables
Review of Probability and Statistics
Probability and Statistics Review Thursday Sep 11.
5-1 Two Discrete Random Variables Example Two Discrete Random Variables Figure 5-1 Joint probability distribution of X and Y in Example 5-1.
5-1 Two Discrete Random Variables Example Two Discrete Random Variables Figure 5-1 Joint probability distribution of X and Y in Example 5-1.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Sampling Distributions  A statistic is random in value … it changes from sample to sample.  The probability distribution of a statistic is called a sampling.
Recitation 1 Probability Review
2. Mathematical Foundations
1 If we can reduce our desire, then all worries that bother us will disappear.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
PROBABILITY CONCEPTS Key concepts are described Probability rules are introduced Expected values, standard deviation, covariance and correlation for individual.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
X = 2*Bin(300,1/2) – 300 E[X] = 0 Y = 2*Bin(30,1/2) – 30 E[Y] = 0.
The Mean of a Discrete RV The mean of a RV is the average value the RV takes over the long-run. –The mean of a RV is analogous to the mean of a large population.
Probability & Statistics I IE 254 Summer 1999 Chapter 4  Continuous Random Variables  What is the difference between a discrete & a continuous R.V.?
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.2: Recap on Probability Theory Jürgen Sturm Technische Universität.
1 Since everything is a reflection of our minds, everything can be changed by our minds.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
DISCRETE RANDOM VARIABLES.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
Basics on Probability Jingrui He 09/11/2007. Coin Flips  You flip a coin Head with probability 0.5  You flip 100 coins How many heads would you expect.
Random Variables Ch. 6. Flip a fair coin 4 times. List all the possible outcomes. Let X be the number of heads. A probability model describes the possible.
1 Keep Life Simple! We live and work and dream, Each has his little scheme, Sometimes we laugh; sometimes we cry, And thus the days go by.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
1 Probability: Introduction Definitions,Definitions, Laws of ProbabilityLaws of Probability Random VariablesRandom Variables DistributionsDistributions.
Intro to Probability Slides from Professor Pan,Yan, SYSU.
MULTIPLE RANDOM VARIABLES A vector random variable X is a function that assigns a vector of real numbers to each outcome of a random experiment. e.g. Random.
9/14/1999 JHU CS /Jan Hajic 1 Introduction to Natural Language Processing Probability AI-Lab
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.
Chapter 31 Conditional Probability & Conditional Expectation Conditional distributions Computing expectations by conditioning Computing probabilities by.
Random Variables By: 1.
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
MECH 373 Instrumentation and Measurements
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 3: Discrete Random Variables and Their Distributions CIS.
Probability and Information Theory
Random Variable 2013.
PDF, Normal Distribution and Linear Regression
Appendix A: Probability Theory
Discrete and Continuous Random Variables
Review of Probability and Estimators Arun Das, Jason Rebello
Probability Review 11/22/2018.
Probability Review for Financial Engineers
Multinomial Distribution
How accurately can you (1) predict Y from X, and (2) predict X from Y?
Warmup Consider tossing a fair coin 3 times.
Probability Review 2/24/2019.
Independence of random variables
ASV Chapters 1 - Sample Spaces and Probabilities
5. Conditioning and Independence
Chapter 2. Random Variables
Experiments, Outcomes, Events and Random Variables: A Revisit
Quick Review of Probability
Moments of Random Variables
Presentation transcript:

Probability overview Event space – set of possible outcomes Frequentist: run an experiment to get an outcome. Probability describes what happens on multiple trials. Bayesian: one outcome is correct, but we don’t have enough info to choose. Prob describes the degree of belief of each outcome based on what we know now. Random variable (RV) – a function from event space to R or Rn. E.g., number of heads in 10 tosses of coin, inches of rain Sometimes use the image of the RV as the event space

Event spaces Discrete event space: W = {w1, w2, …} PMF: pj ≥ 0, ∑pj = 1, pj gives prob of wj (0 ≤ pj ≤ 1) Continuous event space: W a subset of R or Rn PDF: p(x) ≥ 0, ∫W p(x)dx = 1, P(A) = ∫A p(x)dx gives the prob of events in A. (p(x) may be > 1) E.g., uniform distribution on [a,b], p(x) = 1/(b-a), a < x < b Discrete events in continuous space: Dirac 𝛿 ∫W 𝛿(x)dx = 1 whenever W contains an open interval containing 0. p(x) = ∑1 ≤i ≤m pi𝛿(x – xi) has PMF p(xi) = pi

Mean and variance Where is the center of mass of a RV, X? Expected value or mean Weighted average of outcomes, weighted by probability 𝜇(X) = E(X) = ∫W x p(x)dx If a,b real, then E(aX + bY) = aE(X) + bE(Y) (linear) How much is the mass spread out? Variance and standard deviation Squared dist from mean, weighted by probability 𝜎2(X) = Var(X) = E((X - 𝜇(X))2) 𝜎(X) (square root of Var(X)) has same units as X

Joint density Given two RVs X and Y: P(x,y) or P(X=x, Y=y) is the joint density. Independence: P(x,y) = P(x)P(y) for all x,y (a.e) This gives a product structure on joint distribution P(yi) P(xj) Roughly: info about x gives no info about y, and vice versa P(xj)P(yi)

Joint density Given two RVs X and Y: Marginal probability: P(x,y) or P(X=x, Y=y) is the joint density. Marginal probability: P(x) = ∫W(Y) P(x,y) dy Integrate out the effect of y (or x) (sum along rows/cols) P(yi) P(xj) P(xj,yi)

Joint density Conditional probability: P(x,y) = P(x|y) P(y) or P(x|y) = P(x,y)/P(y) P(x|y) = P(x,y) / ∫W(X) P(x,y) dx E.g., fix y= yi and normalize to get a PDF P(yi) P(xj,yi)/P(yi)

Covariance/correlation Cov(X,Y) = E((X - 𝜇(X))(Y - 𝜇(Y)) (X - 𝜇(X))(Y - 𝜇(Y)) is a RV from W(X) x W(Y) to R Measures direction and magnitude of common mvmt Really an inner product of X - 𝜇(X) and Y - 𝜇(Y): <f,g> = ∫W(X)xW(Y) f(x)g(y) p(x,y) dx dy Correlation: Corr(X,Y) = Cov(X,Y) / (𝜎(X) 𝜎(Y)) = <f,g>/ (∣∣f ∣∣ ∣∣g ∣∣) (between -1 and 1 by Cauchy Schwarz)

Bayes’ Rule Use P(x,y) = P(x|y) P(y) and P(x,y) = P(y|x) P(x) to get P(x|y) = P(y|x) P(x) / P(y) E.g., y = x-ray measurements from an object x P(x|y) is difficult, but P(y|x) is easy, and P(x) encodes our beliefs about x Solve x* = argminx ( - log P(y|x) - log P(x) )