Download presentation
Presentation is loading. Please wait.
Published byClifford McBride Modified over 9 years ago
1
SESSION 31 & 32 Last Update 14 th April 2011 Discrete Probability Distributions
2
Lecturer:Florian Boehlandt University:University of Stellenbosch Business School Domain:http://www.hedge-fund- analysis.net/pages/vega.php
3
Learning Objectives All measures for grouped data: 1.Data types revisited 2.Probability trees – with and without replacement 3.Binomial distribution
4
Random Variable A random variable is a function or rule that assigns a number to each outcome of an experiment. We can distinguish between continuous and discrete random variables. A probability distribution is a table, formula, or graph that describes the values of a random variable. Generally, an uppercase letter describes the name and the lowercase counterpart the value of the random variable:
5
Quantitative Data Data ContinuousDiscrete Continuous probability distribution functions (most notably normal, student-t, F, Chi-Squared) Binomial and Poisson distribution Data variables can only assume certain values and are collected typically by counting observations Data variables can assume any value within a range (real numbers) and are collected by measurement.
6
Binomial distribution 1.The binomial experiment consists of a fixed number of trials n. 2.Each trial has two possible outcomes. One is labeled success, the other failure. 3.The probability of success is p. The probability of failure is 1 – p. 4.The trials are independent (i.e. the outcome of one trial does not effect the outcome of any other) Example: Tossing a coin n times and record the results
7
Bernoulli Process If the properties 2, 3 and 4 from the previous slide are satisfied, we denote each trial as a Bernoulli process. The random variable of a binomial variable is defined as the number of successes in the n trials (binomial random variable). The binomial random variable can take on the values 0, 1, 2, …, n. The random variable is discrete. A probability tree represents the events in an experiment by lines. It can be used to calculate joint probabilities.
8
Probability Tree S S S S S S S F F F F F F F Trial 1Trial 3Trial 2Trial n S F S F S F S F.........
9
Probability Tree – Without Replacement First ChoiceSecond Choice A statistics course has 7 male and 3 female students. The lecturer wants to select two students at random for a research project. What is the probability that the two students are female? M = 7 /10 F = 3 /10 M = 6 / 9 M = 7 / 9 F = 3 / 9 F = 2 / 9 Joint Probabilities
10
Probability Tree – With Replacement First ChoiceSecond Choice The professor’s replacement is teaching the next two classes while the professor is sick. The lecturer selects one student at random and picks on him or her to answer questions. What is the probability that the two students chosen are female? M = 7 /10 F = 3 /10 M = 7 / 10 F = 3 / 10 Joint Probabilities
11
Probability Tree – cont. Note that one differentiates between experiments with and without replacement. In this case, once a student is drawn from the sample, he/she is not replaced in the next draw. Texas Hold’em Poker is another typical example of experiments without replacement. This implies that the trials are not independent (i.e. violates property 4. of binomial experiments). In experiments with replacement, the associated probabilities do not change from trial to trial. The trials are independent.
12
Probability of Sequence Assuming the trial are independent, we can use the probability of sequence formula to calculate the probability of x successes in n trials: Where p denotes the probability of success.
13
Combinatorial Formula Using a probability tree, there may be a number of branches (combinations) that yield x successes and n-x failures. For example, there are two ways to produce a one success and one failure in two trials: SF and FS. To count the number of branches, the combinatorial formula is employed (with C as the number of combinations for a specific n and x):
14
Binomial Probability Distribution The combination of the probability of sequence and the combinatorial formula yields the binomial probability distribution (i.e. the probability of x successes in a binomial experiment with n trials and probability of success = p):
15
Example: Stats Class – With Replacement What is the probability for the combination Male / Female to be picked in two consecutive classes by the substitute professor?
16
Solution 1.Define one event as success (e.g. x: female) 2.Determine the probability for success: F / (F + M) = 3/ 10 (conversely, M / (F + M) = 7 / 10 is the probability for failure, i.e. male) 3.The other elements are: n = 2 (for two trials) x = 1 (for the number of required successes)
17
Solution cont. 4.Enter all elements into the formula: You can use your calculator to calculate the first part of the formula (combinations) using the n C r key.
18
Exercise: Statistics Exam Consider a student taking a statistics course. The student has not prepared at all for an upcoming statistics quiz. The quiz consists of ten multiple choice questions. Each question has five possible answers of which only one is correct. Assume that the student is willing to guess randomly to answer each question. a)What is the probability that the student gets no answers correct? b)Two answers correct? c)Ten answers correct? d)What is the chance that the student will fail the quiz assuming 50% correct answers are required to pass?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.