We develop a general space-time filter applied to panel data models in order to control for heterogeneity as well as both time and spatial dependence. Treatment of initial period observations is analyzed when the number of time periods is small. A second issue relates to an implied restriction...