Hello list,

I am running a regression using

lm(Y~A+B+log(C)+log(D))


Now, I would like to test if glm can produce similar results.
So the code was revised as

glm(Y~A+B+C+D, family=poisson) (code 1)


However, I found some example using glm for lm.
It suggests that the code should be revised like
glm(Y~A+B+log(C)+log(D), family=poisson) (code 2)

Please kindly advise which  code is correct.
Thank you.

Elaine

	[[alternative HTML version deleted]]

