[R] restricting coefficient value

Rosario Garcia Gil M.Rosario.Garcia at genfys.slu.se
Fri Feb 12 12:17:55 CET 2010


Dear colleges,

I am traying to restrict the value of one coefficient in my glm model, see example:

medparmodel <- glm(los ~ white * (-0.21) + type2 + type3 + hmo, family=poisson(), data=medpar)

but this does not work, and searching in other help webpages I did not manage to get any good hint.

Thanks in advance
Rosario



More information about the R-help mailing list