[R] linear regression and t-distribution

Peter Ehlers ehlers at ucalgary.ca
Tue Feb 22 17:58:41 CET 2011


On 2011-02-21 02:42, Rosario Garcia Gil wrote:
> Hello
>
> I have a data set with outlier and it is not normally distributed. I would instead like to use a more robust distribution like t-distribution.
>
> My question is if the coefficients of the regression are different from zero, but assuming a t-distribution.
>
> Could someone hint me what package to use or....

Have you considered using a robust method?
There's rlm() in MASS, lmrob() in robustbase, etc.

Peter Ehlers

>
> Thanks in advance
> Rosario
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list