Get introduced to operations that can be used in subsetting code, including less and greater than, not equal, and code for missing data.
- [Instructor] So far we've gotten our feet a little wet…with a few operations.…I showed you equals equals, which means, of course, equals.…I showed you less than.…Remember when we subsetted by the alcohol variable?…I also showed you the pipe, which is how you indicate or…in your conditions if you want to say this or that.…But in this movie, I'll go through some of the operations…I haven't mentioned yet.…I'll talk about using code to indicate missings in R.…How to negate operations such as not equal.…
And how to say and in R language.…Here on the slide are the ones we have used…so far in the course.…Notice the double equals for equals.…Don't forget that.…You'll understand why when I show you…not equals on the next slide.…The next is a less than example.…And in the next one, see how we use this pipe…as an or to say less than 777 or equal to 888.…Here are a few other examples we didn't use.…Often times you want a range…of a continuous or ordinal variable.…
Remember our AGE variable in BRFSS is in groups.…I looked it up, group two starts at age 25…
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.