some code snippets for studying statistics