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

______________________________________________
R-help@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.

Reply via email to