Chapter 1 (Basic Probability)

Similar documents
CIVL Why are we studying probability and statistics? Learning Objectives. Basic Laws and Axioms of Probability

Lecture 1. Chapter 1. (Part I) Material Covered in This Lecture: Chapter 1, Chapter 2 ( ). 1. What is Statistics?

Probability- describes the pattern of chance outcomes

Lecture Lecture 5

ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page α 2 θ 1 u 3. wear coat. θ 2 = warm u 2 = sweaty! θ 1 = cold u 3 = brrr!

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Fundamentals of Probability CE 311S

Lecture notes for probability. Math 124

Chapter 6: Probability The Study of Randomness

Axioms of Probability

Chapter 2: Probability Part 1

Econ 325: Introduction to Empirical Economics

ENGI 3423 Introduction to Probability; Sets & Venn Diagrams Page 3-01

MA : Introductory Probability

Probability Theory and Applications

STAT Chapter 3: Probability

Sociology 6Z03 Topic 10: Probability (Part I)

CIVL 7012/8012. Basic Laws and Axioms of Probability

2011 Pearson Education, Inc

Making Hard Decision. Probability Basics. ENCE 627 Decision Analysis for Engineering

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

CMPSCI 240: Reasoning about Uncertainty

Information Science 2

Introduction to Probability

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

CIVL Probability vs. Statistics. Why are we studying probability and statistics? Basic Laws and Axioms of Probability

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

STT When trying to evaluate the likelihood of random events we are using following wording.

Probability and Sample space

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions

STAT 430/510 Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Probability COMP 245 STATISTICS. Dr N A Heard. 1 Sample Spaces and Events Sample Spaces Events Combinations of Events...

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

MATH2206 Prob Stat/20.Jan Weekly Review 1-2

Review of Basic Probability

STP 226 ELEMENTARY STATISTICS

ACM 116: Lecture 1. Agenda. Philosophy of the Course. Definition of probabilities. Equally likely outcomes. Elements of combinatorics

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

3.2 Probability Rules

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

MATH MW Elementary Probability Course Notes Part I: Models and Counting

Probability: Sets, Sample Spaces, Events

Business Statistics. Lecture 3: Random Variables and the Normal Distribution

Example: Suppose we toss a quarter and observe whether it falls heads or tails, recording the result as 1 for heads and 0 for tails.

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

18.600: Lecture 3 What is probability?

Basic Statistics and Probability Chapter 3: Probability

CS626 Data Analysis and Simulation

Announcements. Topics: To Do:

Lecture 1 : The Mathematical Theory of Probability

Introduction to Probability

Chapter 4 - Introduction to Probability

4. Probability of an event A for equally likely outcomes:

Chapter 1: Revie of Calculus and Probability

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes.

Statistics 251: Statistical Methods

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

F71SM STATISTICAL METHODS

Stats Probability Theory

MAE 493G, CpE 493M, Mobile Robotics. 6. Basic Probability

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

STA Module 4 Probability Concepts. Rev.F08 1

Probability: Axioms, Properties, Interpretations

Introduction to probability

AP Statistics Ch 6 Probability: The Study of Randomness

Statistical Inference

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Mathematical Probability

Basic notions of probability theory

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

Today we ll discuss ways to learn how to think about events that are influenced by chance.

UNIT 5 ~ Probability: What Are the Chances? 1

Probability. 25 th September lecture based on Hogg Tanis Zimmerman: Probability and Statistical Inference (9th ed.)

Lecture 1. ABC of Probability

Lecture 3 - Axioms of Probability

Probability the chance that an uncertain event will occur (always between 0 and 1)

Event A: at least one tail observed A:

Origins of Probability Theory

Section 13.3 Probability

Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on

With Question/Answer Animations. Chapter 7

AMS7: WEEK 2. CLASS 2

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Experiment -- the process by which an observation is made. Sample Space -- ( S) the collection of ALL possible outcomes of an experiment

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning

Math 1313 Experiments, Events and Sample Spaces

Sixth Edition. Chapter 2 Probability. Copyright 2014 John Wiley & Sons, Inc. All rights reserved. Probability

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Basic notions of probability theory

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Chapter 5: Probability in Our Daily Lives

an event with one outcome is called a simple event.

Transcription:

Chapter 1 (Basic Probability) What is probability? Consider the following experiments: 1. Count the number of arrival requests to a web server in a day. 2. Determine the execution time of a program. 3. No of calls received at the IR help desk. What is common to the above experiments? Random phenomena in computer environments: Arrival of jobs. Execution time. Memory requirement. Failure of components. Exposure to viruses. Errors in codes. Etc. Random phenomena elsewhere: Economy: Stock prices, number of jobs, price of oil, etc. Environment: Temperature, earthquakes, rainfall, etc. Going to UTD: # of green lights, available parking, etc. This class: Scores, time spent on each topic, etc. This course: Model uncertainty, quantify uncertainty and make decisions under uncertainty. Probability means Chance (common language) Odds (gambling) Long-term proportion (relative frequency) Likelihood (forecasting) Finite measure (mathematics) Probability = function of an event = P(E) What is an event? Consider a random experiment. Its results are outcomes. Sample space S = {all possible outcomes} Event E = a combination of outcomes = a subset of S Event E occurs when the experiment results in an outcome that is contained in E. 1

Range of probability: Ex: Find S for the experiments 1-3 mentioned at the beginning. Ex: Consider the execution of an if statement twice: if then T else E. What is S? Ex: Consider a system with two components. The experiment consists of observing the status of the components: W (working) or F (failed). Describe the following events. (a) At least one component has failed. (b) Exactly one component has failed. Finding probability of an event E: If E = {O 1, O 2,, O k } = {outcomes}, then P(E) = An empty event φ = {} has P(φ) = 0. P(S) = Some set operations: E 1, E 2,, E n events (sets of outcomes) Union of events E 1, E 2,, E n is an event that consists of all outcomes of E 1, E 2,, E n occurs if any of E 1, E 2,, E n occurs (or at least one of E 1, E 2,, E n occurs). is denoted as E 1 E 2 E n = {E 1 or E 2 or or E n } Venn Diagram: 2

Intersection of events E 1, E 2,, E n is an event that consists of common outcomes of E 1, E 2,, E n occurs if each E 1, E 2,, E n occurs is denoted as E 1 E 2 E n = {E 1 and E 2 and and E n } Venn Diagram: Complement of an event E is an event that consists of outcomes that are not in E occurs if E does not occur is denoted as E C = {not E}. Venn Diagram: What is the Venn Diagram for the event A C B? Disjoint or mutually exclusive events are those that cannot occur together their intersection = {} Venn diagram: Exhaustive events are those whose union = Sample space at least occurs for sure. Example =? 3

Basic rules of probability For any event E, P({}) = and P(S) = For disjoint events E 1, E 2,, E n : P(E 1 E 2 E n ) = For any two events E 1 and E 2 : P(E 1 E 2 ) = Complement rule. For event E and its complement E C : P(E E C ) = Which one should we compute, P(E) or P(E C )? Independent events: P(E 1 E 2 ) = P(E 1 ) P(E 2 ) P(E 1 E 2 E n ) = P(E 1 ) P(E 2 ) P(E n ) Basic idea: One event has information about the other event. Q. Can disjoint events be independent? Q. Can exhaustive events be independent? (More on independence later.) How to find probability of an event? Recall: If E = {O 1, O 2,, O k } = {outcomes}, then P(E) = Q: How to assign probabilities to the outcomes? 4

Classical approach for assigning probability: Assume a mathematical model for the outcomes in S. Popular model: When S = finite = {O 1, O 2,, O N }, assume that the outcomes {O i } are equally likely, i.e., P(O 1 ) = P(O 2 ) = = P(O N ) = Then, for any event E, P(E) = So, the problem reduces to that of just counting. We will talk more about counting techniques later. Equally likely outcomes Random sampling Tossing a fair coin Not equally likely outcomes Errors in different modules of a program Tossing an unfair coin Market ups and downs Ex: Suppose a dice is such that the even outcomes are twice as likely to occur as the odd outcomes; all the even outcomes are equally likely and all the odd outcomes are equally likely. O i = Outcome i occurs. (a) Find P(O i ) for i=1,2,3,4,5,6. (c) A = outcome is odd. Find P(A). (d) B = 3 outcome 5. Find P(B). 5

Relative frequency approach for assigning probability: Repeat the experiment a large number of times under identical conditions. # E = # times the event E occurs in n repetitions. P(E) = So, approximately, P(E) = long-term proportion of times E occurs. Ex: How to find P(It will rain tomorrow)? Subjective approach: If the experiment is either theoretically or practically unrepeatable, then use your personal degree of belief to assign probability. Note: Irrespective of which approach is used to assign probabilities, we generally use the relative frequency approach to interpret probabilities. Thus, P(E) is interpreted as the proportion of times the event A will occur in a large number of identical replications of the experiment. Ex: The experience of a computer manufacturer shows that 30% of the customers buy a flat screen monitor, 60% buy a printer and 20% buy both. (a) What is the probability that a customer will buy at least one of the two options? (b) What is the probability that a customer buys none of the two options? 6