本书部分目录如下: 
 
inlrc)   . . . . . . . . * . . . . . . . . . . . . . . . . . . . .   Introduclion Lc) clata-managcmcnt rcf'crence manual 
dat-a management  . . - . . . . . . . . . . . . - - . . . . . . . .  Intrc,duc.tion to data- nlanagement commands 
 i 
5 
appcnd   , . . . . . . . . _ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . .  Append dalasets     9 
asscrt   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~ . . . .. . . . . . . .  Verify Lruth of claim    15 
by  ...... - - .  ...  ..  . - - . - .. - ..- - - . - - - -  Repeat Stata command on subscts or Lhe clata    19 
cd  . . . . . . . . . . . . . . . . ~ . . .. . .. . . . _ . . . . . . . . . .... . . . . . . . . . . . . . . . . . .  C,hange dirccmry   22 
cf  . - , . . . . . . . . . . . . . . - . . . . . . . . . . .  . . -  - - . . ~ . . . . . . . ..  . . . . .  C.oi'r)parc cwc) dattascLs    25 
ctiecksujn  . . . . . . .. . . . . . .. .  . .  . . ~ . - . . . . - . . . . . . . . . . . . .  Calculate checksum c)f filc    28 
clcar  . . . . , . . . ~ ... ~ .~ . . .. ~ .. . _ . _ _ . .. . _ . . ..... ........ . . . . , . . . .. . .  Clcar mcmory   31 
cloncvar  . .. . . . . . .. . . . .  . . _ . . . . _ . . . . .. . . . . .. . . . . . . . . . . . . . .  C.lone cxisting variablc   33 
coclcb   k  . . . . . . . ~ . ~ . ~ . . ~ . _ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  Desci-ibe clata conlcnLs    35 
collal)se   . . . _ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  Makc dat:isci of summary statistics    44 
con~ai'e  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  . . . . . . . . . . .  C.ompaic two variablcs    5'2 
conil)i'ess   . - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . .   Comprcss dalci in mcmory    54 
concrcic:t   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  Makc clatasct of l'rcc]ucncies and pci'ccntagcs    55 
copy  . - - - . - - - . -  - - . - - -  - .*.. ~ . . . - . - ....... - ....... - . Copy file frc}iii disk or URLJ   58 
corr2data   . - , . - . . - . - . . . . . . . . . . . . . . .   C.reare claiasct .fvith specified correlation structure    60 
cOullt   . . . , . , . . . . . . . . . . . . .   . . . . . . . .  C.c)unl c)hscrvations satisfying specifiecl conclilions   64 
c.ross  . - . . . . . . - . . - . .. ., . . . . . . . . . . . . .   Form every pairxvise combination of ivvo dataseLs    66 
clata types  . . _ . . , , . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . .  QLiick refererice for data types    68 
ciaiasignaturc  . . .                                           i. Dctei-mine whether claia have changecl    69 
ldates and times  .. - - - - . . - - .. . - - .. . . . . . - . . - - ..  Date and time (:(r/o.t) values ancl variab.les   76 
clescribe   . , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. .   Describe clata in memory or in file    98 
                                                                                                                                                                d 
                                                                                                                                                                                                                                                                                                     . 
cleslring   . . .. . - - .. . ... - .  . .   C.onvcrt string variablcs tc) numcric variables and vice versa  105 
dir _ . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . .. . . . .. . .. . . . . . .. v . .. . - }   Display filenames  l14 
clrawnorm  . . . . . . . . . . . . . . . . . . . . . . . . .  Draw sample frorj) inultivariate normal distribution   116 
drop  . - - - - . - - - - - . - - - - -  - . . - - - - - - .. - - - - ~ - . - - - - - .  Eliminate variables or obsefvations  120 
duplicates  . - . . . . . . . . . . . . - . . . . . . . - . . . . . . . . .  Report, tag, Of di'op duplicate c)bscrvatic)ns   124 
cclit  . . . . . . . . . . . . . ~ ~ . . . . . . . . . . . . . . . . . . . . . . .. . . i .   Edit anci list clata with Data EdiLor  130 
cgcn  . . . . , . . - . -  - . . . . . . . .. . . .  . . - . . - . . .  .  . . Extensions io generate  136 
cncocje   . . . ... . . . . - . . . . . . . . ... .. - .  - . . . . . . 'Encoclc string intc) numeric and vice versa  156 
erase  . . . . _ .. . . ~ . . . . . ~  . . . . ~ _ . .. _ . . . . . . . . .... _ . . . . ... . . ., . . . . . . .  Erase a disk file  162 
expand  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * . . . .  Duplicate observations   164 
exparidcl  . . , . . . * - . . . . . . . . . - - . + - - . . . . . . . - - . - - . . . .  . . DuplicaLe clustcred obse.rvations  166 
fdasavc  ...-. -....-  - -.......... ^  Savc and usc datascts in I;DA (SAS XPORT) format  169 
                                                                                                                                                                                                                                                                                                          N 
filefilter  . . . . . . . . . . . . . . . . - . .+ - . .. . . + + *..  Convert ASCII text or binary pattcrns in a filc   178 
fillin   . . . - . . . . . . . . . - . . . . . . . . . . . - . . . . . . . . . . . . . . . . . . . . . . . . t . .  Rectangular17e dai.aset   I80 
                                                                   Set variables' output format  l82 
format ............................................... . 
functions   ., , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , . . . . . . . . . . - .. + * . .  Fu:nctions  l95 
generate  . . . . - . ++.. . . .. .,,... . . . . - . - - .. - . ... - .  Create or change contents of variablc  241 
gsort  . * ,.... . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . .. . . . . . .   Ascending and descending sort  247 
hexclump   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~ . . . . . . .  Display Fiexadecimal report on file  250 
icd9   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ICD-9-CM diagnostic and procedure codes   256 
im.pute   . . . . . . . - *. . . . . . - . - . . . . . . . . . . ... . . ... . ... . . .. . . . . . . .   Fill in missing values  268
  |