Generate Sample from t Distribution For Generate Random Sample, the t distribution can be defined by either its variance or degrees of freedom. If you choose to set the variance, ensure that the mean is set to zero. Updated on May 3, 2019 Was this article helpful? Yes No