Professional Documents
Culture Documents
Tujuan Instruksional Umum Setelah menyelesaikan mata kuliah ini mahasiswa semester
6 mampu menganalisis output simulasi dengan Promodel
dari sistem nyata.
1. Statistically Approach
1
Bahan Ajar Minggu Ke-13 Simulasi Sistem
and idle. For example, to measure the time that it takes for
everyone to exit an arena after a sporting event.
2. What is the terminating event or time?
Terminating event is an event that occurs during the simulation that
causes the simulation run to end. Terminating event might occur
when a certain time of day is reached or when certain conditions
are met. If the terminating event is based on the satisfaction of
conditions other than time, then the time that the simulation will
end is not known in advance.
3. How many replications should be made?
The answer to the question of how many replications are necessary
is usually based on the analyst’s desired half-width of a confidence
interval. As a general guideline, begin by making 10 independent
replications of the simulation and add more replications until the
desired confidence interval half-width is reached.
2. Performance Estimation
We can apply statistical methods to estimate the expected or mean value of the
model’s output response. There are two types of estimates:
2
Bahan Ajar Minggu Ke-13 Simulasi Sistem
Answer:
12
∑i=1 x i
x̄=
12
21+16+8+⋯+10
¿
12
¿ 13. 67
12
s=
√ ∑i=1 [ xi −13 .67 ]2
12−1
¿ 4 . 21
3
Bahan Ajar Minggu Ke-13 Simulasi Sistem
might be from the true mean μ. The method used to determine this
is referred to as confidence interval estimation (a range within
which we can have a certain level of confidence that the true mean
falls). The interval is symmetric about x̄ and the distance that
each endpoint is from x̄ is called the half-width (hw).
Confidence level is expressed as the probability P that the
( x̄+hw ) .
Example:
Assuming the data from the barbershop example are independent
and normally distributed, a 95 percent confidence interval is
constructed as follows:
Given:
P = confidence level = 0.95
α = significance level = 1 – 0.95 =0.05
4
Bahan Ajar Minggu Ke-13 Simulasi Sistem
n = sample size = 12
x̄ = 13.67 haircuts
s = 4.21 haircuts
This is not to say that mean and standard deviation are the only parameter
estimates in which we may be interested.
3. Estimating Parameter
s2 s2
x̄−t n−1,1−α /2
(1)
√ n
≤μ≤ x̄+t n−1,1−α /2
n √
Where:
n
∑ xi
i
x̄=
n
s=
√ ∑ ( x i− x̄ )2
i
n−1
How large n should be? There are two approaches. The approaches are based
on:
5
Bahan Ajar Minggu Ke-13 Simulasi Sistem
a. absolute error ( β )
If we estimating μ using x̄ so then the it is said that we have
s2
t n−1,1−α /2
√ n
≤β
¿
(2)
The
Z α /2 is from the standard normal distribution, and its value
6
Bahan Ajar Minggu Ke-13 Simulasi Sistem
can be found in the last row of the Student’s table. Note that
Z α /2 =
t ∞ ,α/2 , where ∞ denotes infinity. The revised
equation is
2
( Z α / 2) s
n='
[ e ]
Example:
We want to estimate the number of replication n’ needed to be able
to assert with 95 percent (1– α =0.95) confidence that the sample
mean x̄ we compute is off by at most 2.00 haircuts (e=2.00)
from the true but unknown mean x̄ . Based on the initial sample
We find
Z α /2 = Z 0 .025 = t∞ ,0.025 = 1.96
Using the previous equation for n’ we obtain
2 2
( Z 0 . 025 ) s
n=
'
e[ =
2 . 00 ][
( 1 . 96 ) 4 . 21
=17 . 02]
¿ 18 observations
7
Bahan Ajar Minggu Ke-13 Simulasi Sistem
8
Bahan Ajar Minggu Ke-13 Simulasi Sistem
Sumber:
1. Harrel, C., Ghosh, B.K., dan Bowden, R.O. (2004): Simulation Using
Promodel, Mc Graw Hill.
2. Law, A.M. and Kelton, W.D. (1991): Simulation Modeling And Analysis,
McGraw-Hill.