Carlo
Simulation
with R
DR.RER.POL. HERI
K U S WA N T O , M . S I .
Monte Carlo
Monte Carlo simulation performs risk analysis by building models of possible results by substituting a
range of values—a probability distribution—for any factor that has inherent uncertainty. It then
calculates results over and over, each time using a different set of random values from the probability
functions.
Monte Carlo simulation berbeda dengan resampling!! Monte Carlo melibatkan generating
random number.
Resampling # Replikasi
Bagaimana melakukan simulasi
monte carlo
Identifikasi “sistem” yang akan disimulasikan beserta parameter-nya
Evaluasi hasilnya
Contoh : Simulasi Monte Carlo
untuk Power dari Normality test
Apakah definisi power?
Secara sederhana power test didefinisikan sebagai kemampuan sebuah uji statistic untuk mendeteksi
secara benar proses yang sebenarnya.
Size test?
Untuk i = 1 sampai R