title: Calculate Median after Summarize with detail in Stata
body: <p>The <code>summarize</code> command creates various scalars in Stata. For instance, one can store the mean or min/max values through <code>gen mean=r(mean)</code>afterwards.
  It is also possible to get more sophisticated measures via the <code>summarize varname, detail</code>option. Through this, one also obtains the <strong>median</strong> in form of the 50% percentile.</p>
  
  <p>My goal is to store the <strong>median</strong>. Is there a corresponding scalar? </p>
  
  <p>Where can I obtain information on stored scalars after standard operations like <code>summarize</code>? As far as I can see they are not listed in the Stata manuals.</p>