Prof. Dr. Ahmed Farouk Abdul Moneim
1) Uniform Didtribution 2) Poisson’s Distribution 3) Binomial Distribution 4) Geometric Distribution 5) Negative Binomial Distribution 6) Hyper Geometric Distribution
Example 1 Ministry of Health decided to locate Ambulance stations along the road Cairo-Alexandria. One of the important factors in defining the number of the stations is the Number of Accidents per day on that road. A statistic of 100 days has been collected. The statistic reveals that the Number of Accident per day along the road is random ranging from 0 to 6 The following observed frequency of accidents are given in the following table: X Observed Frequency Is POISSON’S Distribution Appropriate for the data given above? _______________________________________________________________ Step 2 Find estimators for the parameters of the Hypothesized Distribution from SAMPLE 2.1 Write down the Hypothesized distribution (POISSON’s Distribution) Step 1 Statement of Test: Ho : The Poisson’s Distribution is considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 = 0 H1 : The Poisson’s Distribution is NOT considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 >> 0
We have only ONE parameter μ 2.2 Estimator for the parameter μ is evaluated as follows: Step 3 Find The EXPECTED FREQUENCY based on the Hypothesized Distribution Expected Frequency (X = x) = Sample Size * P(X = x ) X or more Sum P(X =x) Expected Frequency Sample size = 100 days X Observed Frequency
Step 4 Test STATISTIC: X Observed Frequency O Expected Frequency E Sum = X or moreSum P(X =x) Expected Frequency X Observed Frequency
Step 5: Define The Zone of ACCEPTANCE α Take α = 0.05 K = Number of data points of X P = Number of the parameters of the distribution From tables or Excel Accept Step 6 : Perform the hypothesis test by Comparing with = <<< = 11.07, Therefore we ACCEPT Ho Since we ACCEPT Ho, then the POISSON’S distribution is considered APPROPRIATE distribution for the variable X Prof. Dr. Ahmed Farouk Abdul Moneim
Example 2 The number of under filled bottles from a filling operation in a carton of 24 bottles is random variable in the range from 0 to cartons are inspected and the following observation are recorded: X 0123 Observed Frequency Is the Binomial Distribution an Appropriate model for the variable X? Step 2 Find estimators for the parameters of the Hypothesized Distribution from SAMPLE 2.1 Write down the Hypothesized distribution (BINOMIAL Distribution) Step 1 Statement of Test: Ho : The Binomial Distribution is considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 = 0 H1 : The Binomial Distribution is NOT considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 >> 0 We have only ONE parameter p since N is given N = 24 bottles 2.2 Estimator for the parameter p is defined as follows:
Step 3 Find The EXPECTED FREQUENCY based on the Hypothesized Distribution Expected Frequency = Sample Size * P(X = x ) X 0123Sum P(X =x) Expected Frequency N = 24 bottlesSample size = 75 cartons Step 4 Test STATISTIC: X Observed Frequency O Expected Frequency E Sum =2.326 O = Observed Frequency E = Expected Frequency X 0123 Observed Frequency
Step 5: Define The Zone of ACCEPTANCE α Take α = 0.05 K = Number of data points of X P = Number of the parameters of the distribution From tables or Excel Step 6 : Perform the hypothesis test by Comparing with = << = , Therefore we ACCEPT Ho Since we ACCEPT Ho, then the BINOMIAL distribution is considered APPROPRIATE distribution for the variable X Accept
Prof. Dr. Ahmed Farouk Abdul Moneim 1) Normal Distribution 2) Exponential Distribution 3) Erlang Distribution 4) Weibull Distribution 5) Chi-Square Distribution 6) Beta Distribution 7) Lognormal Distribution 8) Rayleigh Distribution 9) Gamma Distribution
Example 1 A sample of 24 microprocessors are put on life test. The time to failure of these 24 Microprocessors are given in the following table in hours: a) Test the hypothesis that the NORMAL Distribution is the APPROPRIATE distribution of the time to failure as given in the sample above. b) If INAPPROPRIATE, test the Appropriateness of EXPONENTIAL Distribution Test for NORMAL DISTRIBUTION Step 1 Statement of Test: Ho : The NORMAL Distribution is considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 = 0 H1 : The NORMAL Distribution is NOT considered Appropriate for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 >> 0 Prof. Dr. Ahmed Farouk Abdul Moneim
Step 2 Find Estimators for Parameters of Hypothesized Distribution from SAMPLE 2.1 Write down the Hypothesized distribution (Normal Distribution) Z We have TWO parameters μ, σ 2.2 Estimator for the parameter μ and Estimator S for parameter σ are evaluated Step 3 Find The EXPECTED FREQUENCY based on the Hypothesized Distribution For CONTINUOUS Random Variables, The AREA under the Probability curve which is equal to ONE, will be subdivided into EQUAL M SEGMENTS The Number of Equal Segments = where, N = Number of data points (as in Histogram) X1X2X3X Equal areas The number of Data points N will be EQUALLY Divided over the M Segments Expected Frequency is Constant for all Segments Expected Frequency = N / M = 24 / 5 = 4.8 Prof. Dr. Ahmed Farouk Abdul Moneim
Find x1, x2, x3 and x4 REMEMBER ! Area to the Left Z from tables x X1X2X3X Step 4 Find The OBSERVED FREQUENCY based on the Sample Data SORT the Data of the Sample in an Ascending Order SegmentNumber of Points in the Segment = Observed Frequency X <= < X <= < X<= < X <= X > Prof. Dr. Ahmed Farouk Abdul Moneim
Step 5 TEST STATISTIC Segment Observed Frequency O Expected Frequency E X <= < X <= < X<= < X <= X > Sum = Step 6: Define The Zone of ACCEPTANCE P-Value From Tables P-Value(11.833, 2) = K = Number of data points of X P = Number of the parameters of the distribution
Step 7 : Perform the hypothesis test judging from the rule of P-Value Since we REJECT Ho, then the NORMAL distribution is considered INAPPROPRIATE distribution for the variable X If P-Value ≤ 0.01 REJECT Ho absolutely If P-Value ≥ 0.1 ACCEPT Ho absolutely Otherwise it is up to concerned parties P-Value = <<< 0.01 Therefore, We REJECT Ho
TESTING THE APPROPRIATENESS of the EXPONENTIAL Distribution for the above Data Step 1 Statement of Test: Ho : The EXPONENTIAL Distribution is considered APPROPRIATE for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 = 0 H1 : The EXPONENTIAL Distribution is considered INAPPROPRIATE for the data (Observed Frequency from Data - Expected Frequency according to Distribution)^2 >> 0 Step 2 Find Estimators for Parameters of Hypothesized Distribution from SAMPLE 2.1 Write down the Hypothesized Exponential Distribution) We have ONE parameters μ 2.2 Estimator for the parameter is evaluated Step 3 Find The EXPECTED FREQUENCY based on the Hypothesized Distribution X A As already explained above: Expected Frequency is Constant for all Segments Expected Frequency = N / M = 24 / 5 = 4.8 1/μ
Find x1, x2, x3 and x4 Area to the Left X from Formula (1) Step 4 Find The OBSERVED FREQUENCY based on the Sample Data SORT the Data of the Sample in an Ascending Order SegmentNumber of Points in the Segment = Observed Frequency X <= < X <= < X<= < X <= X > X1X2X3X /μ Prof. Dr. Ahmed Farouk Abdul Moneim
Step 5 TEST STATISTIC Segment Observed Frequency O Expected Frequency E X <= < X <= < X<= < X <= X > Sum = 1.83 Step 6: Define The Zone of ACCEPTANCE From Tables P-Value(1.83, 3) = K = Number of Classes P = Number of the parameters of the distribution P-Value Prof. Dr. Ahmed Farouk Abdul Moneim
Step 7 : Perform the hypothesis test judging from the rule of P-Value Since we ACCEPT Ho, then the EXPONENTIAL distribution is considered APPROPRIATE distribution for the variable X If P-Value ≤ 0.01 REJECT Ho absolutely If P-Value ≥ 0.1 ACCEPT Ho absolutely Otherwise it is up to concerned parties P-Value = >>> 0.1 Therefore, We ACCEPT Ho