Project Management for Software Engineers (Summer 2017)

Slides:



Advertisements
Similar presentations
Chapter 5 Some Important Discrete Probability Distributions
Advertisements

Chapter 5 Discrete Random Variables and Probability Distributions
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Chapter 5 Discrete Probability Distributions Statistics for Managers using Microsoft.
Chapter 5 Discrete Probability Distributions
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 5-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Sampling Distributions (§ )
A. A. Elimam College of Business San Francisco State University Random Variables And Probability Distributions.
FREQUENCY ANALYSIS Basic Problem: To relate the magnitude of extreme events to their frequency of occurrence through the use of probability distributions.
Chapter 4 Discrete Random Variables and Probability Distributions
1 Midterm Review Econ 240A. 2 The Big Picture The Classical Statistical Trail Descriptive Statistics Inferential Statistics Probability Discrete Random.
BCOR 1020 Business Statistics Lecture 15 – March 6, 2008.
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Probability and Statistics Review
Chapter 5 Discrete Probability Distributions
Chap 5-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-1 Chapter 5 Discrete Probability Distributions Basic Business Statistics.
Mutually Exclusive: P(not A) = 1- P(A) Complement Rule: P(A and B) = 0 P(A or B) = P(A) + P(B) - P(A and B) General Addition Rule: Conditional Probability:
Statistical inference Population - collection of all subjects or objects of interest (not necessarily people) Sample - subset of the population used to.
Lecture 6: Descriptive Statistics: Probability, Distribution, Univariate Data.
Statistics for Managers Using Microsoft® Excel 5th Edition
Engineering Probability and Statistics
Chap 5-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 5 Discrete Probability Distributions Business Statistics: A First.
QA in Finance/ Ch 3 Probability in Finance Probability.
What is a probability distribution? It is the set of probabilities on a sample space or set of outcomes.
5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete Probability Distributions.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Review of Chapters 1- 5 We review some important themes from the first 5 chapters 1.Introduction Statistics- Set of methods for collecting/analyzing data.
Theory of Probability Statistics for Business and Economics.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
Lecture 15: Statistics and Their Distributions, Central Limit Theorem
OPIM 5103-Lecture #3 Jose M. Cruz Assistant Professor.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Lecture 2 Forestry 3218 Lecture 2 Statistical Methods Avery and Burkhart, Chapter 2 Forest Mensuration II Avery and Burkhart, Chapter 2.
Determination of Sample Size: A Review of Statistical Theory
1 Statistical Analysis – Descriptive Statistics Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
ENGR 610 Applied Statistics Fall Week 2 Marshall University CITE Jack Smith.
Summarizing Risk Analysis Results To quantify the risk of an output variable, 3 properties must be estimated: A measure of central tendency (e.g. µ ) A.
Probability and Distributions. Deterministic vs. Random Processes In deterministic processes, the outcome can be predicted exactly in advance Eg. Force.
Chapter 5 Sampling Distributions. The Concept of Sampling Distributions Parameter – numerical descriptive measure of a population. It is usually unknown.
Sampling and Statistical Analysis for Decision Making A. A. Elimam College of Business San Francisco State University.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 5-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Beginning Statistics Table of Contents HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
Measurement: Assessment and Metrics Presented by Dr. Joan Burtner Certified Quality Engineer Associate Professor of Industrial Engineering and Industrial.
3.1 Statistical Distributions. Random Variable Observation = Variable Outcome = Random Variable Examples: – Weight/Size of animals – Animal surveys: detection.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Theoretical distributions: the other distributions.
Location: Chemistry 001 Time: Friday, Nov 20, 7pm to 9pm.
MECH 373 Instrumentation and Measurements
Lecture Slides Essentials of Statistics 5th Edition
Prepared by Lloyd R. Jaisingh
Probability and Statistics for Particle Physics
Business Statistics Topic 4
Handout on Statistics Summary for Financial Analysis: Random Variables, Probability and Probability Distributions, Measures of Central Tendency, Dispersion,
Elementary Statistics
إحص 122: ”إحصاء تطبيقي“ “Applied Statistics” شعبة 17130
Project Management for Software Engineers (Summer 2017)
Chapter 5 Some Important Discrete Probability Distributions
Statistical Thinking and Applications
Sampling Distributions (§ )
Measurement: Assessment and Metrics Westcott CH. 15
Fall Final Topics by “Notecard”.
Discrete Probability Distributions
Statistics Review (It’s not so scary).
Introductory Statistics
Presentation transcript:

Project Management for Software Engineers (Summer 2017) LECTURE 12 Risk Quantification Basics July 19, 2016 (9:00 am – 11:40 pm PST) University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Risk = Uncertainty Risk quantification means: “How much” uncertain are we about a particular outcome Supplier  Input  Process  Output  Customer: Focusing on the I.P.O: If we know “how much” uncertain we are about the Inputs, we can agglomerate all uncertainties to calculate the uncertainty about the output, using statistical techniques (simulation) University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

A Crash Course on Probabilities A + Ac = 1 P(A or B) = P(A) + P(B) – P (A and B) Mutually Exclusive events: P(A and B) =0 Conditional Probability P(A|B) = P(A and B) / P(B)  P(A and B) = P(A|B)xP(B) Joint Probabilities: Decision Tree  (pp. 257-258) Independent Events: P(A|B)=P(A)  P(A and B) =P(A)xP(B) University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

A Crash Course on Statistics Descriptive Statistics Current Data attributes (central tendency & dispersion) Histograms: Location, Spread, Shape Inferential Statistics (Enumerative Studies) Sample  Population (Hypothesis Testing) Key: Proper Sampling  Representative Sample Predictive Statistics (Analytic Studies) DOE, Regression, ANOVA University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Descriptive Statistics Central tendency: Mean, median, mode Dispersion: Variance, Min, Max, Range Shape: Histogram, Skewness, Kurtosis Others: Count, Sum Excel Example: Tools  Data Analysis  Descriptive Statistics Tools  Data Analysis  Histogram University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Statistical Distributions Discrete: Binomial, Hypergeometric, Poisson, … Continuous: Normal, Lognormal, Exponential, … Interrelationships Binomial  Poisson Normal  Lognormal Poisson  Exponential Sources of abnormality: Recording & Measurement errors, Multiplicity, truncation, natural skewness, tampering (Deming experiments) Understand data & sources of variation before sampling Bi (p<0.5 & n>20) == Poisson (np) Bi: Flipping a coin Poisson: # of cars entering an intersection Exponential: Interarrival of of cars entering an intersection University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Inferential Statistics Sampling: Select an “unbiased” subset of an entire group Simple Random Sampling (SRS): For homogeneous sets Stratified sampling: Group by some attributes (internally homogeneous) Clustering: Similar groups, different components (“Naturally” clustered, internally heterogeneous) – Less Precise & More Economic Systematic: Every (N/n)th sample, or some other rules (Easy, but prone to bias) Examples: Random, NOT arbitrary! Stratified: Sampling City population, in age groups Stratified: Exponential Distribution Clustered: Sampling random pallets of packed products Systematic: Sampling every 8th house of a street with 120 houses NOT REQUIRED Stratified: Exponential Distribution tail has bigger weight Systematic could be biased

Representative Samples If the sampling is performed properly, the sample “represents” the population Parameter Sample Population Size n N Mean x̄ m St. Dev. s s CLT – For very large population (n/N<0.05) and “Truly” representative samples: E(x̄) = m & s(x̄)=s /√n  x̄ ~ N ( m , s /√n ) Example: P. 280, Examples 6.13 & 6.14 Note: N(x, m, s) == Ns[(x-m)/s, 0, 1]  Ns Table (pp.A3&A4) In CLT: x̄ ~ Ns [(x̄- m)/(s /√n ),0,1] NOT REQUIRED University of Southern California, Industrial & Systems Engineering 9/18/2018

From “Point” To “Range” Estimate Confidence Level (CL) = 1 - a a = Probability of a parameter falling outside a given range. (e.g. probability of defect) Example: “90% CI for m is x̄ + q” means “In 100 samples, for 90 of them: the range [x̄ - q x̄ + q ] contains the true value of m” Equations: P. 281 Examples 6.15 & 6.16 (p. 282) NOT REQUIRED University of Southern California, Industrial & Systems Engineering 9/18/2018

Estimating reality by experimentation What is simulation? Problem: Flipping a coin as many times as we get 3 heads; Cost: $1 per coin-flip, reward: $8 for 3 heads Can you develop a formula to get the answer? Yes you can, but it’s a tedious and complicated process. Can it be done easier? Just walk the talk: Generate a random integer (0, 1) Excel: Int((Rand()+0.5)) Repeat until you get three 1’s (heads) If we repeat this experiment many many times, we can develop a statistical distribution for the sample size (i.e. number of flips that returns 3 heads) Example calculations in Excel (handout) Estimating reality by experimentation University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Monte-Carlo Simulation Process: If Y=f(X1,X2,X3,…) and statistical distribution of Xi’s are known as F(Xi), then: U = F(Xi)  Xi = F-1(U), where U is a probability, a random number between 0 and 1 (100%) With numerous iterations, statistical distribution of Y and its statistical characteristics can be modeled and the probability of Y<=Y0 can be estimated with a very high accuracy The more iterations, the more accurate the statistical distribution for Y For each Xi: For the entire model (Y): N=500 N=1000 N=100 N=200 Source: Queueing Methods, Randolph W. Hall (1991), P. 59 University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

A Basic Example A Typical customer service: Poisson Process Trial #5 𝐹 𝑥 =1− 𝑒 −l𝑥 , SET: R[0−1]=𝐹 𝑥  𝑥= ln⁡ 𝑅 −l Assume l=4 customers / hour based on historical data How many customers will arrive in 2 hours? Trial #5 N=5 #5 N=4 #4 Trial #4 N=2 #3 Trial #3 Trial #1 N=6 #1 N=5 #2 Trial #2 Also see Example: Hall. P. 185 University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018

Simulating PM Metrics NPV : pp 310-318 CPM/PERT Scheduling: pp 367-372 University of Southern California, IMSC/SSU CERTIFICATION PROGRAM 9/18/2018