>> Home >> Bookstore >> Documentation >> Data-Management Reference Manual

Data-Management Reference Manual

Publisher:  Stata Press
Copyright:  2015
ISBN-13:  978-1-59718-148-8
Pages:  681
Supplemental materials

Download >>

Table of contents

intro Introduction to data management reference manual
data management Introduction to data management commands

append Append datasets
assert Verify truth of claim

bcal Business calendar file manipulation
by Repeat Stata command on subsets of the data

cd Change directory
cf Compare two datasets
changeeol Convert end-of-line characters of text file
checksum Calculate checksum of file
clear Clear memory
clonevar Clone existing variable
codebook Describe data contents
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 satsifying specified conditions
cross Form every pairwise combination of two datasets

data types Quick reference for data types
datasignature Determine whether data have changed
datetime Date and time values and variables
datetime business calendars Business calendars
datetime business calendars creation Business calendars creation
datetime display formats Display formats for dates and times
datetime translation String to numeric date translation functions
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
ds List variables matching name patterns or other characteristics
duplicates Report, tag, or drop duplicate observations

edit Browse or edit data with 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
export Overview of exporting data from Stata

filefilter Convert text or binary patterns in a file
fillin Rectangularize dataset
format Set variables' output format

generate Create or change contents of variable
gsort Ascending and descending sort

hexdump Display hexadecimal report on file

icd Introduction to ICD commands
icd9 ICD-9-CM diagnosis and procedure codes
icd10 ICD-10 diagnosis codes
import Overview of importing data into Stata
import delimited Import delimited text data
import excel Import and export Excel files
import haver Import data from Haver Analytics databases
import sasxport Import and export datasets in SAS XPORT format
infile (fixed format) Read text data in fixed format with a dictionary
infile (free format) Read unformatted text data
infix (fixed format) Read text data in fixed format
insobs Add or insert observations
input Enter data from keyboard
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 management
merge 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 Export dataset in text format

pctile Create variable containing percentiles
putmata Put Stata variables into Mata and vice versa

range Generate numerical range
recast Change storage type of variable
recode Recode categorical variable
rename Rename variable
rename group Rename groups of variables
reshape Convert data from wide to long form and vice versa
rmdir Remove directory

sample Draw random sample
save Save Stata dataset
separate Create separate variables
shell Temporarily invoke operating system
snapshot Save and restore data snapshots
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 dataset

type Display contents of a file

unicode Unicode utilities
unicode collator Language-specific Unicode collators
unicode convertfile Low-level file conversion between encodings
unicode encoding Unicode encoding utilities
unicode locale Unicode locale utilities
unicode translate Translate files to Unicode
use Load Stata dataset

varmanage Manage variable labels, formats, and other properties

webuse Use dataset from Stata website

xmlsave Export or import dataset in XML format
xpose Interchange observations and variables

zipfile Compress and uncompress files and directories in zip archive format

Combined author index
Combined subject index
The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ Watch us on YouTube