dimanche 8 août 2021

How to draw a sample of size n from a standard normal distribution in stata?

I know how to generate a sample of size n but am not sure how to get, say, 500 samples of 10 numbers in each sample (a 10x500 matrix).

In R I'd use replicate. What would be the equivalent of it in Stata?

Thanks




Aucun commentaire:

Enregistrer un commentaire