14.1 CompSci 102© Michael Frank Today’s topics ProbabilityProbability –Expected value Reading: Sections 5.3Reading: Sections 5.3 UpcomingUpcoming –Probabilistic.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

Estimating a Population Variance
Postulates of Quantum Mechanics. The Fundamental Rules of Our Game Any measurement we can make with an experiment corresponds to a mathematical “operator”
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Statistics 1: Introduction to Probability and Statistics Section 3-3.
Pattern Classification Chapter 2 (Part 2)0 Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O.
1 Probability Theory Rosen 5 th ed., Chapter 5. 2 Random Experiment - Terminology A random (or stochastic) experiment is an experiment whose result is.
April 2, 2015Applied Discrete Mathematics Week 8: Advanced Counting 1 Random Variables In some experiments, we would like to assign a numerical value to.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples.
Descriptive statistics Experiment  Data  Sample Statistics Sample mean Sample variance Normalize sample variance by N-1 Standard deviation goes as square-root.
Variance and Standard Deviation The Expected Value of a random variable gives the average value of the distribution The Standard Deviation shows how spread.
Statistics Lecture 20. Last Day…completed 5.1 Today Parts of Section 5.3 and 5.4.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
BHS Methods in Behavioral Sciences I
Standard error of estimate & Confidence interval.
Discrete Probability Distributions A sample space can be difficult to describe and work with if its elements are not numeric.A sample space can be difficult.
Review of Basic Statistics. Definitions Population - The set of all items of interest in a statistical problem e.g. - Houses in Sacramento Parameter -
Odds. 1. The odds in favor of an event E occurring is the ratio: p(E) / p(E C ) ; provided p(E C ) in not 0 Notations: The odds is, often, expressed in.
Statistical Experiment A statistical experiment or observation is any process by which an measurements are obtained.
Probability and inference Random variables IPS chapters 4.3 and 4.4 © 2006 W.H. Freeman and Company.
1 G Lect 3b G Lecture 3b Why are means and variances so useful? Recap of random variables and expectations with examples Further consideration.
Geo597 Geostatistics Ch9 Random Function Models.
Probability(C14-C17 BVD) C16: Random Variables. * Random Variable – a variable that takes numerical values describing the outcome of a random process.
Describing Data Using Numerical Measures. Topics.
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.
Mean and Standard Deviation of Discrete Random Variables.
Discrete 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)
2.1 Introduction In an experiment of chance, outcomes occur randomly. We often summarize the outcome from a random experiment by a simple number. Definition.
Chapter 7 Sampling and Sampling Distributions ©. Simple Random Sample simple random sample Suppose that we want to select a sample of n objects from a.
Chapter 7: Introduction to Sampling Distributions Section 2: The Central Limit Theorem.
Math b (Discrete) Random Variables, Binomial Distribution.
EQT 272 PROBABILITY AND STATISTICS
Random Variables (1) A random variable (also known as a stochastic variable), x, is a quantity such as strength, size, or weight, that depends upon a.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 9 Random Variables.
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 7.3 RANDOM VARIABLES When the variables in question are quantitative, they are known as random variables. A random variable, X, is a quantitative variable.
Review of Statistical Terms Population Sample Parameter Statistic.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Entropy Change (at Constant Volume) For an ideal gas, C V (and C P ) are constant with T. But in the general case, C V (and C P ) are functions of T. Then.
SAMPLING DISTRIBUTION. 2 Introduction In real life calculating parameters of populations is usually impossible because populations are very large. Rather.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
MATH Section 3.1.
Inquiry 1 proposals were/are due in lab Th 9/9 or M 9/13 Homework #1 in lab Today: Mean, Median, Mode, T-test xkcd.com.
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank and Modified By Mingwu Chen Probability.
Copyright © Cengage Learning. All rights reserved. 8 PROBABILITY DISTRIBUTIONS AND STATISTICS.
STA302/1001 week 11 Regression Models - Introduction In regression models, two types of variables that are studied:  A dependent variable, Y, also called.
Mean, variance, standard deviation and expectation
Other confidence intervals
Math a Discrete Random Variables
Random Variable.
Business Statistics Topic 4
Module #16: Probability Theory
AP Statistics: Chapter 7
Chapter 16 Random Variables.
Chapter 15 Random Variables.
Random Variable.
Module #16: Probability Theory
Expectation And Variance of Random Variables
Discrete Mathematics and its Applications
Chebychev, Hoffding, Chernoff
Discrete Mathematics and its Applications
Discrete Mathematics and its Applications
Simple Linear Regression
6.3 Sampling Distributions
Chapter 5: Discrete Probability Distributions
Expectation And Variance of Random Variables
Experiments, Outcomes, Events and Random Variables: A Revisit
Statistical Inference
Module #16: Probability Theory
Regression Models - Introduction
Presentation transcript:

14.1 CompSci 102© Michael Frank Today’s topics ProbabilityProbability –Expected value Reading: Sections 5.3Reading: Sections 5.3 UpcomingUpcoming –Probabilistic inference

14.2 CompSci 102© Michael Frank Expectation Values For any random variable V having a numeric domain, its expectation value or expected value or weighted average value or (arithmetic) mean value Ex[V], under the probability distribution Pr[v] = p(v), is defined asFor any random variable V having a numeric domain, its expectation value or expected value or weighted average value or (arithmetic) mean value Ex[V], under the probability distribution Pr[v] = p(v), is defined as The term “expected value” is very widely used for this.The term “expected value” is very widely used for this. –But this term is somewhat misleading, since the “expected” value might itself be totally unexpected, or even impossible! E.g., if p(0)=0.5 & p(2)=0.5, then Ex[V]=1, even though p(1)=0 and so we know that V≠1!E.g., if p(0)=0.5 & p(2)=0.5, then Ex[V]=1, even though p(1)=0 and so we know that V≠1! Or, if p(0)=0.5 & p(1)=0.5, then Ex[V]=0.5 even if V is an integer variable!Or, if p(0)=0.5 & p(1)=0.5, then Ex[V]=0.5 even if V is an integer variable!

14.3 CompSci 102© Michael Frank Derived Random Variables Let S be a sample space over values of a random variable V (representing possible outcomes).Let S be a sample space over values of a random variable V (representing possible outcomes). Then, any function f over S can also be considered to be a random variable (whose actual value f(V) is derived from the actual value of V).Then, any function f over S can also be considered to be a random variable (whose actual value f(V) is derived from the actual value of V). If the range R = range[f] of f is numeric, then the mean value Ex[f] of f can still be defined, asIf the range R = range[f] of f is numeric, then the mean value Ex[f] of f can still be defined, as

14.4 CompSci 102© Michael Frank Linearity of Expectation Values Let X 1, X 2 be any two random variables derived from the same sample space S, and subject to the same underlying distribution.Let X 1, X 2 be any two random variables derived from the same sample space S, and subject to the same underlying distribution. Then we have the following theorems:Then we have the following theorems: Ex[X 1 +X 2 ] = Ex[X 1 ] + Ex[X 2 ] Ex[aX 1 + b] = aEx[X 1 ] + b You should be able to easily prove these for yourself at home.You should be able to easily prove these for yourself at home.

14.5 CompSci 102© Michael Frank Variance & Standard Deviation The variance Var[X] = σ 2 (X) of a random variable X is the expected value of the square of the difference between the value of X and its expectation value Ex[X]:The variance Var[X] = σ 2 (X) of a random variable X is the expected value of the square of the difference between the value of X and its expectation value Ex[X]: The standard deviation or root-mean-square (RMS) difference of X is σ(X) :≡ Var[X] 1/2.The standard deviation or root-mean-square (RMS) difference of X is σ(X) :≡ Var[X] 1/2.

14.6 CompSci 102© Michael Frank Entropy The entropy H of a probability distribution p over a sample space S over outcomes is a measure of our degree of uncertainty about the actual outcome.The entropy H of a probability distribution p over a sample space S over outcomes is a measure of our degree of uncertainty about the actual outcome. –It measures the expected amount of increase in our known information that would result from learning the outcome. The base of the logarithm gives the corresponding unit of entropy; base 2 → 1 bit, base e → 1 nat (as before)The base of the logarithm gives the corresponding unit of entropy; base 2 → 1 bit, base e → 1 nat (as before) –1 nat is also known as “Boltzmann’s constant” k B & as the “ideal gas constant” R, and was first discovered physically

14.7 CompSci 102© Michael Frank Visualizing Entropy