[R] Single line command for variance of marginal distribution in 2 D linear regression?

Vern Werner.Poschenrieder at lrz.tum.de
Mon Oct 31 14:02:56 CET 2011


Dear forum,

we have a 2 dimensional normal distribution of (x, y) which is consistent
with a linear regression modell of type

y = ax + b.

It has a heteroscedastic variance.

Is there a straight and simple way with R to get the variance of the
marginal distribution W(y|x=xi) where xi may be randomly chosen? Maybe a
single line command?

Thank you
best regards


--
View this message in context: http://r.789695.n4.nabble.com/Single-line-command-for-variance-of-marginal-distribution-in-2-D-linear-regression-tp3955727p3955727.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list