Probability and Statistics Modelling Systems of Random Variables – Computer System – Traffic Systems – Financial System – Data System Linear – Weighted.

Slides:



Advertisements
Similar presentations
NORMAL OR GAUSSIAN DISTRIBUTION Chapter 5. General Normal Distribution Two parameter distribution with a pdf given by:
Advertisements

Let X 1, X 2,..., X n be a set of independent random variables having a common distribution, and let E[ X i ] = . then, with probability 1 Strong law.
Random Variables ECE460 Spring, 2012.
Sampling: Final and Initial Sample Size Determination
Applying Probability Define problem of interest – in terms of “random variables” and/or “composite events” Use real world knowledge, symmetry – to associate.
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.
1 Chap 5 Sums of Random Variables and Long-Term Averages Many problems involve the counting of number of occurrences of events, computation of arithmetic.
Chapter 6 Continuous Random Variables and Probability Distributions
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
P robability Midterm Practice Condition Independence 郭俊利 2009/04/13.
Environmentally Conscious Design & Manufacturing (ME592) Date: May 5, 2000 Slide:1 Environmentally Conscious Design & Manufacturing Class 25: Probability.
Tch-prob1 Chapter 4. Multiple Random Variables Ex Select a student’s name from an urn. S In some random experiments, a number of different quantities.
Review of Probability and Statistics
1 Sampling Distribution Theory ch6. 2  Two independent R.V.s have the joint p.m.f. = the product of individual p.m.f.s.  Ex6.1-1: X1is the number of.
The joint probability distribution function of X and Y is denoted by f XY (x,y). The marginal probability distribution function of X, f X (x) is obtained.
1A.1 Copyright© 1977 John Wiley & Son, Inc. All rights reserved Review Some Basic Statistical Concepts Appendix 1A.
Lecture 4 Rescaling, Sum and difference of random variables: simple algebra for mean and standard deviation (X+Y) 2 =X 2 + Y XY E (X+Y) 2 = EX 2.
Random Variable and Probability Distribution
Lecture II-2: Probability Review
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
NIPRL Chapter 2. Random Variables 2.1 Discrete Random Variables 2.2 Continuous Random Variables 2.3 The Expectation of a Random Variable 2.4 The Variance.
Standard error of estimate & Confidence interval.
Review of Probability.
Jointly Distributed Random Variables
Lecture 15: Expectation for Multivariate Distributions Probability Theory and Applications Fall 2008 Those who ignore Statistics are condemned to reinvent.
PBG 650 Advanced Plant Breeding
Probability theory 2 Tron Anders Moger September 13th 2006.
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
1 G Lect 10a G Lecture 10a Revisited Example: Okazaki’s inferences from a survey Inferences on correlation Correlation: Power and effect.
Lesson 7 - R Review of Random Variables. Objectives Define what is meant by a random variable Define a discrete random variable Define a continuous random.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review II Instructor: Anirban Mahanti Office: ICT 745
CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad bin Saud University 15 October 2010 Lecture 05: Statistical Analysis Tools.
0 K. Salah 2. Review of Probability and Statistics Refs: Law & Kelton, Chapter 4.
1 G Lect 4a G Lecture 4a f(X) of special interest: Normal Distribution Are These Random Variables Normally Distributed? Probability Statements.
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.
Mathematics and Statistics Boot Camp II David Siroky Duke University.
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Lecture 2 Basics of probability in statistical simulation and stochastic programming Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius,
ELEC 303 – Random Signals Lecture 18 – Classical Statistical Inference, Dr. Farinaz Koushanfar ECE Dept., Rice University Nov 4, 2010.
MATH 4030 – 4B CONTINUOUS RANDOM VARIABLES Density Function PDF and CDF Mean and Variance Uniform Distribution Normal Distribution.
READING HANDOUT #5 PERCENTS. Container of Beads Container has 4,000 beads 20% - RED 80% - WHITE Sample of 50 beads with pallet. Population - the 4,000.
1 Topic 5 - Joint distributions and the CLT Joint distributions –Calculation of probabilities, mean and variance –Expectations of functions based on joint.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
7 sum of RVs. 7-1: variance of Z Find the variance of Z = X+Y by using Var(X), Var(Y), and Cov(X,Y)
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Topic 5 - Joint distributions and the CLT
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Lecture 3 1 Recap Random variables Continuous random variable Sample space has infinitely many elements The density function f(x) is a continuous function.
Engineering Statistics ECIV 2305
Probability and Moment Approximations using Limit Theorems.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 9 – Continuous Random Variables: Joint PDFs, Conditioning, Continuous Bayes Farinaz Koushanfar.
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 8 – Continuous Random Variables: PDF and CDFs Farinaz Koushanfar ECE Dept., Rice University.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
5 pair of RVs.
Chapter 3: Uncertainty "variation arises in data generated by a model" "how to transform knowledge of this variation into statements about the uncertainty.
Sums of Random Variables and Long-Term Averages Sums of R.V. ‘s S n = X 1 + X X n of course.
Functions and Transformations of Random Variables
This Week Review of estimation and hypothesis testing
Chapter 5 Joint Probability Distributions and Random Samples
Chapter 7: Sampling Distributions
Review of Probability and Estimators Arun Das, Jason Rebello
ASV Chapters 1 - Sample Spaces and Probabilities
Discrete Multivariate Distributions Revision and Simulation
AP Statistics Chapter 16 Notes.
Chapter 2. Random Variables
5 pair of RVs.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Mathematical Expectation
Presentation transcript:

Probability and Statistics Modelling Systems of Random Variables – Computer System – Traffic Systems – Financial System – Data System Linear – Weighted sums Non-Linear – Max/min; If-then; products ST Week 101 Forced by randomness, unpredictability

Systems Teams in league – Games won by N A N B N C – Sums of binary Student attendance at class – BinaryName Chosen/ Not Chosen – Given chosenPresence/Absence Sets of Dice – Scores X 1 X 2 X 3  Sums, Max S 3 M 3 ST Week 102 Model Decompose Splash Bean Machine

Approach 1.Consider simulation thought experiments – Columns and Random Variables – Define/articulate problem Possible Values Transforms, functions Event Identities 2.Define random vars – Algebra for random vars 3.Consider probabilities ST Week 103

Sums and Averages: Linear Systems Simple systems – Dice sums, Travel times, Pill Boxes Convergence in simulations – Form running sum; divide by n Estimation by sample survey – Sum; divide by n – Count; divide by n Finance – Accumulation of % changes – Sum, in log scale ST Week 104 Comparisons

Max and Min Combinations A system has 3 components A, B and C, with redundancy. It is designed such that it will work if either (C is working) or (both A and B are working). If the lifetimes of A, B and C are 10, 15 and 8 hours, resp, then it will work for 10 hours. ST Week 105

Systems of Random Variables Input  Output – Simulation Joint Uncertainty (Input)  Uncertainty(Output) – Prob Dist – Expected Values and Variances ST Week 106 Independent Dependent Linear Non-linear

Linear Combs & Normal Distribution Linear Combinations – weighted sums – counts Simple for Normal Normal a useful approx – Central Limit Theorem – SE(mean&prop)  n Convergence 7ST Week 10 Dice sum Dice max

Dice: Sums ST Week 108

Prob Rules  Prob Dist  ExpVal etc 9ST Week 10

10ST Week 10 Prob Rules  Prob Dist  ExpVal etc

cdf for Max Min indep rvs 11ST Week 10

Max and Min Combinations A system has 3 components A, B and C, with redundancy. It is designed such that it will work if either (C is working) or (both A and B are working). If the lifetimes of A, B and C are 10, 15 and 8 hours, resp, then it will work for 10 hours. ST Week 1012

System Lifetime ST Week 1013 See SystemLife.xlsx

Max/min indep random vars cdf(system) via prods based on cdf(comps) – pmf by subtraction, if discrete – pdf by calculus, if continuous Expected Value & Var sumproduct, if discrete calculus, if continuous ST Week 1014

Sum/Diff/Lin Comb indep random vars Expected Value & Var simple rules, based on – E[aX+bY]=aE[X] + bE[Y] – Var[aX+bY]=a 2 Var[X] + b 2 E[Y] cdf(system) pmf(system) – by tabulation, enumeration if discrete some special cases – intricate calculus, if continuous some special cases – but often, Normal approx ST Week 1015

Theory: Distributions and Lin Combs ST Week 1016

17 Theory: Linear Combinations X,Y random variables a,b constants Z = aX+bY Seek E[Z] and Var[Z] Using Normal (approx) for dist Z? E[Z] and Var[Z] fully specify D iscrete dists only in these notes; extension to continuous dists only a matter of notation; joint pdf instead of joint pmf; integrals instead of sums. ST Week 10

18 Approach via dist Z =Y+X ST Week 10 E[Y]E[X] Var[Y]Var[X] E[Z] Var[Z] In Fill in given Indep

19 Approach via dist Z =Y+X ST Week 10 E[Y] = 2E[X]=4 Var[Y]=2/3Var[X]=4/3 E[Z]= 6Var[Z]=6/3 Cov(X,Y)=0

20 Direct approach: when X,Y indep ST Week 10

21 Approach via dist Z =X+Y ST Week 10 E[Y]E[X] Var[Y]Var[X] Cov[X,Y] E[Z]Var[Z]

22 Approach via dist(Y+X) ST Week 10

23 Direct approach: when X,Y not indep ST Week 10

24ST Week 10 Theory: Expected values for linear combs

25 App: Travel Times ST Week 10

Travel Time by Simulation ST Week 1026 T_ABT_BCT_AC

27 App: Travel Times ST Week 10

28 Travel Times mean var Probs ST Week 10

29 Times Different? Pr = ST Week 10

30 Correlated Travel Times Prob = ST Week 10

31 Correlation Prob = ST Week 10

Proof: discrete case 32ST Week 10

Proof: discrete case 33ST Week 10

34 Packing a pillbox ST Week 10

Approach by Simulation ST Week 1035

Extension 36ST Week 10

37 Pr = 0.32 ST Week 10 Packing a pillbox

38 Common Error ST Week 10

Important Special Cases 39ST Week 10

Sampling Dists of Avg (S4) ST Week 1040 Convergence at 1/  n Central Limit Theorem Section 5.3,4

Simulation Convergence ST Week 1041 Confidence Intervals for Simulations Sec5.7

Law of Large Numbers rate of convergence ST Week 1042

Theory: Normal Approximation via Central Limit Theorem ST Week 1043

44 Application: sums and averages ST Week 10

45 Application: precision ST Week 10

46 Application: sample size for mean ST Week 10

47 Application: sample size for prop ST Week 10

Homework Tijms Q5.2 Someone has written a simulation programme to estimate a probability. 500 runs  estimate of If the prob p  0.451, what are SE(est prob)? 95% Conf Int? 1000 runs  estimate of 0.453, what are SE, 95% CI? Is there reason to suspect problem? ST Week 1048

Homework Tijms Q5.2 Someone has written a simulation programme to estimate a probability. 500 runs  estimate of If the prob = p  0.451, what are EstSE(est prob)? 95% Conf Int? 1000 runs  estimate of 0.453, what are EstSE, 95% CI? Is there reason to suspect problem? No: the difference is very small compared to the uncertainties involved ST Week 1049