Dear R-Users,

I am new to R, so please excuse the ignorance.

I have data:
x (2.14, 2.41, 1.09, 0.17, 8.18)
y (3.81, 5.13, 0.63, 0.75, 6.35)

I would like to use simple linear regression and test 2 things:
1) slope of line of best fit is statistically different from 1
2) y-intercept is statically different from 0

Could anyone provide me with the R terminology to do this?

Thanks so much,
Dan


_________________________________________________________________
[[replacing trailing spam]]

ilnews
        [[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