title: What's the difference between gen and egen in Stata 12?
body: <p>Is there a reason why there are two different commands to generate a new variable?</p>
  
  <p>Is there a simple way to remember when to use <code>gen</code> and when to use <code>egen</code>?</p>