[R] Setting constraints in the glm package
David Smith
dreamworks1 at hotmail.co.uk
Tue Oct 26 18:27:34 CEST 2010
Many thanks for the help.
I assumed that I would need to account for the variables in the model, even
though I wish to assign a zero coefficient to them. I've looked at the
offset function, but does this not just assign the value 1 to the variables?
How would I specify a zero coefficient to more than one predictor in the glm
model? Do I do this directly somehow i.e.
y~I(X1)+offset(X2==0)+offset(X3==0)... ?
David
--
View this message in context: http://r.789695.n4.nabble.com/Setting-constraints-in-the-glm-package-tp3013435p3014049.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list