How can I estimate parameters of the student's t distribution in a loop?

조회 수: 1 (최근 30일)
May
May 2014년 3월 3일
댓글: May 2014년 3월 3일
I have a loop which generates several random numbers, each time I have to estimate their parameters using the univariate Student's t and then use the estimated parameters later on. Is there any way I can do this? fitdist lets me estimate them however it doesn't seem to let me 'call' them so I cannot use them later on in the mfile.
  댓글 수: 6
dpb
dpb 2014년 3월 3일
x1 is a structure whose field names are mu, sigma, nu.
To reference them, it's
x1.mu
etc. Read in the doc of "data Types" for more details of Matlab.

댓글을 달려면 로그인하십시오.

답변 (1개)

dpb
dpb 2014년 3월 3일
The returned distribution object (structure) has fields mu and sigma

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by