Essays in probability and statistics