glm for cross-gen analyses