Statistics 251: Statistical Methods

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

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

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

Probability- describes the pattern of chance outcomes

P [(E and F )] P [F ]

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Probability: Sets, Sample Spaces, Events

Chapter 2: Probability Part 1

STA Module 4 Probability Concepts. Rev.F08 1

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

Fundamentals of Probability CE 311S

3 PROBABILITY TOPICS

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

Math 1313 Experiments, Events and Sample Spaces

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

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips

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

STAT 111 Recitation 1

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

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

Econ 113. Lecture Module 2

Lecture Lecture 5

Lecture 3 Probability Basics

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

Probability: Axioms, Properties, Interpretations

Chapter 2 PROBABILITY SAMPLE SPACE

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

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

Ch 14 Randomness and Probability

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

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

Chapter 6. Probability

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

Basic Probability. Introduction

3.2 Probability Rules

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

STAT Chapter 3: Probability

CHAPTER 3 PROBABILITY TOPICS

Sets and Set notation. Algebra 2 Unit 8 Notes

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Grades 7 & 8, Math Circles 24/25/26 October, Probability

Introduction to Probability

Section 13.3 Probability

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

Statistical Theory 1

2011 Pearson Education, Inc

MA : Introductory Probability

Chapter 6: Probability The Study of Randomness

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

Probability. Lecture Notes. Adolfo J. Rumbos

Probability: Part 1 Naima Hammoud

Probability (Devore Chapter Two)

A brief review of basics of probabilities

Notes 1 Autumn Sample space, events. S is the number of elements in the set S.)

The Practice of Statistics Third Edition

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

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

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

Chapter 1 (Basic Probability)

Elements of probability theory

324 Stat Lecture Notes (1) Probability

the time it takes until a radioactive substance undergoes a decay

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

Name: Firas Rassoul-Agha

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

Chapter 8: An Introduction to Probability and Statistics

RVs and their probability distributions

CMPSCI 240: Reasoning about Uncertainty

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

Probability Theory and Applications

Intermediate Math Circles November 8, 2017 Probability II

ECE353: Probability and Random Processes. Lecture 2 - Set Theory

Dept. of Linguistics, Indiana University Fall 2015

Econ 325: Introduction to Empirical Economics

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 4.1-1

MODULE 2 RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES DISTRIBUTION FUNCTION AND ITS PROPERTIES

Lecture notes for probability. Math 124

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

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

Elementary Discrete Probability

Probabilistic models

CIS 2033 Lecture 5, Fall

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

Axioms of Probability

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Discrete Structures for Computer Science

CS626 Data Analysis and Simulation

Math 243 Section 3.1 Introduction to Probability Lab

Probability Year 9. Terminology

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Probability Theory. Introduction to Probability Theory. Principles of Counting Examples. Principles of Counting. Probability spaces.

1 Probability Theory. 1.1 Introduction

DEFINITION: IF AN OUTCOME OF A RANDOM EXPERIMENT IS CONVERTED TO A SINGLE (RANDOM) NUMBER (E.G. THE TOTAL

Probability Notes (A) , Fall 2010

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

Transcription:

Statistics 251: Statistical Methods Probability Module 3 2018 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 1/33

Terminology probability: likelihood of an event in an experiment ocurring; like the chance of precipitation tomorrow. There are personal probabilities (subjective) and empirical probabilitites (objective) outcome: result of experiment event: any combination of outcomes, can be a collection of one or more outcomes; most often mathematically represented with capital (English) letters, like,, etc. probability of event : denoted as, meaning the chance that event occurs sample space ( ): the entire collection of events from an experiment; the set of all possible outcomes of an experiment trial: every instance of an experiment; the total number of trials 2/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 2/33

Probability Rules 1., probabilities must be between 0 and 1 (0% and 100%) 2., the sum of the probabilities for an experiment must sum to 1 (the sample space) 3., the complement of the probability of event is 1 minus the probability of A; it is whatever is not in. The symbol is "Aprime", is stated as "A-complement" or "A-not" (compliment with an 'i' is to give praise, complement with an 'e' means a number or quantity of something required to make a group complete) More to add to the list 3/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 3/33

Intersections and Unions union: the union of two events, and, is all of the outcomes from or. The symbol is a and the key word to watch for is or; the probability of the union of two events and is, or intersection: the intersection of two events, and, is the set of events that and have in common (where they overlap). The symbol is a and the key word to watch for is and; the probability of the intersection of two events and is, or Example: let,, and. union: with {4,5} not listed twice (no duplicates); intersection: 4/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 4/33

Probabilities of intersections and unions A basic probability, where all events have an equal chance of happening (equal probability of occurrence), is, or 50% or 50% Note that 5/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 5/33

Events logistics I mutually exclusive/disjoint: when there is no intersection between events, (the intersection is an empty set, i.e. it does not exist). Events and cannot happen at the same time if they are disjoint (mutually exclusive). It is like being in two places at the same time (it cannot happen) independent: If two events, and are independent, then the outcome of one event has no impact on the outcome of the other event; independence of events cannot be assumed at your convenience Disjoint events independent events 6/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 6/33

Venn diagram I A Venn diagram is a graph (picture) that represents the events of an experiment. It usually is a box that represents the sample space and has circles that represent the events (,, etc.) This one shows two events, and with an intersection. 7/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 7/33

Venn diagram II This one shows two events, and for disjoint/mutually exclusive events. 8/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 8/33

Events logistics II sampling with replacement (swr): when a member of a population is chosen, it is then replaced back into the population and has another chance to be chosen for the sample; probabilities will not change for the second pick, in other words, events are considered to be independent sampling without replacement (swor): when a member of a population is chosen, it is not replaced back into the population and no longer has another chance to be chosen for the sample; probabilities will change for the second pick since there are 1 fewer elements to choose from each time one is chosen, the events are considered to be dependent (not indpendent) 9/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 9/33

swr and swor example data Data for example: Suppose we have a population: (where is the population size) Find the distribution of all possible samples (also called a sampling distribution) when done with swr and swor, samples of. Population values will be calculated and sample values will be calculated (mean, variance, standard deviation) for each sampling method to show the variation in the samples 10/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 10/33

Population formulas The population mean is where is the population size The population variance is The population standard deviation is Note that these formulas are slightly different from the sample formulas we use. For most calculations in this class, we will use the sample formulas, not these 11/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 11/33

Population calculations 12/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 12/33

Sample formulas for swr and swor In the following two examples, the mean ( ), variance ( ), and standard deviation ( ) are calculated using sample formulas since we are looking at all possible samples when sampling sampling with replacement (swr) and again when sampling without replacement (swor). The sample mean is The sample variance is The sample standard deviation is 13/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 13/33

swr example 14/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 14/33

swor example 15/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 15/33

Addition rule (4) Addition rule The probability of the union of and is: This formula can be modified if the union of one or both complements is required; if the union is given, then the intersection can be solved for. If two events are mutually exclusive, then the intersection is an empty set (it does not exist), the intersection is the sum of the probabilities of the two events. 16/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 16/33

Multiplication Rule (5) Multiplication rule ( THIS RULE IS FOR INDEPENDENT EVENTS ONLY!!!) If two events, and are independent, their intersection can be calculated as: This equation can also be used to prove or disprove independence Again, it cannot be assumed, you have to either be told they are independent or prove it mathematically with the above formula. 17/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 17/33

Conditional Probability (6) Conditional probability The probability of event, given that event already ocurred, is stated as has This formula can be modified if the conditional probability of one or both complements is required; can also be used to prove independence. If and are independent, then 18/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 18/33

Rules recap 1. 2. 3. 4. Addition rule: 5. Multiplication rule: (independent events only) 6. Conditional probability: Pay attention to the formulas. They can be modified for finding complements, as well as solving for unknown values with a bit of algebra 19/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 19/33

Confusion Matrix One way to help calculating probabilities of intersections, many time for use in other calculations 1. Create a 2X2 table, including row and column headers and totals 2. Label the rows with and the columns with 3. The row totals are the values of and the columns totals are 4. The grand total (bottom right corner cell) is always 1 ( ) 5. The upper left cell of the matrix (table) is ; it has to be given or calculated 6. Solve for the other 3 cells of the matrix by way of row and column totals 20/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 20/33

Matrix setup 21/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 21/33

Matrix example Suppose that,, or 22/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 22/33

More matrix Are and independent? We can use either or to prove it. With either method, the results are the same. Since the statements were false, events and are not independent (they are dependent). 23/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 23/33

Example of flipping two fair coins When you flip a fair coin (one that is not weighted so that one side is more likely to come up than the other), the chance that it is a head is 50% and the chance that it is a tail is 50%; either side is equally likely. List out all possible combinations 2 heads: (H,H); 1 head: (H,T), (T,H); 0 heads: (T,T) : flipping coins are independent events 2 heads: 1 head: 0 heads: 24/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 24/33

Probability distribution of number of heads 25/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 25/33

Example of the sum of two 6- sided dice When you roll a fair 6-sided die (one that is not weighted so that one side is more likely to come up than the others), the chance that it is a 1 is onesixth, 2 is one-sixth, etc.; all sides are equally likely. List out all possible combinations sum=2: (1,1) sum=3: (1,2), (2,1) sum=4: (1,3), (3,1), (2,2) sum=5: (1,4), (4,1), (2,3), (3,2) sum=6: (1,5), (5,1), (2,4), (4,2), (3,3) sum=7: (1,6), (6,1), (2,5), (5,2), (3,4), (4,3) sum=8: (2,6), (6,2), (3,5), (5,3), (4,4) sum=9: (3,6), (6,3), (4,5), (5,4) sum=10: (4,6), (6,4), (5,5) sum=11: (5,6), (6,5) sum=12: (6,6) 26/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 26/33

Probability distribution of sum of two 6-sided dice 27/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 27/33

Contingency tables Table displays sample values in relation to two different variables that may be dependent (contingent) on one another. You can display with counts or relative requencies (probabilities) Cell counts or probabilities are intersections, row and column totals are the individual counts or probabilities Refer to the confusion matrix, it is the same thing. The inside cells of the table are intersections between rows and columns, with the row and column totals being the single events (,, etc.) 28/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 28/33

Table of counts The following table shows a random sample of 100 hikers and the areas of hiking they prefer. 29/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 29/33

Counts table example 30/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 30/33

Table of probabilities Muddy Mouse lives in a cage with three doors. If Muddy goes out the first door, the probability that he gets caught by Alissa the cat is 1/5 and the probability he is not caught is 4/5. If he goes out the second door, the probability he gets caught by Alissa is 1/4 and the probability he is not caught is 3/4. The probability Alissa catches Muddy from the third door is 1/2 and the probability he is not caught is 1/2. It is equally likely that Muddy will choose any of the three doors so the probability of choosing each door is 1/3. (book p. 194) 31/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 31/33

Mouse examples I "If Muddy goes out the first door, the probability that he gets caught by Alissa the cat is 1/5 and the probability he is not caught is 4/5." These are conditional probabilities with and "If he goes out the second door, the probability he gets caught by Alissa is 1/4 and the probability he is not caught is 3/4." and "If he goes out the third door, the probability that he gets caught by Alissa the cat is 1/2 and the probability he is not caught is 1/2." and "It is equally likely that Muddy will choose any of the three doors so the probability of choosing each door is 1/3." This means that his choice of any door is 1/3 so 32/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 32/33

Mouse examples II Use the formula for conditional probability to solve for the intersections and so on Situations like the mouse are challenging so make sure you read very carefully and reorganize the information so that you make sure as to what you really have 33/33 file:///volumes/users/r/renaes/documents/classes/lectures/251301/renae/markdown/master%20versions/module3.html#1 33/33