Stata 9 manuals

Stata 9 Data Management Reference Manual

Copyright 2005
ISBN-10: 1-881228-96-7
ISBN-13: 978-1-881228-96-7
Pages: 489; paperback
Price $45.00
See a larger photo of the front cover
Overview of the Stata 9 documentation
Table of contents
Introduction to data-management reference manual (pdf)
Introduction to data-management commands (pdf)
Subject and author index (pdf)
Sample entries (pdf):
fdsave—Save and use datasets in FDA (SAS XPORT) format
merge—Merge datasets
Download the datasets for this manual

Table of contents

intro (pdf) Introduction to data management reference manual
data management (pdf) Introduction to data-management commands
append Append datasets
assert Verify truth of claim
by Repeat Stata command on subsets of the data
cd Change directory
cf Compare two datasets
checksum Calculate checksum of file
clonevar Clone existing variable
codebook Produce a codebook describing the contents of data
collapse Make dataset of summary statistics
compare Compare two variables
compress Compress data in memory
contract Make dataset of frequencies and percentages
copy Copy file from disk or URL
corr2data Create dataset with specified correlation structure
count Count observations satisfying specified conditions
cross Form every pairwise combination of two datasets
data types Quick reference for data types
describe Describe data in memory or in file
destring Convert string variables to numeric variables and vice versa
dir Display filenames
drawnorm Draw sample from multivariate normal distribution
drop Eliminate variables or observations
duplicates Report, tag, or drop duplicate observations
edit Edit and list data using Data Editor
egen Extensions to generate
encode Encode string into numeric and vice versa
erase Erase a disk file
expand Duplicate observations
expandcl Duplicate clustered observations
fdasave (pdf) Save and use datasets in FDA (SAS XPORT) format
filefilter Convert ASCII text or binary patterns in a file
fillin Rectangularize dataset
format Specify variable display format
functions Functions
generate Create or change contents of variable
gsort Ascending and descending sort
hexdump Display hexadecimal report on file
icd9 ICD-9-CM diagnostic and procedure codes
impute Fill in missing values
infile Overview of reading data into Stata
infile (fixed format) Read ASCII (text) data in fixed format with a dictionary
infile (free format) Read unformatted ASCII (text) data
infix (fixed format) Read ASCII (text) data in fixed format
input Enter data from keyboard
insheet Read ASCII (text) data created by a spreadsheet
inspect Display simple summary of data's attributes
ipolate Linearly interpolate (extrapolate) values
isid Check for unique identifiers
joinby Form all pairwise combinations within groups
label Manipulate labels
label language Labels for variables and values in multiple languages
labelbook Label utilities
list List values of variables
lookfor Search for string in variable names and labels
memory Memory size considerations
merge (pdf) Merge datasets
missing values Quick reference for missing values
mkdir Create directory
mvencode Change missing values to numeric values and vice versa
notes Place notes in data
obs Increase the number of observations in a dataset
odbc Load, write, or view data from ODBC sources
order Reorder variables in dataset
outfile Write ASCII-format dataset
outsheet Write spreadsheet-style dataset
pctile Create variable containing percentiles
range Generate numerical range
recast Change storage type of variable
recode Recode categorical variable
rename Rename variable
reshape Convert data from wide to long form and vice versa
rmdir Remove directory
sample Draw random sample
save Save datasets
separate Create separate variables
shell Temporarily invoke operating system
sort Sort data
split Split string variables into parts
stack Stack data
statsby Collect statistics for a command across a by list
sysuse Use shipped data
type Display contents of a file
use Use Stata dataset
webuse Use dataset from web
xmlsave Save and use observations in XML format
xpose Interchange observations and variables
Subject and author index (pdf)