Statistics scripts made for my master's thesis