Message-ID: <23279588.post@talk.nabble.com>
Date: 2009-04-28T15:34:47Z
From: mathallan
Subject: Generalized linear models (GLM)
Hi
I got a dataset
loss max.loss grp
1 10 50 2
2 15 33 1
3 18 49 2
4 33 38 1
5 8 50 3
6 19 29 1
7 22 51 4
8 50 50 2
9 16 38 1
10 24 30 3
were loss and max.loss are monetary values (in dollar). Grp is group number.
By use of GLM, I have to determine the effect of max.loss and grp (and
interactions between them) on loss. My question is how to do this.
Is it something like
glm(max.loss~loss,family=gaussian(link="identity")
were ofcourse I can change gaussian with Gamma,... and link with log,...
But am I on right track, or what should I change?
Thanks
--
View this message in context: http://www.nabble.com/Generalized-linear-models-%28GLM%29-tp23279588p23279588.html
Sent from the R help mailing list archive at Nabble.com.