06.03.2015 Views

Stata Quick Reference and Index

Stata Quick Reference and Index

Stata Quick Reference and Index

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.

Title<br />

prefix comm<strong>and</strong>s — <strong>Quick</strong> reference for prefix comm<strong>and</strong>s<br />

Description<br />

Prefix comm<strong>and</strong>s operate on other <strong>Stata</strong> comm<strong>and</strong>s. They modify the input, modify the output,<br />

<strong>and</strong> repeat execution of the other <strong>Stata</strong> comm<strong>and</strong>.<br />

Comm<strong>and</strong> <strong>Reference</strong> Description<br />

by [D] by run comm<strong>and</strong> on subsets of data<br />

statsby [D] statsby same as by, but collect statistics from each run<br />

rolling [TS] rolling run comm<strong>and</strong> on moving subsets <strong>and</strong> collect statistics<br />

bootstrap [R] bootstrap run comm<strong>and</strong> on bootstrap samples<br />

jackknife [R] jackknife run comm<strong>and</strong> on jackknife subsets of data<br />

permute [R] permute run comm<strong>and</strong> on r<strong>and</strong>om permutations<br />

simulate [R] simulate run comm<strong>and</strong> on manufactured data<br />

svy [SVY] svy run comm<strong>and</strong> <strong>and</strong> adjust results for survey sampling<br />

mi estimate [MI] mi estimate run comm<strong>and</strong> on multiply imputed data <strong>and</strong> adjust results<br />

for multiple imputation (MI)<br />

nestreg [R] nestreg run comm<strong>and</strong> with accumulated blocks of regressors, <strong>and</strong><br />

report nested model comparison tests<br />

stepwise [R] stepwise run comm<strong>and</strong> with stepwise variable inclusion/exclusion<br />

xi [R] xi run comm<strong>and</strong> after exp<strong>and</strong>ing factor variables <strong>and</strong><br />

interactions; for most comm<strong>and</strong>s, using factor variables<br />

is preferred to using xi (see [U] 11.4.3 Factor variables)<br />

fracpoly [R] fracpoly run comm<strong>and</strong> with fractional polynomials of one regressor<br />

mfp [R] mfp run comm<strong>and</strong> with multiple fractional polynomial regressors<br />

capture [P] capture run comm<strong>and</strong> <strong>and</strong> capture its return code<br />

noisily [P] quietly run comm<strong>and</strong> <strong>and</strong> show the output<br />

quietly [P] quietly run comm<strong>and</strong> <strong>and</strong> suppress the output<br />

version [P] version run comm<strong>and</strong> under specified version<br />

The last group—capture, noisily, quietly, <strong>and</strong> version—have to do with programming<br />

<strong>Stata</strong>, <strong>and</strong> for historical reasons, capture, noisily, <strong>and</strong> quietly allow you to omit the colon.<br />

48

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

Saved successfully!

Ooh no, something went wrong!