In our regular likelihood function we would have .

With Generalized Linear Models we have . This means that each observation has its own parameters (set of parameters).

For example, suppose we have a random variable which follows a Poisson distribution. Denote this random variable as with parameter .

Suppose we can approximate the rate for each observation with some relationship like for some associated with each .

Then, our likelihood function would be as follows