Skip to content

Sub_scribe and a question

2 messages · Philippe GROSJEAN, Peter Dalgaard

#
Hello,

I would do like this: if the slope is a, and it is perfectly known, just
substract a*x from y. If you assume a relationship like y = a*x + b +
epsylon with epsylon having a normal distribution (0, sigma), then, y - a*x
should have a normal distribution (b, sigma), and the mean value of computed
y - a*x should simply be a good estimate of b, the intercept you are looking
for.

Berst Regards,

Philippe Grosjean
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
"Philippe Grosjean" <phgrosje at ulb.ac.be> writes:
..or as a generic solution, use y~offset(a*x). This has the advantage
of working with generalized linear models as well.