Tag: Grad School Life

Randomly Generating a Truncated Normal Distribution

A brief foray into the actual nitty-gritty aspects of research, especially the part that seems to dominate the time of a graduate student in Epidemiology: coding. Particularly, the code for generating random numbers from a truncated normal distribution in SAS 9.2. Generating numbers from a regular normal distribution is easy as pie: x=rannor(seed), where x […]