2009/10/23 by Alexander K. Hartmann · 1 voice
Physics and Astronomy · #physics.comp-ph #physics.data-an
published as A.K. Hartmann, Practical Guide to Computer Simulation, World Scientific, 2009 · 95 pages, 30 figures, chapter 7 of the book "Practical Guide to Computer Simulations", with permission of World Scientific Publishing Co. Pte. Ltd., see http://www.worldscibooks.com/physics/6988.html
arxiv created 2009/10/23 · arxiv updated 2009/12/01
This text provides a practical introduction to randomness and data analysis, in particular in the context of computer simulations. At the beginning, the most basics concepts of probability are given, in particular discrete and continuous random variables. Next, generation of pseudo random numbers is covered, such as uniform generators, discrete random numbers, the inversion method, the rejection method and the Box-Mueller Method. In the third section, estimators, confidence intervals, histograms and resampling using Bootstrap are explained. Furthermore, data plotting using the freely available tools gnuplot and xmgrace is treated. In the fifth section, some foundations of hypothesis testing are given, in particular the chi-squared test, the Kolmogorov-Smirnov test and testing for statistical (in-)dependence. Finally, the maximum-likelihood principle and data fitting are explained. The text is basically self-contained, comes with several example C programs and contains eight practical (mainly programming) exercises.