[R] How to calculate the robust standard error of the dependent variable
Joris Meys
jorismeys at gmail.com
Sat Jun 19 03:01:02 CEST 2010
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
On Fri, Jun 18, 2010 at 11:19 PM, YI LIU <liuyi.feier at gmail.com> wrote:
> Hi, folks
>
> linmod=y~x+z
> summary(linmod)
Which package? R is not matlab...
>
> The summary of linmod shows the standard error of the coefficients. How can
> we get the sd of y and the robust standard errors in R?
sd(y)
mad(y)
But I guess that's not your question.
Cheers
Joris
--
Joris Meys
Statistical consultant
Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control
tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
More information about the R-help
mailing list