Info

This question is closed. Reopen it to edit or answer.

feval using constant-only model?

1 view (last 30 days)
Alden Griffith
Alden Griffith on 17 Jun 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!