A formal model for counterfactual estimation with unobserved confounding in data-rich environments has been proposed.The model combines the structural causal model view with the latent factor model view of causal inference.Classic models for potential outcomes and treatment assignments fit within this framework.The study establishes consistency of estimators for various causal parameters.