Essays on pseudo panel data and treatment effects