Hello,


I am work with a linear regression model:

y=ax+b with the function of lm.

y= observed migration distance of butterflies

x= predicted migration distance of butterflies



Usually the result will show

if the linear term a is significantly different from zero based on the
p-value.

Now I would like to test if the linear term is significantly different from
one.

(because I want to know if the regression line (y=ax+b) is significantly
from the line with the linear term =1 and the intercept =0)



Please kindly advise if it is possible

to adjust some default parameters in the function to achieve the goal.

Thank you.


Elaine

        [[alternative HTML version deleted]]

______________________________________________
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