At first, I thought I understood what will the rt()
function in R generate - I thought it generates random t-values
from the specified t-distribution.
For example, this function tdist <- rt(10000,19)
generates, I interpreted, 10,000 t-values from a t-distribution that based on n=20 (df=19), with mean=0 and standard deviation=1.
Is that the case, or does it generate average scores (means)
that are to be found under the specified t-distribution?
If the latter is the case, how can I generate from a t-distribution 10,000 times a n=20 sample with specifications mean=0, sd=1?
Thank you in advance!