Files
FYS-STK4155/doc/Programs/ResamplingAnalysisScripts
2018-09-19 15:46:42 +02:00
..
2018-09-19 15:46:42 +02:00
2018-03-30 14:55:59 -04:00
2018-03-30 14:55:59 -04:00
2018-09-13 05:16:25 +02:00

ResamplingAnalysisScripts

Sample Scripts for data Analysis

So far this is a simple python script (should be made parallel...) to perform resampling of a data set. Methods used are Bootstrapping, Jackknife and Blocking.

Usage

Simply run python analysis.py FILENAME.xxx [NLINES]

Where FILENAME is expected to have a 3 charachter extension NLINES (optional) is the number of lines in the file to read and process (default is the whole file, but it gets very slow above 2-3 hundred thousand entries)

Ouput is located into the FILENAME/ folder.

If more than 10⁵ lines are specified the autocorrelation function won't be computed, as it would take too long.

The gaussian.dat dataset has been generated with numpy, as a proof of concept. It represents a normally distributed set of 5x10⁵ elements with std = 0.05. One will notice that the estimate on the error of the central value is greatly improved by all resampling methods.