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. ______________________________________________ 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.