how we generate from a student t distribution

4 ビュー (過去 30 日間)
Sabbas
Sabbas 2012 年 10 月 1 日
Dear all,
I have a variable u that follows a normal distribution N(0,λ_t*exp(h_t))
λ_t is a scaling factor and exp(h_t) is the volatility (see stochastic volatility models)
I want u to be generated from a student t distribution.
So I thought something like u=λ_t* trnd(7,1)
Am I right?
thanks

回答 (1 件)

Image Analyst
Image Analyst 2012 年 10 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by