[R] linear coefficient combination stderr?
Søren Højsgaard
Soren.Hojsgaard at agrsci.dk
Wed Feb 14 06:15:33 CET 2007
Try the esticon function in the doBy package.
Regards
Søren
________________________________
Fra: r-help-bounces at stat.math.ethz.ch på vegne af ivo welch
Sendt: on 14-02-2007 04:21
Til: r-help
Emne: [R] linear coefficient combination stderr?
dear r-experts---I have scrounged around in google (searching r-help)
for the really obvious, but failed. could someone please point me to
whatever function computes the standard error of a linear combination
of the coefficients?
m=lm( y ~ x1 + x2 + x3 );
t.stat= (coef(m)[2]+coef(m)[3])) / mystery.function( m, x2 + x3 );
obviously, this does not work, but hopefully explains my intent.
quick pointer appreciated.
regards,
/iaw
______________________________________________
R-help at stat.math.ethz.ch 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.
More information about the R-help
mailing list