A primer on statistical estimation and inference