Help with Downloading and Analyzing Data
Public-use data can be downloaded from the following locations on the SAMHDA website:
Study Home Pages (For an example, see the National Survey on Drug Use and Health, 2012 study home page)
Analyze Online page
Public-use data files are available for download in the following formats: SAS, SPSS, Stata, ASCII, tab-delimited, and, in some cases, R. The most commonly used formats are the SAS CPORT, SPSS SAV, and Stata system files. SAS and Stata supplemental syntax files are included for applying missing value recodes.
ASCII data files can be downloaded with their accompanying SAS, SPSS, or Stata setup files, which allow users to read ASCII data files into statistical software packages. For help with using setup files, see the FAQ: How do I use setup files to import plain text (ASCII) data? The following examples of setup files are available: SAS, SPSS, and Stata (Both DO and DCT files).
For more information on downloading data, users should consult the FAQ sections on How to Download Data, and Data Formats and Files.
Users can download and analyze public-use data files using a statistical program (e.g., SAS or SPSS) installed on their computer. Public-use data can also be analyzed online using the SAMHDA online analysis tools: Survey Documentation and Analysis (SDA), Quick Tables, Interactive Maps, and the Simple Crosstab/Frequency feature.
Restricted-use data files are not available for download. Users can only access restricted-use data online through the Restricted-use Data Analysis System (R-DAS) to produce frequencies and cross-tabulations.
For more information on analyzing data, users should consult the FAQ sections on Help with Analyzing Data Online and Help with the Restricted-use Data Analysis System (R-DAS). The Institute for Social Research (ISR) Applied Survey Data Analysis page also provides sample code for analyzing complex data from a variety of software packages.