Review an example of conducting a simple weighted analysis using the BRFSS weights. An example interpretation spreadsheet is shown.
- [Teacher] It's Chapter 6, Section 2,…where I give you a quick and dirty example…of conducting a weighted analysis.…In this section, I'll show some R code I made…that's not part of our official series of code,…or R-movie, as I keep calling it.…It's just a quick and dirty example, like I said.…I'll show you how to keep the weight variables…when we read in the data,…and then I'll show you the code that lets you…enter the weighting variable…into the descriptive analysis.…Then we will look at the output and interpret it.…
Here's my example for you.…I'm going to show you how to calculate…state-based rates of asthma.…Remember, in order to do this, we can't remove any rows.…So you won't see any subset command.…Also, remember that if there is any subpopulation…that's big in the state that has a high rate of asthma,…that will blow up the overall state rate…when we use the weights.…That's the purpose of using them.…So now, join me as we dip our toes into the waters…of using the BRFSS weights with some example coding.…
Here is my code.…
Author
Released
12/12/2016This detailed, practical course is designed to help those in the field of public health, medicine, and data science to edit, analyze, and interpret data. Learn how to code new variables, use the forward-stepwise modeling process, and document your decisions. Find out how to visualize results by generating charts and graphics, and how to add tables and figures to your documentation. This course helps equip you to independently design, develop, and execute a full BRFSS analysis, and even publish your results in scientific publications or journals.
- Reviewing survey data and documentation
- Conducting a BRFSS analysis
- Understanding naming conventions
- Editing variables
- Reviewing distributions
- Generating an analytic dataset
- Developing descriptive statistics to answer prespecified hypotheses
- Preparing publication-worthy tables and plots
Skill Level Advanced
Duration
Views
Related Courses
-
Code Clinic: R (2015)
with Mark Niemann-Ross3h 24m Intermediate
-
Introduction
-
Welcome46s
-
Introduction to the course1m 22s
-
-
1. What Is the BRFSS?
-
US risk factors5m 30s
-
Introduction to the BRFSS2m 46s
-
More on the BRFSS1m 50s
-
Ethical use of BRFSS data4m 38s
-
BRFSS resources2m 25s
-
Installing R1m 50s
-
Navigating in R2m 37s
-
-
2. Designing Your Metadata
-
Uses of a data dictionary4m 35s
-
Understanding confounders4m 24s
-
Making a web of causation6m 28s
-
-
3. Reading in Data and Applying Exclusions
-
Reading in BRFSS XPT data6m 57s
-
Naming conventions5m 38s
-
Keeping native variables5m 15s
-
Operations in code3m 52s
-
Generating exposure4m 43s
-
Generating outcome variables3m 32s
-
-
4. Preparing for Descriptive Analysis
-
Generating the age variables4m 18s
-
What is Table 1?4m 26s
-
-
5. Conducting Descriptive Analysis
-
Making a frequency macro4m 8s
-
6. Descriptive Analysis: Weights and Tests
-
Conclusion
-
Review of the metadata6m 11s
-
Uses of metadata5m 26s
-
Review of the process3m 39s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Conducting a descriptive weighted analysis