Here I'll share some of my scripts used to learn statistics, mainly bayesian school. maxL.R - computing maximum likelihood. regression.R - how perform linear regression using maximum likelihood method. black hole.R - example of law of large numbers and central limit theorem. std.R - why correct scaling is important to standard deviation and variance. area.R - code made for ppbio project for showing area of their transects. repetitions megasena.R - probability of repetitions on the next game. utils.R - useful functions I tend to use on external datasets. piMC.R - how to calc pi constant using monte carlo methods. nMDS/nMDS.R - implementation of nMDS using genetic algorithm.