Professional Documents
Culture Documents
SIMULATION
HOMEWORK 5 CHAPTER 3
ANALYSIS OF SIMULATION INPUT
1. The time required for 50 different employees to compute and record the number of hours worked
during the week was measured, with the following result in minutes:
Use the chi-square test to test the hypothesis that these service times are exponentially distributed.
Let the number of class intervals be k = 6. Use the level of significance a = 0.05.
n = 50
With k = 6, the width of the interval is given by:
Class width = (max-min) / k = (5.5-0.01) /6=0.915
Hypothesis testing
H0: The random variable has an exponential distribution
H1: The random variable does not have an exponential distribution
𝑛
(𝑂𝑖 − 𝐸𝑖 )2
𝜒02 = ∑
𝐸𝑖
𝑖=1
2. Studentwiser Beer Company is trying to find out the distribution of the breaking strength of their
glass bottles. Fifty bottles are selected at random and tested for breaking strength, with the following
results (in pounds per square inch):
Since the p-value is greater than the level of significance, the null hypothesis is not rejected and it is
concluded that the data follow a normal distribution
8
Frecuencia
0
200 210 220 230 240
esfuerzos de rotura
̅x = 122.3
σ = 11.7
For interval 1 and 5 the probalities are:
Interval 1: P (x <207.34) = 0.153
Interval 2: P (x> 234.16) = 0.103
X20 = 2.53
X20,05,2= 5.99
The degrees of freedoms are equal to 5-1-1 = 2
X20 < X 20.05,2 Is Not rejected
We conclude that the null hypothesis is not rejected, and it is concluded that the data follow a
normal distribution.
3. The Crosstowner was a bus that cut a diagonal path from northeast Atlanta to southwest Atlanta.
The time required to complete the route was recorded by the bus operator. The bus runs from
Monday through Friday. The times of the last fifth runs, in minutes, are as follows:
• Use Stat::Fit, or any other software, and do a histogram of the best distribution
Jose Alejandro Bastidas B.
• Use Stat: Fit, or any other software, and do a Goodness of fit test, and find the best distribution
Exponential
Distribution
Lognormal
Distribution
Jose Alejandro Bastidas B.
Normal
Distribution
Uniform
Distribution
We conclude that the best distribution is normal because of the value P we obtain.
• Use Stat: Fit, or any other software, and find the best distribution parameters
The parameters of the best distribution (normal) are μ = 99.222 and σ = 10.067