dimanche 26 septembre 2021

Why I get high observation when I generate data from t-distribution in R [migrated]

I want to generate 200 samples from t-distribution with the degree of freedom=1 and sample size is 10 and in R

I use this code

set.seed(1234)
B <- matrix(rt(10*200, 1), 200)

But when I see the sample number 167 (B[167,]) I found this high number 602.1691029

And this strange thing in the t-distribution. What is wrong here?




Aucun commentaire:

Enregistrer un commentaire