Batch Means Method: S-38.3148 Simulation of Data Networks / Data Collection and Analysis 1
Batch Means Method: S-38.3148 Simulation of Data Networks / Data Collection and Analysis 1
• This is simply the sample average of the whole run (after the warm-up period)
– the division in batches has no bearing from the point of view of the estimator
– the sole purpose of the division is to get an idea of the confidence interval of the estimator
• Assuming that the batches are long enough, the sample averages X̄i of the batches are ap-
proximately independent
• Their sample variance then provides an estimate for the variance of a single X̄i
1 X N
S2 = (X̄i − µ̂N )2
N − 1 i=1
S-38.3148 Simulation of data networks / Data collection and analysis 3(9)
Regenerative method
• Is applicable in so called regenerative systems
• A regenerative system has at least on regenerative state
– the stochastic development of the system from tat point on does not at all depend on how
this state has been reached
– every state of a Markovian system is regenerative
– in an G/G/1 queue the state where the system is empty is a regenerative state
• It there are several regenerative states, one of them is chosen as the basis for the data collection
method
– in the sequel, the regenerative state refers to the chosen regenerative state
• Every now and then the system visits the regenerative state or “regenerates itself”
– this starts “a new life” which does not depend on the past
S-38.3148 Simulation of data networks / Data collection and analysis 5(9)
t1 t2 t3 t4 t5
S-38.3148 Simulation of data networks / Data collection and analysis 6(9)
• For the point estimator ℓ̄n based on measurement over n regenerative periods we get the
confidence interval (at the confidence level 1 − β)
z1−β/2S
ℓ̄n ± √
nτ̄
where S 2 is the (unbiased) estimator of σ 2 based on the sample
S 2 = S11 − 2 ℓ̄n S12 + ℓ̄2n S22
and S11, S22 and S12 are the sample variances and sample covariance of X and τ
1 X n 1 X n 1 X n
S11 = (Xi − X̄)2, S22 = (τi − τ̄ )2, S12 = (Xi − X̄)(τi − τ̄ )
n − 1 i=1 n − 1 i=1 n − 1 i=1
S-38.3148 Simulation of data networks / Data collection and analysis 9(9)