In this paper we investigate a class of semiparametric models for panel datasets where the cross-section and time dimensions are large. Our model contains a latent time series that is to be estimated and perhaps forecasted along with a nonparametric covariate effect. Our model is motivated by...