UNIT 4 THEORETICAL PROBABILITY DISTRIBUTION Prof. Ryung Kim [email protected]1 Unit 1.3 (PnG p. 4) This unit extends the notion of probability and introduces some common probability distributions. These mathematical models are useful as a basis for the methods studied in the remainder of the text. 2 1 2
25
Embed
unit4quantitativeskills.org/module1/unit4.pdf · 2020. 9. 11. · 'hilqlwlrqv 7\shv ri 5dqgrp 9duldeohv 'lvfuhwh udqgrp yduldeoh d ilqlwh qxpehu ri ru frxqwdeoh ydoxhv 0dulwdo vwdwxv
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
This unit extends the notion of probability and introduces some common probability distributions. These mathematical models are useful as a basis for the methods studied in the remainder of the text.
Notationn = number of trialsx = number of successes among n trialsp = probability of success in any one trialq = probability of failure in any one trial (q = 1 – p)
Probability distribution of Binomial Random Variable
P(X=x) = • px (1-p)n-x(n – x )!x!
n !
for x = 0, 1, 2, . . ., n
13
Understanding the Binomial Probability Formula
P(X=x) = • px (1-p)n-xn ! (n – x )!x!
Number of combinations with exactly xsuccesses in n
trials
The probability of x successes
and n-x failures in a particular
order
n ! (n – x )!x! x
n=
14
13
14
Binomial probability distribution
One can model a random phenomenon by a binomial probability distribution if it meets the following requirements:
1. The procedure has a fixed number of trials.
2. The trials must be independent.
3. Each trial has outcomes classified into two categories (‘success’ or ‘failure’).
4. The probability of a success remains the same in all trials.
15
Example – binomial model
When and how do you model a phenomenon with binomial distribution?
In a population of flatworms (Planaria) living in a certain pond, one in five individuals is adult and four are juvenile. An ecologist plans to count the adults in a random sample of 12 flatworms from the pond. What is the probability that she finds less than 5 adults?
16
15
16
Binomial probability model
p=0.2
n=12
Right skewed
Left skewed when p>.5
Symmetric when p=.5
17
Use R to compute binomial probabilities
18
17
18
Use Statato compute binomial probabilities
19
Mean µ = n p
Variance 2 = n p (1-p)
Std. Dev. = n p (1-p)
Mean, variance, Standard Deviation of Binomial Distribution
Many random variables of interest – e.g. blood pressure, amount of chemicals in human body, height, and weight – are approximately normally distributed. (PnG, p.177)
The importance of Normal distribution will be obvious in the following chapters.
Normal distribution is a continuous distribution
Normal distribution22
21
22
Probability density function
A density curve is the graph of a continuous probability distribution.1. The total area under the curve must equal 1.
2. Every point on the curve must have a vertical height that is 0 or greater. (That is, the curve cannot fall below the x-axis.)
23
Density function of Normal Distribution
The normal probability distribution has a bell-shape density function and the total area under its density curve is equal to 1. It’s mean µ can be any number and variance 2 can be any positive number.
Graph from Elementary Statistics, 10th Edition
24
23
24
Probability density function -Area and Probability
Because the total area under the density curve is equal to 1, there is a correspondence between area and probability.
The area under the density curve between a and b corresponds to P(a ≤ X ≤ b), i.e. probability that the random variable has value between a and b.
25
µ = ∫ y p(y) dy Mean or Expected Value
2 = ∫ [(y – µ)2p(y)] dy Variance
= ∫ [(y – µ)2p(y)] dy Standard Deviation
I will not ask you to do integration to compute mean, variance, or standard deviation.
Mean, Variance, Standard Deviation of a Continuous Probability Distribution
To compute probability of non-standard normal:Convert it to the Standard Normal (Z-transformation)
x – z =
Y – µZ =
Graph from Elementary Statistics, 10th Edition
If Y is a Normal random variable with mean µ and variance 2, than Z is a standard normal random variable.
40
39
40
Example – Systolic blood pressure (p.180)
For the population of 18 to 74 year-old males in the U.S., systolic blood pressure is approximately normally distributed with mean 129 millimeters of mercury (mm Hg) and standard deviation 19.8 mm Hg [5]What is the proportion of men in the population who
have systolic blood pressures greater than 150 mm Hg?
41
Example - cont
=19.8 mm Hg = 129 mm Hg
P ( Y > 150 mmHg)= P(Z > 1.06) = 1–0.8556
= 0.1446
z = 150 – 129
19.8= 1.06
Elementary Statistics, 10th Edition
42
41
42
Use R to compute Normal Probability43
Example – Finding percentiles
Find the values that cut off the upper and lower 2.5% of the curve of systolic blood pressure.
44
43
44
y = + zy = 129 + 1.9619.8y = 167.81
Example – Finding percentiles (cont.)
“The pressure of 167.81 (mm Hg) separates the lightest 97.5% from the heaviest 2.5%”