Help the Stat Consulting Group by giving a gift

Data Management

These pages contain links from all parts of our web site and others web sites on data management in Stata. The topics will vary from introductory to advanced.

- Stata Class Notes
- Stata Annotated Output
- Stata
Learning Modules
- Reading Data in Stata
- Basic Data Management in Stata
- Intermediate Data Management in Stata

- Stata
Frequently Asked Questions
- Transferring data to/from Stata
- How can I convert files among SAS, SPSS and Stata?
- How do I export Stata .dta files to other programs?
- How do I export Stata .dta files to a SAS Xport file?
- How can I load, write, or view a dBASE file, Excel file or Access file using odbc?
- How can I convert a Stata file to an MLwiN file using Stata program stata2mlwin?
- How can I convert a Stata file to an Mplus file?
- How do I convert a Stata file to HLM?
- How can I convert a Stata file to an HLM file using HLM Windows interface?
- How to separate a Stata single file into multiple data files for analysis in HLM software?
- How can I input a dataset quickly?
- How do I read a data file that uses commas/tabs as delimeters?
- How can I output a formatted ASCII file?
- How can I handle the No Room to Add Observations Error?
- How do I load large data sets (> 1GB) under 32-bit Windows? (from Stata FAQs)
- How can I read binary data in Stata?

- General use and data management
- How do I Copy Stata Output and Stata Graphs into Word?
- Can I quickly see how many missing values a variable has?
- How can I see the number of missing values and patterns of missing values in my data file?
- How can I see how many missing values a character variable has?
- How can I detect duplicate observations?
- How do I check that the same data input by two people are consistently entered?
- How can I convert a string variable to a numeric variable in Stata?
- How can I quickly convert many string variables to numeric variables?
- How can I quickly recode continuous variables into groups?
- How do I standardize variables (make them have a mean of 0 and sd of 1)?
- Why am I losing precision with large whole numbers (such as an ID variable)?
- How can I merge multiple files in Stata?
- How can I list observations in blocks?
- Can I do by and sort in one command?
- How can I randomly assign observations to groups in Stata?
- How can I draw a random sample of my data?
- How can I quickly recode missing values into different categories?
- How can I "fill down"/expand observations with respect to dates and then update my dates?
- How do I assign the values of one variable as the value labels for another variable?
- What is the difference between = and == in STATA?
- How can I turn a string variable containing dates into a date variable Stata can recognize?
- How can I translate a file into a Postscript file?
- How can I create all pairs within groups?
- How can I access information stored after I run a command in Stata (returned results)?
- How can I reshape doubly (or triply) wide data to long?
- How can I identify cases used by an estimation command using e(sample)?
- How can I generate automated filenames in Stata?
- How can I sample from a dataset with frequency weights?
- How can I sort data within rows independently for each observation?

- Transferring data to/from Stata
- Stata Code Fragments

The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.