feval using constant-only model?

Hi there - it seems that feval won't evaluate a glm produced by GeneralizedLinearModel.fit if it only includes a constant (y ~ 1). Granted, this is an easy model to solve manually, but I'm trying to make code that's universal and will accept whatever model with whatever distribution. Is there any way to have feval solve a constant-only model?
Thanks, Alden

답변 (0개)

이 질문은 마감되었습니다.

질문:

2013년 6월 17일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by