I’m working in SAS with a dataset such this:
I would like to introduce a variable, named “noised_y”, such this:
Every value of "noised_y" must be obtained, as a random realization of a negative binomial distribution of mean ugual to the correspondent value of y.
May you suggest a Sas procedure to create a random noise as this?
Thank you very much
G
Aucun commentaire:
Enregistrer un commentaire