Dear Stata users,
I cannot figure out which function to use to generate random variable that has F distribution with any degrees of freedom, e.g. F(2,10). I found formulas for chi2 distribution, normal and uniform distribution, however, I cannot find for F distribution.
e.g.
gen chi10=rchi2(10)
gen x = rnormal(0, 1)
What is the formula for generating random variable that has F distribution?
Thank you very much.
Best regards,
Aleksandra
I cannot figure out which function to use to generate random variable that has F distribution with any degrees of freedom, e.g. F(2,10). I found formulas for chi2 distribution, normal and uniform distribution, however, I cannot find for F distribution.
e.g.
gen chi10=rchi2(10)
gen x = rnormal(0, 1)
What is the formula for generating random variable that has F distribution?
Thank you very much.
Best regards,
Aleksandra
Comment