mardi 19 janvier 2016

SAS: Generating random values from an exponential

I need to add a new variable in an existing data set that is the simulation of an exponential. I need to set the lambda of this exponential so that the amount of values smaller than one will be between 9% and 14%.

Summarizing:

X ~ Expo(lambda)

There will be between 9% and 14% of values smaller than 1.




Aucun commentaire:

Enregistrer un commentaire