11.07.2015 Views

[U] User's Guide

[U] User's Guide

[U] User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

250 [ U ] 18 Programming StataOptionsMaindetail displays detailed output of the calculation.meanonly restricts the calculation to be based on only the means.The default is to use a trimmed mean.format requests that the summary statistics be displayed using the display formatsassociated with the variables, rather than the default g display format; see[U] 12.5 Formats: controlling how data are displayed.separator(#) specifies how often to insert separation lines into the output. Thedefault is separator(5), meaning that a line is drawn after every 5 variables.separator(10) would draw a line after every 10 variables. separator(0)suppresses the separation line.generate(newvar) creates newvar containing the whatever values.RemarksFor detailed information on the whatever statistic, see [R] intro.Examples. whatever mpg weight. whatever mpg weight, meanonlyAlso seeManual:Help:[U] 18.11.6 Writing online help[R] helpUsers will find it easier to understand your programs if you document them the same way that wedocument ours. We offer the following guidelines:1. The first line must be{smcl}This notifies Stata that the help file is in SMCL format.2. The second line should be{* *! version #.#.# date}{...}The * indicates a comment and the {. . .} will suppress the blank line. Whenever you edit thehelp file, update the version number and the date found in the comment line.3. The third line should contain{cmd:help yourcmd}{hline}assuming the help file is named yourcmd.sthlp.4. Include one blank line, and then place the title.{title:Title}{phang}{bf:yourcmd} {hline 2} Your title

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!