Notes on statistical theory and practice