0

I'm a beginner in stats and I have a very basis question on GLM.

Suppose Gaussian distribution. GLM tries to do this:

$$g(E(y|X))=X\beta$$

where $g$ is a link function.

But if I transform $y$ before regression:

$$y'=g(y)$$

and do this:

$$E(y'|X)=X\beta$$

now this is an ordinary linear regression.

So my question is how are these two operations different with each other?

C.K.
  • 131
  • Many similar questions were asked (Look through the Related list in the right sidepanel), for instance https://stats.stackexchange.com/questions/122103/why-is-glm-different-than-an-lm-with-transformed-variable or this stored search – kjetil b halvorsen Feb 19 '23 at 03:38
  • @kjetilbhalvorsen Very much thanks! I haven't found those questions, and I'll flag this as duplicate! – C.K. Feb 19 '23 at 04:09

0 Answers0