Considering groups in the statistical modeling of spatio-temporal data