Presentation is loading. Please wait.

Presentation is loading. Please wait.

Validity and application of some continuous distributions Dr. Md. Monsur Rahman Professor Department of Statistics University of Rajshahi Rajshshi – 6205.

Similar presentations


Presentation on theme: "Validity and application of some continuous distributions Dr. Md. Monsur Rahman Professor Department of Statistics University of Rajshahi Rajshshi – 6205."— Presentation transcript:

1 Validity and application of some continuous distributions Dr. Md. Monsur Rahman Professor Department of Statistics University of Rajshahi Rajshshi – 6205 E-mail: monsur_st_ru@yahoo.com 1

2 Normal distribution The first discoverer of the normal probability function was Abraham De Moivre(1667-1754), who, in 1733, derived the distribution as the limiting form of the binomial distribution. But the same formula was derived by Karl Freidrich Gauss(1777-1855) in connection with his work in evaluating errors of observation in astronomy. This is why the normal probability is often referred to as Gaussian distribution. 2

3 X: Normal Variate Density: Standard Normal Variate : 3

4 Normal distribution 4

5 Properties of Normal distribution Normal probability curve is symmetrical about the ordinate at Mean, median and mode of the distribution are equal and each of these is The curve has its points of inflection at By a point of infection, we mean a point at which the concavity changes All odd order moments of the distribution about the mean vanish The values of and are 0 and 3 respectively 5

6 includes about 68.27% of the population includes about 95.45% of the population includes about 99.73% of the population Application: Many biological characteristics conform to a Normal distribution - for example, heights of adult men and women, blood pressures in a healthy population, RBS levels in blood etc. 6

7 Validity of Normal Distribution for a set of data Many statistical methods can only be used if the observations follow a Normal Distribution. There are several ways of investing whether observations follow a Normal distribution. With a large sample we can inspect a histogram to see whether it looks like a Normal distribution curve. This does not work well with a small sample, and a more reliable method is the normal plot which is described below. 7

8 8

9 X: Normal Variate Density: Standard Normal Variate : 9

10 CDF OF X : F(X) CDF OF Z : P quantile of X : P quantile of Z :, is the solution of 10

11 Dataset Find empirical CDF values Arrange the data in ascending order as Empirical CDF values are as follows Using normal table obtain the values corresponding to 11

12 If the given set of observations follow normal distribution, the plot (x, z) should roughly be a straight line and the line passes through the point and has slope. Graphical estimates of and may be obtained. If the data are not come from Normal distribution we will get a curve of some sort. 12

13 2.2 3.6 3.8 4.1 4.7 3.3 3.6 3.8 4.1 4.7 3.3 3.7 3.9 4.2 4.8 3.4 3.8 4.0 4.4 5.0 Table 1 : RBS levels(mmol/L) measured in the blood of 20 medical students. Data of Bland(1995), pp. 66 Bland,M.(1995): An Introductions to Medical Statistics, second edition, ELBS with Oxford University Press. 13

14 14

15 MLE 15

16 16

17 Goodness of Fit Test We use here Kolmogorov-Smirnov (KS) test for the given data KS statistic=max |CDF_FIT- CDF_EMP| For the RBS level data we calculate KS statistic KS(cal)=0.07827 5% tabulated value=0.294 Conclusion: Normal distribution fit is good for the given data 17

18 Estimated population having RBS within the normal range (3.9 – 7.8mmol/L) is about 51% Estimated population having RBS below the normal range is about 49% Estimated population having RBS above the normal range is 0% Results 18

19 Empirical CDF values of are as follows: Obtain the values corresponding to Similarly values are obtained corresponding to Two sample case 19

20 If the first set of data come from normal distribution with mean and variance, then the plot will roughly be linear and passes through the point with slope. If the second set of data come from normal distribution with mean and variance, then the plot will roughly be linear and passes through the point with slope. 20

21 Both the lines parallel indicating different means but equal variances Both the lines coincide indicating equal means and equal variances Both the lines pass through the same point on the X-axis indicating same means but different variances 21

22 Table 2 : Burning times (rounded to the nearest tenth of a minute) of two kinds of emergency flares. Data due to Freund and Walpole(1987), pp. 530 Brand A: 14.9,11.3,13.2,16.6,17.0,14.1,15.4, 13.0,16.9 Brand B: 15.2,19.8,14.7,18.3,16.2,21.2,18.9, 12.2,15.3,19.4 Freund, J.E. and Walpole, R.E.(1987): Mathematical Statistics, Fourth edition, Prentice-Hall Inc. 22

23 Above plot indicates that both the samples come from normal population with unequal means and variances 23

24 Log-normal distribution In probability theory, a log-normal distribution is aprobability theory probability distributionprobability distribution of a random variable whoserandom variable logarithmlogarithm is normally distributed. If X is a randomnormally distributed variable with a normal distribution, then Y = exp(X) hasexp a log-normal distribution; likewise, if Y is log-normally distributed, then X = log(Y) is normally distributed. It is occasionally referred to as the Galton distribution. 24

25 Density: Mean = Variance= Median= Mode= 25

26 Log-normal density function x f(x) 26

27 Application Certain physiological measurements, such as blood pressure of adult humans (after separation on male/female subpopulations), vitamin D level in blood etc. follow lognormal distribution. Subsequently, reference ranges for measurements inreference ranges healthy individuals are more accurately estimated by assuming a log-normal distribution than by assuming a symmetric distribution about the mean. 27

28 Table 3 : Vitamin D levels(ng/ml) measured in the blood of 26 healthy men. Data due to Bland(1995), pp. 113 14 25 30 42 54 17 26 31 43 54 2026 31 46 63 21 26 32 48 67 22 27 35 52 83 24 Bland,M.(1995): An Introductions to Medical Statistics, Second edition, ELBS with Oxford University Press. 28

29 29

30 ng/ml MLE 30

31 31

32 Goodness-of-fit test KS statistic=max |CDF_FIT- CDF_EMP| For the vitamin D level data we calculate KS statistic KS(cal)=0.0967 5% tabulated value=0.274 Conclusion: Lognormal distribution fit is good for the given vitamin D data 32

33 Estimated population having vitamin D level within the normal range (30 – 74 ng/ml) is about 56% Estimated population having vitamin D level below the normal range is about 40% Estimated population having vitamin D level above the normal range is about 4% Results 33

34 Weibull Distribution Weibull distribution is used to analyze the lifetime data T: Lifetime variable Density function : Scale parameter(.632 quantile) : Shape parameter( 1 or =1) CDF : Reliability (or Survival) function: 34

35 Increasing hazard rate : for Decreasing hazard rate: for Constant hazard rate : for p quantile, which is the solution of Accordingly, Hazard Function : 35

36 Density function: : Scale parameter(.632 quantile) CDF : Reliability (or Survival) function: Weibull distribution reduces to exponential distribution when Exponential distribution 36

37 p quantile, which is the solution of Accordingly, Hazard Function : 37

38 The red curve is the exponential density The red line is the exp. hazard function 38

39 From the Weibull CDF we get where Ordered lifetimes are: values are obtained through the empirical CDF values as given below Validity of Weibull distribution for a set of data 39

40 If the data follow Weibull distribution with scale parameter and shape parameter, the plot of (X,Y) will roughly be linear with slope and passes through the point. Accordingly, the graphical estimates of and may be obtained. 40

41 Table 4: Specimens lives (in hours) of a electrical insulation at temperature appear below. Data due to Nelson(1990), pp. 154 Nelson,W.(1990): Accelerated Testing: Statistical Models, Test Plans, and Data Analyses, John Wiley and Sons. 2520, 2856, 3192, 3192, 3528 41

42 42

43 MLE of and Log-likelihood function of and based on observed data MLE of and by maximizing the log-Likelihood with respect to and using numerical method. Graphical estimates may be used as starting values required for the numerical method The MLEs of and are denoted by and respectively. 43

44 For the insulation fluid data given in table 4 the following results (based on MLEs) are obtained: hours Estimated median life= 3099.548 hours ML estimate of R(t) Time (hour): 3000 3500 3700 4000 Reliability :.6124.0807.0107.0000311 44

45 Weibull versus Exponential Model Suppose we want to test whether we accept exponential or Weibull model for a given set of data The above test is equivalent to test whether the shape parameter of Weibull distribution is unity or not i.e. vs 45

46 Test Procedure(LR test) Under the log-likelihood function is which yields, MLE of. Maximum of is given by 46

47 Similarly, under the maximum of the log-likelihood is given by where and are the MLE s of and under. LR test implies follows chi-square distribution with 1 df. If, accept (use) exponential Model 47

48 If, accept (use) Weibull model For the insulation fluid data given in table 4 Conclusion: Weibull model may be accepted at 5% level of significance 48

49 Accelerated Life Testing (ALT) for Weibull Distribution Stress: Temperature, Voltage, Load, etc. Under operating (used) stress level, it takes a lot of time to get sufficient number of failures Lifetimes obtained under high stress levels Aim: (i) To estimate the lifetime distribution under used stress level, say, (ii) To estimate reliability for a specified time under (iii) To estimate quantiles under

50 Sampling scheme(under constant stress testing) Divide n components into k groups with number of components respectively, where components exposed under stress levels, j-th lifetime corresponding to Obtain the equation for the lifetime corresponding to i-th group 50

51 If the data corresponding to the i- th group follow, the plot will roughly be linear with slope and passes through the point If the plots are linear and parallel, then lifetimes under different stress levels are Weibull with common slope and different scale which implies that depends on the stress levels The equation for the lifetime corresponding to i-th group 51

52 If the k plots are linear and parallel, the lifetimes under different stress levels are Weibull with different slopes and different scales which implies that both and both depend on the stress levels. In this case modeling is difficult. For the first case the relationship between the life and stress will be identified Plot log(.632 quantile) against the stress levels If the plot yields a straight line then the life-stress relationship will be 52

53 Estimation of Likelihood function under stress level where, Total log-likelihood using ML method 53

54 Using numerical method MLEs of may be obtained MLE of at, say,, is obtained through the relationship Hence ML estimate of Weibull density under used stress level is obtained. Accordingly, estimate of reliability for a specified time, median life and other desired percentiles may also be obtained 54

55 Table 5: Specimens lives (in hours) of a electrical insulation at three temperatures appear below, data of Nelson(1990), pp. 154 2520 2856 3192 3528 816 912 1296 1392 1488 300 324 372 444 Nelson,W.(1990): Accelerated Testing: Statistical Models, Test Plans, and Data Analyses, John Wiley and Sons. 55

56 56

57 Above three plots of the data given in table5 are roughly linear and parallel, so the lifetimes under three stress levels are Weibull with common slope and different scale parameters which implies that the scale parameters depend on the stress levels Arrhenious life-stress relationship (temperature stress) where W is the temperature in degree kelvin Temperature in degree kelvin= temperature in degree centigrade plus 273.16 57

58 58

59 Results based on MLEs for the data given in table 5 with respect to the Arrhenious-Weibull model At used stress(180 deg. Centigrade) the following results are obtained Estimated median lifetime=12747.08 hours and 59

60 At used stress(180 deg. Centigrade) the following results are obtained Estimated median lifetime=18771.03 hours Results based on MLEs for the data given in table 5 with respect to the Arrhenious-Exponential model 60

61 Weibull versus Exponential Model for ALT vs (For Exponential model) (For Weibull model) Conclusion: Accept Weibull model at 5% level of significance 61


Download ppt "Validity and application of some continuous distributions Dr. Md. Monsur Rahman Professor Department of Statistics University of Rajshahi Rajshshi – 6205."

Similar presentations


Ads by Google