Data Processing Techniques

Similar documents
Sampling WITHOUT replacement, Order IS important Number of Samples = 6

Lecture 2: Probability and Distributions

Probability: Why do we care? Lecture 2: Probability and Distributions. Classical Definition. What is Probability?

Combinatorial Analysis

Probability Calculus

Set Notation and Axioms of Probability NOT NOT X = X = X'' = X

(c) P(BC c ) = One point was lost for multiplying. If, however, you made this same mistake in (b) and (c) you lost the point only once.

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

Binomial and Poisson Probability Distributions

MATH 201 Solutions: TEST 3-A (in class)

1. Matrices and Determinants

To Find the Product of Monomials. ax m bx n abx m n. Let s look at an example in which we multiply two monomials. (3x 2 y)(2x 3 y 5 )

Solutions to First Midterm Exam, Stat 371, Spring those values: = Or, we can use Rule 6: = 0.63.

Lab #11. Variable B. Variable A Y a b a+b N c d c+d a+c b+d N = a+b+c+d

Chapter Learning Objectives. Random Experiments Dfiii Definition: Dfiii Definition:

Expanding brackets and factorising

Homework 3/ Solutions

Lecture 3: Probability

CS533 Fall 2017 HW5 Solutions. CS533 Information Retrieval Fall HW5 Solutions

The Advanced Encryption Standard

New Coding System of Grid Squares in the Republic of Indonesia

Chapter y. 8. n cd (x y) 14. (2a b) 15. (a) 3(x 2y) = 3x 3(2y) = 3x 6y. 16. (a)

FIXED BEAMS CONTINUOUS BEAMS

Lecture 2 Binomial and Poisson Probability Distributions

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance

BHP BILLITON UNIVERSITY OF MELBOURNE SCHOOL MATHEMATICS COMPETITION, 2003: INTERMEDIATE DIVISION

Unofficial Solutions

SOLUTION. Taken together, the preceding equations imply that ABC DEF by the SSS criterion for triangle congruence.

UNC Charlotte 2006 Comprehensive

Matrices and Determinants

NJCCCS AREA: Mathematics

Section 7.2 Homework Answers

2018 LEHIGH UNIVERSITY HIGH SCHOOL MATH CONTEST

Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury.

( ) P A B : Probability of A given B. Probability that A happens

Which of the following expressions are monomials?

University of Technology, Building and Construction Engineering Department (Undergraduate study) PROBABILITY THEORY

Senior Math Circles November 19, 2008 Probability II

UMA Putnam Talk LINEAR ALGEBRA TRICKS FOR THE PUTNAM

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

Conditional probability

Chapter Goals. To introduce you to data collection

MAT 150A, Fall 2015 Practice problems for the final exam

STRAND J: TRANSFORMATIONS, VECTORS and MATRICES

Discrete Probability

Discrete Structures Homework 1

Test 1 Review. Review. Cathy Poliak, Ph.D. Office in Fleming 11c (Department Reveiw of Mathematics University of Houston Exam 1)

Final Exam General CS I (320101) Different problems test different skills and knowledge, so do not get stuck on one problem.

1 The Basic Counting Principles

Introductory Probability

( ) Chapter 7 ( ) ( ) ( ) ( ) Exercise Set The greatest common factor is x + 3.

STAT 201 Chapter 5. Probability

Lecture 4: Probability and Discrete Random Variables

Created by T. Madas 2D VECTORS. Created by T. Madas

Geometry AIR Test. Mar 14-3:07 PM. coordinate/algebraic proofs, parallel and perpendicular lines, distance formula, midpoint formula.

CCE PR Revised & Un-Revised

5.2 MULTIPLICATION OF POLYNOMIALS. section. Multiplying Monomials with the Product Rule

EUROSTAT - OECD PPP PROGRAMME 1999 THE CALCULATION AND AGGREGATION OF PARITIES

Bernoulli variables. Let X be a random variable such that. 1 with probability p X = 0 with probability q = 1 p

Selma City Schools Curriculum Pacing Guide Grades Subject: Algebra II Effective Year:

Introduction to Probability. Experiments. Sample Space. Event. Basic Requirements for Assigning Probabilities. Experiments

4 Ab C4 Integration 1 ln. 12 Bc C4 Parametric differentiation dy

STT 315 Problem Set #3

Chapter 3. Discrete Random Variables and Their Probability Distributions

Vectors 1C. 6 k) = =0 = =17

Lecture 2. Binomial and Poisson Probability Distributions

MetroCount Traffic Executive Individual Vehicles

Express g(x) in the form f(x) + ln a, where a (4)

International Mathematical Olympiad. Preliminary Selection Contest 2017 Hong Kong. Outline of Solutions 5. 3*

CSU FRESNO MATH PROBLEM SOLVING. Part 1: Counting & Probability

Spin-Spin Coupling. J trans > J cis > J gem. Structure Evaluation. cis. J trans = Hz J cis = 9-12 Hz J gem = 1-3 Hz. H a. H b gem.

Ratio Proportion Variation

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

2 13b + 37 = 54, 13b 37 = 16, no solution

Markov Chains (Part 3)

ECE-580-DOE : Statistical Process Control and Design of Experiments Steve Brainerd 27 Distributions:

Business Statistics PROBABILITY DISTRIBUTIONS

Homework 1/Solutions. Graded Exercises

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 120 minutes.

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION COURSE I. Wednesday, August 16, :30 to 11:30 a.m.

( ) Chapter 6 ( ) ( ) ( ) ( ) Exercise Set The greatest common factor is x + 3.

Math 10 - Unit 5 Final Review - Polynomials

SCTT The pqr-method august 2016

Express g(x) in the form f(x) + ln a, where a (4)

The Alberta High School Mathematics Competition Solution to Part I, 2014.

Solutions Key Exponents and Polynomials

Basic Probability and Statistics

8 th Grade Exam Scoring Format: 3 points per correct response -1 each wrong response 0 for blank answers

chapter 1 vector geometry solutions V Consider the parallelogram shown alongside. Which of the following statements are true?

Statistics for Business and Economics

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION GEOMETRY. Student Name:

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

UNIVERSITY OF MASSACHUSETTS Department of Mathematics and Statistics Basic Exam - Applied Statistics Thursday, August 30, 2018

ECON Semester 1 PASS Mock Mid-Semester Exam ANSWERS

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways.

Discrete Math Midterm 2014

Algebra I. Book 2. Powered by...

1. Basics of Information

Systems of Linear Equations

The Sun Life Financial Canadian Open Mathematics Challenge Wednesday, November 2, 2011

Transcription:

Universitas Gadjah Mada Department of Civil and Environmental Engineering Master in Engineering in Natural Disaster Management Data Processing Techniques s 1

Illustrative Example Investigation on population characteristics of the population à variables values of the variables scores of exam: 0 to 100 ages: 0 to marital status: single, married, divorced weather: sunny, cloudy, rain 2

Illustrative Example Another situation Answer to a question yes / no true / false win / loose success / failure success / failure 3

If an experiment (operation) has two outcomes, that is either success or failure the probability of the outcome is constant, irrespective of the preceding outcome Probability of a binomial distribution prob(success) = p prob(failure) = 1 p = q 4

Event Binomial? Why? rain no rain no probability changes sex (male female) of people in a village no probability changes sex (male female) of newly born infant yes probability is constant 5

PERMUTATIONS AND COMBINATIONS 6

Permutations and Combinations Counting the number of ways in which a number of objects can be arranged or selected. a set of n different elements a sample of size r is taken from this set The answer depends on: the meaning of the word different and the way in which the sampling is performed. How many different samples can be taken? 7

Permutations and Combinations Taking sample of size r from a set of n elements (n r) ordered with replacement ordered without replacement unordered without replacement unordered with replacement ordered sample à the order of element in the sample is important with replacement à an element may be taken more than once 8

Permutations and Combinations Example Select two stations out of four (A,B,C,D) to visit. How many different pair of stations that possibly be visited? 9

Permutations and Combinations To visit 2 stations out of 4 (r = 2, n = 4) The order of visits is important à visiting first Sta. A and Sta. B afterward is different with visiting first Sta. B and then Sta. A. With replacement à a station can be visited twice. Possibility of pair (A,A) (A,B) (A,C) (A,D) (B,A) (B,B) (B,C) (B,D) (C,A) (C,B) (C,C) (C,D) (D,A) (D,B) (D,C) (D,D) 16 à n r = 4 2 = 16 10

Permutations and Combinations To visit 2 stations out of 4 (r = 2, n = 4) The order of visits is important à visiting first Sta. A and Sta. B afterward is different with visiting first Sta. B and then Sta. A. Without replacement à a station can only be visited once. Possibility of pair (A,B) (A,C) (A,D) (B,A) (B,C) (B,D) (C,A) (C,B) (C,D) (D,A) (D,B) (D,C) ( n) r = n! ( n r)! = 4! ( 4 2)! = 12 permutation 11

Permutations and Combinations To visit 2 stations out of 4 (r = 2, n = 4) The order of visits is not important à visiting first Sta. A and Sta. B afterward is similar to visiting first Sta. B and then Sta. A. Without replacement à a station can only be visited once. Possibility of pair (A,B) (A,C) (A,D) (B,C) (B,D) (C,D) n r = n! ( n r)! r! = 4! ( 4 2)! 2! = 6 combination binomial coefficient 12

Permutations and Combinations To visit 2 stations out of 4 (r = 2, n = 4) The order of visits is not important à visiting first Sta. A and Sta. B afterward is similar to visiting first Sta. B and then Sta. A. With replacement à a station can be visited twice. Possibility of pair (A,A) (A,B) (A,C) (A,D) (B,B) (B,C) (B,D) (C,C) (C,D) (D,D) n + r 1 r ( = n + r 1 )! = ( n 1)! r! ( = 4 + 2 1 )! = 10 ( 4 1)! 2! 13

Permutations and Combinations With replacement Without replacement Ordered Unordered n + r 1 r n r ( = n + r 1 )! ( n 1)! r! ( n) r = n r n! n r ( )! = n! ( n r)! r! 14

MSExcel s Functions =FACT(n) n is a positive number, n 0 =PERMUT(n,r) n and r are integer numbers, n r =COMBIN(n,r) n and r are integer numbers, n r 15

In an operation probability of a success is p à prob(s) = p probability of a failure is q = 1 p à prob(g) = 1 p The operation is carried out once probability of a success p probability of a failure q The operation is carried out twice probability of a success followed by another success (S,S) probability of a success followed by a failure (S,G)pq probability of a failure followed by a success (G,S)qp probability of a failure followed by another failure (G,G) pp qq 16

Number of successes in two times experiments Number of successes Events Number of events with success Probability 2 (S,S) 1 pp 1 p 2 1 (S,G) or (G,S) 2 pq + qp 2 p 1 q 1 0 (G,G) 1 qq 1 q 2 17

Number of successes in three times experiments Number of successes Events Number of events with success Probability 3 (S,S,S) 1 1 ppp 1 p 3 2 (S,S,G) or (S,G,S) or (G,S,S) 1 (S,G,G) or (G,S,G) or (G,G,S) 3 3 ppq 3 p 2 q 1 3 3 pqq 3 p 1 q 2 0 (G,G,G) 1 1 qqq 1 q 3 18

Number of successes in three experiments probability of a success in the third experiment is qqp probability of a success in one of the experiments is pqq + qpq + qqp Number of successes in five experiments probability of two successes is 5 2 p2 q 3 = 10p 2 q 3 19

If experiment has the following characteristics the probability of a success is p and the probability of a failre is q = 1 p the probability of a success, p, is constant then the probability of x successes in n experiments is f X ( x;n, p) = n x px ( 1 p) n x x = 0,1,2,...,n binomial coefficient 20

Example #1 Every year in five consecutive years, a program is randomly selected out of four proposals (A,B,C,D) to receive fundings. Each program has the same probability to be selected. Questions What is the probability of A to get fundings three times? What is the probability of A to get fundings 5x, 4x, 3x, 2x, 1x, and 0x? 21

Example #1 In every selection prob(as) = probability of A being selected = ¼ = 0.25 = p prob(af) = probability of A being not selected = 1 0.25 = 0.75 = q Within five selections probability of A being selected 3 times is f X ( x;n, p) = f X ( 3;5,0.25) = 5 3 0.253 0.75 2 = 0.088 22

Number of success years in five years Number of successes Number of events Probability 0 1 0.237 1 5 0.396 2 10 0.264 3 10 0.088 4 5 0.015 5 1 0.001 Σ 1.000 23

Example #2 The probability of water level exceeding elevation h meter is 0.05 in a year. If that happens, the residential area A will be flooded. If flooding is an independent event (flooding in a particular year does not depend on the other year s event), the flooding can then be regarded as a Bernoulli process à binomial distribution. Question What is the probability of two floodings in residential area A in 20 year period? 24

Example #2 Define Thus x is the number of floodings in residential area A n is the period being considered p is the probability of water level exceeding elevation h meter, i.e. the probability of residential area A be flooded in a year x = 2; n = 20; p = 0.05 f X ( x;n, p) = f X ( 2;20,0.05) = 20 2 0.052 0.95 18 = 0.1887 25

Example #3 To be 90% sure that a design flood discharge will not be exceeded within 10 year period, what is the return period of the design flood? Example #4 Considering the above example, what is the risk of T-year flood discharge be exceeded at least once within T years? 26

27