how to make a random t-distribution sample?
古いコメントを表示
Hi!
I'd like to make a t-distribution.
so I made chi square distribution using random('norm')
the degree of freedom is 5
and I also obtain zvalue using zscore function.
(I made standard normal distribution first and used this distribution for zscore)
and using sqrt.
finally, I tried zvalue(=zscore) divided by sqrt(chi/degree of freedom)
but matlab said the matrix dimensions do not agree.
so what can I do? to make t-distribution?
how can I get a ..z score and how can I divide it by sqrt(chi/degree of freedom)?
thank you so much!
回答 (1 件)
Star Strider
2022 年 11 月 8 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!