Skip to content

scarwintercodes/yrbs-training

Repository files navigation

YRBS Data Analysis Guide

Overview

This repository contains a comprehensive guide for analyzing Youth Risk Behavior Survey (YRBS) data using R's survey package. The guide is designed to help researchers, especially those transitioning from SAS to R, understand how to properly handle complex survey data and perform weighted analyses.

What You'll Learn

  • How to set up your R environment for YRBS analysis
  • Proper techniques for loading and preparing YRBS data
  • Creating survey design objects that account for complex sampling
  • Generating weighted frequency tables and cross-tabulations
  • Running logistic regression analyses with survey weights
  • Best practices for data management and analysis

Key Features

  • Step-by-step instructions for all analysis stages
  • Clear explanations of why each step matters
  • Examples of both statistical modeling and human-readable output
  • Troubleshooting tips for common issues
  • Comparison to SAS procedures for SAS users

Prerequisites

Before using this guide, you should have:

  • Basic familiarity with R
  • YRBS dataset in CSV format
  • R installed on your computer

Best Practices

The guide emphasizes:

  • Proper survey design implementation
  • Data management techniques
  • Documentation standards
  • Result interpretation guidelines

Resources

For more information, see:

Contributing

This guide is maintained as an educational resource. Suggestions for improvements are welcome.

About

Comprehensive guide for analyzing Youth Risk Behavior Survey (YRBS) data using R's survey package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published