Docsity

Probability - Lecture Notes - Introduction to Statistics | STAT 104, Study notes of Statistics

Toggle sidebar
bg1
Chapter 5
Probability
Section 5.1
Probability of
Simple Events
Probability is a measure of the likelihood of a random phenomenon or
chance behavior. Probability describes how likely it is that some event will
occur.
Probability falls into 3 major approaches.
1. Classical Approach
2. Empirical/Experimental Approach
3. Subjective Approach
We will discuss each approach in detail, but first we need to look at some
basic ideas associated with probability.
In probability, an experiment is any process that can be repeated in which
the results are uncertain. Probability experiments do not always produce the
same results or outcome, so the result of any single trial of the experiment is
not known ahead of time.
Suppose we are to flip a coin one time, what is the probability that we
observe a tails?
So if we flip the coin 10 times, would we definitely see 5 tails? Why not?
What if we flipped the coin 100 times?
A million times?
72
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Probability - Lecture Notes - Introduction to Statistics | STAT 104 and more Study notes Statistics in PDF only on Docsity!

Chapter 5

Probability

Section 5.

Probability of

Simple Events

Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes how likely it is that some event will occur. Probability falls into 3 major approaches.

  1. Classical Approach
  2. Empirical/Experimental Approach
  3. Subjective Approach We will discuss each approach in detail, but first we need to look at some basic ideas associated with probability. In probability, an experiment is any process that can be repeated in which the results are uncertain. Probability experiments do not always produce the same results or outcome, so the result of any single trial of the experiment is not known ahead of time. Suppose we are to flip a coin one time, what is the probability that we observe a tails? So if we flip the coin 10 times, would we definitely see 5 tails? Why not? What if we flipped the coin 100 times? A million times?

The Law of Large Numbers As the number of repetitions of a probability experiment increases, the proportion with which a certain outcome is observed gets closer to the probability of the outcome. Suppose I have a fair die and I am going to roll that die one time and observe the outcome. What are all the possible outcomes? The sample space, S, of a probability experiment is the collection of all possible outcomes or simple events. A simple event is any single outcome from a probability experiment. Each simple event is denoted e i. An event is any collection of outcomes from a probability experiment. An event may consist of one or more simple events. Events are denoted using capital letters such as E. Properties of Probabilities We define the probability of an event , denoted P(E), as the likelihood of that event occurring. Probabilities have some properties that must be satisfied.

  1. The probability of any event E, P(E), must be between 0 and 1 inclusive. That is, 0  P(E)  1.
  2. If an event is impossible , the probability of the event is 0.
  3. If an event is a certainty , the probability of the event is 1.
  4. If S = { e 1 , e 2 ,... , e n} then P( e 1 ) + P( e 2 ) +... + P( e n) = 1. We will now discuss the three methods or approaches for determining probabilities.

( )!! ! " choose " n r r n n r r n  ^       Example 1: Let the sample space be S = {1,2,3,4,5,6,7,8,9,10}. Suppose the simple events are equally likely. Compute the probability of the event E = “an odd number” Example 2: What is the probability of getting a flush (all cards of the same color) in a 5-card poker hand when a standard 52 card deck is used?

Empirical/Experimental Approach

In this approach, probabilities are obtained from empirical evidence, that is, evidence based upon the outcomes of a probability experiment. Approximating Probabilities through the Empirical Approach The probability of an event E is approximately the number of times event E is observed divided by the number of repetitions of the experiment. P(E)  relative frequency of E (numberof trialsofexperiment ) (frequencyof E ) P ( E ) Example: On September 8, 1998, Mark McGwire hit his 62 nd homerun of the season. Of the 62 homeruns he hit, 26 went to left field, 21 went to

left center, 12 went to center, 3 went to right center and 0 went to right field.

  1. What is the probability that a randomly selected homerun was hit to left center field?
  2. What is the probability that a randomly selected homerun was hit to right field?
  3. Is it impossible for Mark McGwire to hit a homerun to right field? Tree Diagrams Tree diagrams can be used to determine the sample space of an experiment. Example: Compute the probability of having one boy and three girls in a four- child family assuming boys and girls are equally likely.

Compound Events are formed by combining two or more simple events.

  1. The probability that both events E and F will occur P(E and F) = P(EF)
  2. The probability that either E or F will occur P(E or F) = P(EF)
  3. The probability that event E will occur given that event F has already occurred. P(E|F) = “probability of E given F” Let E and F be two events. E and F is the event consisting of simple events that belong to both E and F. E or F is the event consisting of simple events that belong to either E or F or both. Let us visualize these concepts using Venn Diagrams. Addition Rule For any two events E and F, P(E or F) = P(EF) = P(E) + P(F) – P(E and F) = P(E) + P(F) –P(EF)

If events E and F have no simple events in common or cannot occur simultaneously, they are said to be disjoint or mutually exclusive. Addition Rule for Mutually Exclusive Events If E and F are mutually exclusive events, then P(E or F) = P(E) + P(F)

  1. Compute the probability of randomly selecting a two or three from a deck of cards.
  2. Compute the probability of randomly selecting a two or three or four from a deck of cards.
  3. Compute the probability of randomly selecting a two or club from a deck of cards.
  4. Compute the probability of randomly selecting a card other than a two from a deck of cards.

Section 5.

The Multiplication Rule

Conditional Probability The notation P(F | E) is read “the probability of event F given event E”. It is the probability of an event F occurring given the occurrence of the event E. The Multiplication Rule The probability that two events, E and F both occur is P(E and F)= P^ (^ E ^ F ) = P(E) * P(F | E) In words, the probability of E and F occurring is the probability of event E occurring times the probability of event F occurring given the occurrence of event E. Note: P^ (^ E ^ F ) is referred to as the joint probability of E and F. P(E) is referred to as the marginal probability of E. Example:

Two events E and F are independent if the occurrence of event E in a probability experiment does not affect the probability of event F. Two events are dependent if the occurrence of event E in a probability experiment affects the probability of event F. Independent Events Two events E and F are independent if and only if P(F | E) = P(F) or P(E | F) = P(E) Multiplication Rule for Independent Events If E and F are independent events, the probability that E and F both occur is P(E and F) = P(E)*P(F) In words, the probability of E and F is the probability of event E occurring times the probability of event F occurring.

Section 5.

Conditional Probability

Conditional Probability Rule If E and F are any two events, then ( ) ( ) ( ) ( ) ( | ) N E NEand F P E PEand F P F E   The probability of event F occurring given the occurrence of event E is found by dividing the probability of E and F by the probability of E. Or, the probability of event F occurring given the occurrence of event E is found by dividing the number of simple events in E and F by the number of simple events in E. Likewise, ( ) ( ) ( ) ( ) ( | ) N F NEand F P F PEand F P E F   Hence, we can use Bayes Rule to conclude, P(E|F) = P(E|F)P(F) =P(F|E)P(E) Checking for independence : If P(E and F) = P(E)*P(F), then events E and F are independent. Example: A box contains 100 microchips, some of which were produced by factory 1 and the rest by factory two. Some of the chips are defective and some are good. An experiment consists of choosing one microchip at random from the box and testing whether it is good or defective. The data are presented in the following table. factory 1 factory 2 Total defective 15 5 Good 45 35