- Simulation for Data Science with R
- Matthias Templ
- 353字
- 2021-07-14 11:17:05
Choosing the right simulation technique
The bad news is that there is no general guidance and no general method for simulation. The choice of the right simulation technique rather depends on the underlying problem, data set, and the aim of the study.
We already mentioned in which areas simulation plays a role. Depending on the area of interest, different techniques are considered. For a Bayesian analysis, the methods differ between general inference statistics using resampling techniques, and when optimization comes into the topic. The methods change completely when interaction of populations or individuals are in focus, or when predictions about the future on an individual level (micro-simulation) are required.
However, some general questions may give a little guidance for choosing the right technique. This is illustrated in Table 1.1. Of course, it is often the case that a clear decision cannot be made. For example, if you work with a sample, optimization techniques might be used for several reasons, but the main aim of optimization is more general. It can be applied to samples or population data. Another example includes, for example, in agent-based microsimulation of course one can compare models, but it's not the main aim. Thus this table should give only a very rough categorization of methods for basic questions. It should be clear that optimization methods, methods for system dynamics, and agent-based micro-simulation techniques may differ to the methods that are developed to express the uncertainty of estimators, such as resampling methods.
The following table describes choosing the right simulation technique, Monte Carlo (MC) techniques, and resampling techniques; Markov chain Monte Carlo (MCMC) methods; MC test Monte Carlo techniques applied to hypothesis testing, optimization (O), system dynamics (SD), agent-based modeling (ABM), design-based simulation (DBS), and model-based simulation (MBS):

Please enjoy all the chapters mentioned, simulate a cozy burning fire with R's package animation (Yihui 2013) in Figure 1.1, and start to explore all the different issues in Simulation for Data Science with R:

Figure 1.1: Snapshot of a simulated burning fire for your coziness
To run the burning fire simulation, have a look at the code on this website: http://yihui.name/en/2009/06/simulation-of-burning-fire-in-r/.
- Java高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- Wireshark Network Security
- Learning Python Design Patterns(Second Edition)
- Learning Neo4j 3.x(Second Edition)
- Python機器學習算法與實戰
- Cocos2d-x學習筆記:完全掌握Lua API與游戲項目開發 (未來書庫)
- 軟件測試技術指南
- Visual Basic程序設計實踐教程
- ASP.NET Core 2 Fundamentals
- Python Data Science Cookbook
- Arduino可穿戴設備開發
- 零基礎學C語言(升級版)
- Unity 5.X從入門到精通
- After Effects CC技術大全
- Professional JavaScript