MATLAB: There is no Student’s t fitting function

distributionfittingstudent's t

Hello, I'm trying to fit a Student's t distribution to the data (and get the number of degrees of freedom) but there is no function. For the normal distribution there is normfit, for example. Why isn't there an equivalent for the t distribution?
Thanks.

Best Answer

I believe you can do this with the fitdist() function, using the 'tlocationscale' distribution.