[R] Linear model with coefficient restriction
David Winsemius
dwinsemius at comcast.net
Fri Jun 5 17:25:08 CEST 2009
On Jun 5, 2009, at 11:10 AM, Axel Leroix wrote:
> Hi every one
>
> I perform a simple linear regression
>
> lm(a b + c + d , data = data1)
>
> How to say to R to perform and print the regression with restricting
> the coefficient
> of the variable c to be equal to 0.1.
?lm
Examine material on specifying an offset ... in your case 0.1 * c.
> In the model print, I want to show the p-values of all my
> coefficients.
?anova
>
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list