Professional Documents
Culture Documents
Lecture 7 Random Variable Confidence Interval
Lecture 7 Random Variable Confidence Interval
Notes:
Used to denote the outcomes of a probability experiment
a unique value
Illustration:
Discrete & Continuous Random Variables
Notes:
The probability distribution tells you everything you need
Notes:
The probability distribution tells you everything you need
0.3
0.2
0.1
0.0 x
0 1 2 3 4
Normal Probability Distribution
b
P (a x b) f ( x )dx
a
P ( a x b)
a b x
Probability of Normal Distribution
Probability Distribution
value mean x x
z
st.dev. s
Probability Distribution
Solutions:
x x 46 35.6
z 176
.
s 7.1
46 is 1.76 standard deviations above the mean
Probability of Normal Distribution
Confidence Intervals
P Z
99% 2.58
95% 1.96
90% 1.645
Probability Distribution
• Binomial Probability
Distribution: A type of
discrete distribution, also
noticed as Bernoulli Random
Variable distribution
P(x) = px qn – x
P: probability of success;
q: 1-p, probability of failure;
x: number of successes
n: number of trails
Discrete Random Variable
n x n x
Pr( x) ( p )(q ), for x 0, 1, 2, ... , or n
x
Notes:
The number of ways that exactly x successes can occur in n
trials:
n
x
Discrete Random Variable
Note:
n! is an abbreviation for n factorial: n! n(n 1)(n 2)(3)(2)(1)
6! 6 5 4 3 2 1 720
Discrete Random Variable
æ4 ö -
Pr ( x ) = ç ÷(0.65 ) x (0. 35 ) 4 x , for x = 0, 1, 2, 3, 4
èx ø
æ4 ö
Pr ( 0 ) ç ÷(0.65 ) 0 (0. 35 ) 4 = (1)( 1)( 0 .0150 ) = 0 .0150
=
è0 ø
æ4 ö
Pr ( 1) = ç ÷(0. 65 ) 1 (0. 35 ) 3 = ( 4 )( 0 .65 )( 0 .0429 ) = 0 .1115
è1 ø
æ4 ö
Pr ( 2 ) ç ÷(0.65 ) 2 (0. 35 ) 2 = ( 6 )( 0 .4225 )( 0 .1225 ) = 0 .3105
=
è2 ø
æ4 ö
Pr ( 3) ç ÷(0. 65 ) 3 (0. 35 ) 1 = ( 4 )( 0 .2746 )( 0 .35 ) = 0 .3845
=
è3 ø
Procedure of Learning about a Population
Sample Statistics
Population Parameters
Procedure of Learning about a Population
• So far:
• Define a population
• Describe the population parameter of concern
• Draw a sample
• Calculate the value of sample statistic
Calculate
Take repeated
confidence interval
samples
for each sample
• level of confidence
• It is denoted as 100(1-α)%
• level of confidence
• 90%, 95% and 99%
• One assumption:
- The sampling distribution of has a normal distribution
Confidence Intervals
Notes:
1. x is the point estimate and the center point of the
confidence interval
1-a a Z(a/2)
Notes:
1. x is the point estimate and the center point of the
confidence interval
• Random Variables
• Confidence Intervals