Skip directly to search Skip directly to A to Z list Skip directly to navigation Skip directly to page options Skip directly to site content

YRBSS Data & Documentation

Youth Risk Behavior Survey (YRBS) data are available in two file formats: Access® and ASCII. The Access and ASCII data can be downloaded and used as is. Additionally, SAS® and SPSS® programs are provided to convert the ASCII data into SAS® and SPSS® datasets for use in those packages. Note: YRBS  documentation files on this page are within the following file size ranges: pdfs: 45K-1M; dat files: 3M-5M; sas programs: 2K-15K; sps programs: 2K-25K; zip files: 2M-6M.

 

New Sexual Minority Data are Now Available.

Combined YRBS Datasets and Documentation

The combined YRBS dataset includes national, state, and large urban school district data from selected surveys from 1991-2015. The Combined Datasets User’s Guide [PDF – 660K] provides detailed information about how to analyze the data

The combined YRBS dataset includes national, state and large urban school district data from selected surveys from 1991-2015. The Combined Datasets User’s Guide [PDF – 660K] provides detailed information about how to analyze the data.

The combined YRBS dataset includes national, state and large urban school district data from selected surveys from 1991-2015. The Combined Datasets User’s Guide [PDF – 660K] provides detailed information about how to analyze the data.

 Top of Page

National YRBS Datasets and Documentation

2015

Data

ASCII Data: dat (To save the ASCII data file: right click the link and select “Save target as”)

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: mdb

2013

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2011

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2009

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2007

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2005

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2003

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

2001

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

1999

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

1997

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

1995

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

1993

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

1991

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

Alternative High School (1998)

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

National College YRBS (1995)

Data

ASCII Data: dat

SAS Format Program: sas

SAS Input Program: sas

SPSS Syntax: sps

Access File: zip

Documentation

Users’ Manual

 Top of Page

Requesting Data Files

Learn more about Data Availability and Requesting YRBSS Data Files.

National data files are downloadable from this website. To request state, district, territory, or tribal government data files, please use the YRBSS Data Request Form.

 Top of Page

Additional Resources

 Top of Page

YRBS Dataset File Formats

Using ASCII Files:

  1. Save the ASCII data file to a folder on your computer.
  2. Specify column locations for each variable as needed by the software you are using.

Note: SAS and SPSS programs need to be used to convert ASCII into SAS and SPSS datasets. How to use the ASCII data varies from one software package to another. Column positions for each variable usually have to be specified. Column positions for each variable can be found in the documentation for each year’s data. Consult your software documentation for more information.

Using Access Files:

  1. Save the Access file to a folder on your computer.
  2. Uncompress the Access file.

Note: The file is stored in compressed form to improve download time; it will need to be uncompressed before it can be used. See File Formats Help for more information on uncompressing the file.

Using SAS Files:

  1. Save the SAS Format Program, SAS Input Program, and the ASCII data files to a folder on your computer.
  2. Open the SAS Format Program in SAS and edit it according to the instructions included in the comments in the program.
  3. Run the program. This will create a permanent format library in the folder specified in the SAS program.
  4. Open the SAS Input Program in SAS and edit it according to the instructions included in the comments in the program.
  5. Run the program. This will read the ASCII data file and convert it into a permanent SAS dataset for the particular year in the folder specified in the SAS program.

Note: Each year of YRBSS data should go in its own folder because each year has its own format library. Format libraries are not comparable across years. See SAS Format Library for more information.

The SAS format library contains the formats used to make SAS output more readable. Formats are linked to the data so that results are displayed as words (“Male” or “Female”, for instance) instead of numbers (1 or 2). The SAS YRBS data file is designed to use its companion format library.

The following example SAS program shows how to use the format library. It assumes that both the data file and the format library are in “c:data”. Note that the program contains two libname statements. The first libname statement indicates where the data file is located; the second libname statement indicates where the format library is located.

libname mydata ‘c:data’; /* tells SAS where the data are */
libname library ‘c:data’; /* tells SAS where the formats are */
 
proc freq data=mydata.yrbs2005;
tables q2;
 
run; 

 

Using the format library is recommended but technically is optional. If you do not want to use the format library, include the following statement at the start of your SAS program:

options nofmterr; /* tells SAS to not look for formats */

 

Please note that each year of YRBS data has its own format library. Format libraries are not the same across years of data.

For further information on using format libraries, please consult your SAS documentation.

Using SPSS Files:

  1. Save the SPSS syntax file and the ASCII data files to a folder on your computer.
  2. Open the SPSS syntax file in SPSS and edit it according to the instructions included in the comments in the file.
  3. Run the syntax file. This will read the ASCII data file and convert it into a permanent SPSS data file that includes labels and formats.

 Top of Page

TOP