I am new to GLM modeling but committed to learning as much as possible...
I have the following situation. Data can fall into one of 4 buckets.
It is a GLM model with a poisson distribution and a log link.
The three models can be described as:
1) A A+B A+B+B A+B+B+B
The design matrix for this would be with lets say one observation for each bucket:
1 0
1 1
1 2
1 3
or
2) A A+B A+B+C A+B+C+C
1 0 0
1 1 0
1 1 1
1 1 2
or
3) A A+B A+B+C A+B+C+D (not realistic. for ex)
1 0 0 0
1 1 0 0
1 1 1 0
1 1 1 1
It may not be obvious, but we are saying we need a new parameter to describe the last two buckets in model 2, and we need two new parameters for 3.
Would these be considered nested models?
How could I compare them to determine which one is best?
Thank you for your help.
A+B+B
don't make much sense in the usual statistical model-description language as repeated terms would simply be dropped. Nor do I understand how e.g.A A+B A+B+C A+B+C+D
can be one single model. $\endgroup$