ST 380 Probability and Statistics for the Physical Sciences The Normal Distribution The normal distribution plays a central role in probability theory and in statistics. It is often used as a model for the distribution of continuous random variables. Like all models, it is always wrong, but sometimes useful. Even when individual measurements are not normally distributed, the central limit theorem implies that sums or averages of the measurements are at least approximately normally distributed. 1 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Definition A continuous random variable X is said to have a normal distribution, with parameters µ and σ , if its pdf is 1 2 πσ 2 e − ( x − µ ) 2 / (2 σ 2 ) , −∞ < x < ∞ . √ f ( x ; µ, σ ) = We write X ∼ N ( µ, σ 2 ), meaning “ X is normally distributed with parameters µ and σ ”. curve(dnorm(x, mean = 1, sd = 1), from = -6, to = 6) curve(dnorm(x, mean = -1, sd = 2), from = -6, to = 6, add = TRUE) 2 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Standard Normal Distribution If Z is normally distributed with µ = 0 and σ = 1, that is Z ∼ N (0 , 1), then Z has the standard normal distribution. The pdf of Z is denoted ϕ ( z ): 1 e − x 2 / 2 . √ ϕ ( z ) = 2 π The cdf of Z is denoted Φ( z ): � z Φ( z ) = ϕ ( y ) d y −∞ 3 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Mean For the standard normal distribution, � ∞ E ( Z ) = x ϕ ( z ) d z = 0 , −∞ and for the general normal distribution with parameters µ and σ , � ∞ E ( X ) = xf ( x ; µ, σ ) d x = µ. −∞ That is, the parameter µ is also the expected value of X . 4 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Variance For the standard normal distribution, � ∞ x 2 ϕ ( z ) d z = 1 , V ( Z ) = −∞ and for the general normal distribution with parameters µ and σ , � ∞ ( x − µ ) 2 f ( x ; µ, σ ) d x = σ 2 . V ( X ) = −∞ That is, the parameter σ is also the standard deviation of X . 5 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Standardizing If X ∼ N ( µ, σ 2 ), then Z = X − µ ∼ N (0 , 1) . σ Tables of the standard normal distribution tell us that, for instance, P ( | Z | < 1 . 96) = 0 . 95 . So 0 . 95 = P ( | Z | < 1 . 96) �� � X − µ � � � = P � < 1 . 96 � � σ � = P ( µ − 1 . 96 σ < X < µ + 1 . 96 σ ) . 6 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Percentiles Because the normal distribution is widely used, we use a special notation for its percentiles: z α = [100(1 − α )] th percentile = η Z (1 − α ) . That is, z α is the value for which P ( Z > z α ) = α For example, tables show that z . 025 = 1 . 96. Note Other authors write this as z . 975 ; be careful! 7 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Other Normal Distributions If X ∼ N ( µ, σ 2 ), then F X ( x ) = P ( X ≤ x ) � X − µ ≤ x − µ � = P σ σ � � Z ≤ x − µ = P σ � x − µ � = Φ . σ Differentiating, � x − µ � f X ( x ) = 1 σϕ . σ 8 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences Percentiles If X ∼ N ( µ, σ 2 ) and η X ( p ) is its (100 p ) th percentile, then � η X ( p ) − µ � p = F X [ η X ( p )] = Φ = Φ[ η Z ( p )] , σ so η X ( p ) − µ = η Z ( p ) , σ or η X ( p ) = µ + ση Z ( p ) = µ + σ z (1 − p ) . 9 / 16 Continuous Random Variables Normal Distribution
ST 380 Probability and Statistics for the Physical Sciences The Exponential Distribution The continuous analog of the geometric distribution is the exponential distribution, with pdf � λ e − λ x x ≥ 0 f ( x ; λ ) = 0 x < 0 . Integrating, � x � 1 − e − λ x x ≥ 0 F ( x ; λ ) = f ( y ; λ ) d y = 0 x < 0 . −∞ 10 / 16 Continuous Random Variables Exponential Distribution
ST 380 Probability and Statistics for the Physical Sciences Mean and Variance Integration by parts shows that � ∞ λ xe − λ x d x = 1 E ( X ) = λ. 0 Another integration by parts shows that V ( X ) = 1 λ 2 , so the standard deviation of X is 1 /λ , the same as the expected value. 11 / 16 Continuous Random Variables Exponential Distribution
ST 380 Probability and Statistics for the Physical Sciences The “No Memory” Property The exponential distribution is often used as a model for the time you wait until some event occurs. Suppose you wait until time t 0 , and the event has not occurred; what is the distribution of the remaining waiting time? P ( X > t 0 + t | X > t 0 ) = P ( X > t 0 + t ) P ( X > t 0 ) = e − λ ( t 0 + t ) e − λ t 0 = e − λ t = P ( X > t ) . 12 / 16 Continuous Random Variables Exponential Distribution
ST 380 Probability and Statistics for the Physical Sciences That is, the probability that you still have time t to wait is the same as it was initially. Reliability Suppose that the event is the failure of a piece of equipment. If the time to failure has the exponential distribution, the equipment does not age: its failure probability does not increase with time in service. That makes it an interesting but unrealistic model for failure times. 13 / 16 Continuous Random Variables Exponential Distribution
ST 380 Probability and Statistics for the Physical Sciences The Gamma Distribution The pdf of the Gamma distribution is of the form � kx α − 1 e − x /β x ≥ 0 f ( x ; α, β ) = 0 x < 0 for an appropriate normalizing constant k . We determine k from the requirement � ∞ f ( x ; α, β ) d x = 1 . −∞ 14 / 16 Continuous Random Variables Gamma Distribution
ST 380 Probability and Statistics for the Physical Sciences The definition of the Gamma function is � ∞ x α − 1 e − x d x Γ( α ) = 0 so � ∞ x α − 1 e x / − β d x = k β α Γ( α ) , 1 = k 0 and 1 k = β α Γ( α ) . Finally, � 1 β α Γ( α ) x α − 1 e − x /β x ≥ 0 f ( x ; α, β ) = 0 x < 0 . 15 / 16 Continuous Random Variables Gamma Distribution
ST 380 Probability and Statistics for the Physical Sciences Mean and Variance Again using integration by parts and properties of the Gamma function, E ( X ) = αβ and V ( X ) = αβ 2 . Special Case If α = 1, the gamma pdf simplifies to the exponential distribution with parameter λ = 1 /β . We can view the gamma distribution as a generalization of the exponential distribution, with a shape parameter α in addition to the scale parameter β . 16 / 16 Continuous Random Variables Gamma Distribution
Recommend
More recommend