Fit a generalised linear model that has only constant.

Hi!
I have a generalised linear model y_i =a +ε_i, where ε_i are the errors.
Could someone tell me how can I fit this model using the function glmfit? Or using any other way.
Thank you very much.

This question is closed.

Asked:

Fio
on 6 Oct 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!