how to make a random t-distribution sample?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!