function subsampleGLM for compare w/ field