With guidance from the data dictionary, learn how to use an R list to trim off unneeded native variables from the analytic data set.
- [Instructor] This lecture is about…keeping the native variables we need…after reading in the data set.…So let me remind you where we've gone…up to now in this chapter.…First, I talked about what packages there were,…and we loaded the foreign package together.…Then we made some code using the foreign package,…and downloaded the BRFSS data set,…in the .xpt format, and read it in.…After that, I explained to you…about naming conventions for data set and code.…Now, in this movie, we'll go back to the code we made…to read in the data set,…and we'll save it according to our naming conventions.…
And, we will use our data dictionary as a guide…to just keep the native variables we need…from the large BRFSS data set.…We made some code to call up the foreign library,…and read in the data.…Okay, now that we learned about naming conventions…in section three, let's name this code.…I like to name my code starting with three integers…so it sorts in order of how you run it, like I said.…I like my editing data code to start with one,…
This 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
1. What Is the BRFSS?
2. Designing Your Metadata
3. Reading in Data and Applying Exclusions
4. Preparing for Descriptive Analysis
5. Conducting Descriptive Analysis
Making a frequency macro4m 8s
6. Descriptive Analysis: Weights and Tests
- 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.Cancel
Take 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.