Spatial Generalized Linear Model