Matrix Completion, Counterfactuals, and Factor Analysis of Missing Data