[R] restricting coefficient value

Dimitris Rizopoulos d.rizopoulos at erasmusmc.nl
Fri Feb 12 14:00:12 CET 2010


have a look at ?offset().


I hope it helps.

Best,
Dimitris


Rosario Garcia Gil wrote:
> 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
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center

Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014



More information about the R-help mailing list