Jerry Post Copyright © 2003 1 Database Management Systems: Data Mining Statistics Review.

Slides:



Advertisements
Similar presentations
A Survey of Probability Concepts
Advertisements

A Survey of Probability Concepts
© 2002 Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft Excel (3 rd Edition) Chapter 4 Basic Probability and Discrete Probability Distributions.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Section 4.2 Probability Rules HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights.
1 Probably About Probability p
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Elementary Probability Theory
Chapter 4 Basic Probability
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
Chapter Two Probability. Probability Definitions Experiment: Process that generates observations. Sample Space: Set of all possible outcomes of an experiment.
Conditional Probability and Independent Events. Conditional Probability if we have some information about the result…use it to adjust the probability.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
Class notes for ISE 201 San Jose State University
CEEN-2131 Business Statistics: A Decision-Making Approach CEEN-2130/31/32 Using Probability and Probability Distributions.
Chapter 4 Basic Probability
PROBABILITY (6MTCOAE205) Chapter 2 Probability.
Copyright ©2011 Pearson Education 4-1 Chapter 4 Basic Probability Statistics for Managers using Microsoft Excel 6 th Global Edition.
© Buddy Freeman, 2015Probability. Segment 2 Outline  Basic Probability  Probability Distributions.
Chapter 4 Basic Probability
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Probability and Probability Distributions
Chapter 4 Probability See.
Statistical Reasoning for everyday life Intro to Probability and Statistics Mr. Spering – Room 113.
Elementary Probability Theory
Statistics 3502/6304 Prof. Eric A. Suess Chapter 4.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
Introduction to Management Science
11-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Probability and Statistics Chapter 11.
Section 2 Probability Rules – Compound Events Compound Event – an event that is expressed in terms of, or as a combination of, other events Events A.
Copyright ©2014 Pearson Education Chap 4-1 Chapter 4 Basic Probability Statistics for Managers Using Microsoft Excel 7 th Edition, Global Edition.
Using Probability and Discrete Probability Distributions
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
PROBABILITY. Counting methods can be used to find the number of possible ways to choose objects with and without regard to order. The Fundamental Counting.
Chapter 4 Probability. Probability Defined A probability is a number between 0 and 1 that measures the chance or likelihood that some event or set of.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
5- 1 Chapter Five McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chap 4-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 4 Using Probability and Probability.
Lesson 6 – 2b Probability Models Part II. Knowledge Objectives Explain what is meant by random phenomenon. Explain what it means to say that the idea.
CHAPTER 12: General Rules of Probability Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
1 Probably About Probability p
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
1 Chapter 4 – Probability An Introduction. 2 Chapter Outline – Part 1  Experiments, Counting Rules, and Assigning Probabilities  Events and Their Probability.
Basic Business Statistics Assoc. Prof. Dr. Mustafa Yüzükırmızı
Introduction to Probability 1. What is the “chance” that sales will decrease if the price of the product is increase? 2. How likely that the Thai GDP will.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Basic Business Statistics 11 th Edition.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
Independent and Dependent Events Lesson 6.6. Getting Started… You roll one die and then flip one coin. What is the probability of : P(3, tails) = 2. P(less.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Probability. Definitions Probability: The chance of an event occurring. Probability Experiments: A process that leads to well- defined results called.
Chap 4-1 Chapter 4 Using Probability and Probability Distributions.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Statistics for Managers 5th Edition
Yandell – Econ 216 Chap 4-1 Chapter 4 Basic Probability.
Elementary Probability Theory
Chapter 4 Using Probability and Probability Distributions
Chapter 4 Probability.
Chapter 4 Basic Probability.
A Survey of Probability Concepts
Chapter 4 – Probability Concepts
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Chapter 4 Basic Probability.
Unit 1: Basic Probability
Elementary Statistics 8th Edition
Presentation transcript:

Jerry Post Copyright © Database Management Systems: Data Mining Statistics Review

DATABASE 2 Probability  Relative frequency approach: The number of times that an event occurs out of the total population of events.  You have 3 red balls and 7 white balls in a bag. The probability of drawing a white ball on the first try is 70%.  Your customers are distributed across five cities: 35% in City A, 25% in City B, 20% in City C, 15% in City D, 15% in City E.  Subjective probability: A belief in the likelihood of an outcome. Often subjective because of lack of full information. Generally modified over time based on acquisition of new information. It is important to separate belief from preference (but difficult), and also important that subjective probability maintain consistency.  There is a 65% chance that the Federal Reserve board will reduce interest rates at the next meeting.

DATABASE 3 Probability: Frequency  Need a complete count of events  Permutations: Order does count  Combinations: Order does not count  Basic multiplication rule. If a single action has k ways to be performed, and the action is performed n times; the total number of possible outcomes is: k*k*k*…*k  Flip a coin five times (n=5). A single act has two outcomes (k=2), so there are 2 5 = 32 possible outcomes.

DATABASE 4 Counting: Permutation  How many ways can objects (or actions) be rearranged?  You have four cards: A, K, Q, J. How many ways can they be arranged?  Four items (n) arranged one card at a time (r):4 * 3 * 2 * 1 A K Q J Q J K J K Q J Q J K Q K K, Q, J 4321

DATABASE 5 Permutation: General  Ways to rearrange n items taken r at a time:  n(n-1)(n-2)…(n-r+1)

DATABASE 6 Combinations  Number of ways of selecting items, and order does not count.  Combinations are smaller than permutations  You can divide the number of permutations by the number of ways of arranging the r objects (r!)  Elect three people from a group of ten. n = 10, r = 3

DATABASE 7 Probability Rules: Complement  Complement (opposite):  P(E) + P(E’) = 1  The probability of an event happening or not happening is one.

DATABASE 8 Probability Rules: Mutually Exclusive  Mutually Exclusive: Only one event of a group can happen. The probability of both occurring is zero.  P(A  B) = 0  Then, the probability of one or the other of the events occurring is computed by the sum of the probabilities:  P(A  B) = P(A) + P(B)  Example, pool balls, numbered 1 through 10  Event A: Draw a ball number <= 3  Event B: Draw a ball number >= 6  P(A or B) = 3/10 + 5/10 = 8/10  Can also find as complement: 1 – 2/10 = 8/10  In general, P(E 1  E 2  …  E n ) =  P(E i )

DATABASE 9 Probability Rules: Independence  Events are independent (pairwise) if they have no influence on each other.  If events are independent, the probability of both events occurring is found by multiplying their individual probabilities:  P(A  B) = P(A) P(B)  Example: An urn has 3 red balls and 7 white ones. Draw a ball and then flip a coin. What is the probability you draw a white ball and flip heads?  P(A  B) = 0.7 * 0.5 = 0.35

DATABASE 10 Conditional Probability  The probability that event A will occur given that event B has already happened: P(A | B)  Example 1: An urn has 3 red balls and 7 white ones. On the first draw you pull out a white ball (event B). If you do not replace that ball in the urn, what is the probability of drawing a red ball next (Event A). Answer: 3/9 Note that these events are not independent.  In general, the probability of two events occuring:  P(A  B) = P(A) P(B | A)  Example 2: Draw 2 cards from a 52-card deck without replacement. What is the probability that both are kings?  P(King 1 ) = 4/52P(King 2 | King 1 ) = 3/51  P(King 2  King 1 ) = 4/52 * 3/51

DATABASE 11 Probability: Joint and Conditional Table FemaleMale Married Not Married P(Female) =.70 P(Married  Female) =.42 P(Married | Female) = P(M  F)/P(F) =.42/.70

DATABASE 12 Joint Probability: Tree Diagram Manufacturing: Group A: 4 machines 5% defect rate Group B: 6 machines, 10% defect rate Choose a machine, then a product—probability defective? * * * * * * * P(A) =.4 P(B) =.6 P(D | A) =.05 P(D’ | A) =.95 P(D | B) =.10 P(D’ | B) =.90 P(A  D) =.02 P(A  D’) =..38 P(B  D) =.06 P(B  D’) =

DATABASE 13 Joint Probabilities: Table ProbabilityDefective (D)Non-defective (D’) P(A) = P(B) = ProductionDefective (D)Non-defective (D’) A B Total P(A  D) = P(A)*P(D|A) = 0.4(0.05) =.2

DATABASE 14 Bayes’ Theorem Now, in a sense, work backwards. We sample a part at random and it is defective. What is the probability that it came from machine A? Machine B? P(A | D) = 0.02/0.08 = 1/4 P(B | D) = 0.06/0.08 = 3/4 In this example, the machine is the state of nature we wish to identify, and defective or not is the information.

DATABASE 15 Bayes’ Theorem in General We know: (1)There are n states of nature S 1, S 2, …, S n (2)An initial (a priori) probability for each state (3)Some type of information I (4)The conditional probabilities: P(I | S i ) We can compute the posterior probabilities, given the new information:

DATABASE 16 Bayes’ Theorem Example  Chao: Statistics for Management/2e  States of economy: S1: recession, S2: stable, S3: prosperity  P(S1) =.25, P(S2) =.5, P(S3) =.25 (in general/a priori)  We have forecasts as information. The forecasts are either optimistic (I) or pessimistic (I’)  The results of the forecasts in the past are as follows: Prior Probability State of Economy Optimistic (I)Pessimistic (I’) P(S1) =.25S P(S2) =.50S20.5 P(S3) =.25S

DATABASE 17 Example: Joint Probability Prior ProbabilityState of Economy Optimistic (I) P(I | Si) Pessimistic (I’) P(I’ | Si) P(S1) =.25S P(S2) =.50S20.5 P(S3) =.25S StateOptimistic (I)Pessimistic (I’) S1 P(S1  I) = S2 P(S2  I) = S3 P(S2  I) = TotalP(I) = 0.475P(I’) = 0.525

DATABASE 18 Bayes’ Example StateOptimistic (I)Pessimistic (I’) S1 P(S1  I) = S2 P(S2  I) = S3 P(S2  I) = TotalP(I) = 0.475P(I’) = Probability next year is prosperous (S3) if the forecast is optimistic (I): P(S3 | I) = P(S3  I)/P(I) = 0.200/0.475 =.421

DATABASE 19 Bayes: Prior and Posterior Probabilities Probability estimates at the start (a priori) are naïve: P(S1) = 0.25 P(S2) = 0.50 P(S3) = 0.25 Probabilities after the forecast (posterior) reflect the new information: P(S1 | I) = 0.053P(S1 | I’) = P(S2 | I) = 0.526P(S2 | I’) = P(S3 | I) = 0.421P(S3 | I’) = 0.095

DATABASE 20 Mean and Standard Deviation Mean=0 Standard deviations: 1, 2, 3

DATABASE 21 Cumulative Normal P(X<=3) P(X<=0) P(X<=1) P(X<=2)

DATABASE 22 Hypothesis Testing Critical value  