[R] Linear Regression in R

bioinformatics_guy wwwhitener at gmail.com
Wed Oct 1 16:39:14 CEST 2008


I've attached below the output of a program I am running.  What I want to do
is, get the equation for each of the lines and determine what the overall
equation is that is applicable to every scenario (I know that each line is
of multiple of the proceeding line; as in the bottom's coefficient is 1x,
next up is 2x, 3x, 4x and so on such that the only difference from line to
line is the slope coefficient.)

One dilemma is, each point is actually a mean value (shown by the red error
bars).  I'm assuming a gaussian distribution for each point with equal
variance so I believe I can just take the linear regression of the mean
values.  And as this is not a continuous line, does that make a difference
when I do the regression?

http://www.nabble.com/file/p19761963/bridgers.jpg bridgers.jpg 
-- 
View this message in context: http://www.nabble.com/Linear-Regression-in-R-tp19761963p19761963.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list