From the course: Descriptive Healthcare Analytics in R
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Adding to the data dictionary - R Tutorial
From the course: Descriptive Healthcare Analytics in R
Adding to the data dictionary
- [Narrator] In the last lecture, we began the data dictionary and added a native variable, veteran status. Here, we will add three more native variables: alcohol consumption, sleep duration, and asthma status. Again, we return to the code book. Let's find the alcohol variable we want to use. I'm going to use Control + F and look for alcohol. Here we are, ALCDAY5. This is a pretty complicated variable, so let's document it. Let's go over to the data dictionary, where I already did that. The question is simple enough. During the past 30 days, how many days per week or per month did you have at least one drink of any alcoholic beverage, such as beer, wine, a malt beverage, or liquor? But let's look at the coding I documented on the tab. See how complex the coding of this field is? One in the first position means per week. The other two positions are how many times per week. But note that two in the first position means "in the past 30 days." The other positions are how many times in the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Uses of a data dictionary4m 35s
-
(Locked)
How to set up a data dictionary3m 48s
-
(Locked)
Adding to the data dictionary6m 13s
-
(Locked)
Understanding confounders4m 24s
-
(Locked)
Making a web of causation6m 28s
-
(Locked)
Designing confounders: Age and smoking4m 42s
-
(Locked)
Designing confounders: Other demographics4m 19s
-
(Locked)
Designing confounders: Other variables used in analysis4m 39s
-
-
-
-
-
-