Skip to content

student-t regression in R?

2 messages · Andrew Gelman, Ravi Varadhan

#
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
#
Look at the "tlm" function in "hett" package.

Ravi.