[R] student-t regression in R?

Ravi Varadhan rvaradhan at jhmi.edu
Wed Feb 1 21:09:36 CET 2006


Look at the "tlm" function in "hett" package.

Ravi.


> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-
> bounces at stat.math.ethz.ch] On Behalf Of Andrew Gelman
> Sent: Wednesday, February 01, 2006 2:44 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] student-t regression in R?
> 
> Is there a quick way to fit student-t regressions (that is, a regression
> with t-distributed error, ideally with the degrees-of-freedom parameter
> estimated from the data)?  I can do it easily enough in Bugs, or I can
> program the log-likelihood in R and optimize using optim(), but an R
> version (if it's already been written by somebody) would be convenient,
> especially for teaching purposes.  I couldn't find the Student-t as one
> of the families in "glm" but maybe it's somewhere else?
> Thanks.
> Andrew
> 
> --
> Andrew Gelman
> Professor, Department of Statistics
> Professor, Department of Political Science
> gelman at stat.columbia.edu
> www.stat.columbia.edu/~gelman
> 
> Tues, Wed, Thurs:
>   Social Work Bldg (Amsterdam Ave at 122 St), Room 1016
>   212-851-2142
> Mon, Fri:
>   International Affairs Bldg (Amsterdam Ave at 118 St), Room 711
>   212-854-7075
> 
> Mailing address:
>   1255 Amsterdam Ave, Room 1016
>   Columbia University
>   New York, NY 10027-5904
>   212-851-2142
>   (fax) 212-851-2164
> 
> ______________________________________________
> 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




More information about the R-help mailing list