课程: Descriptive Healthcare Analytics in R

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Adding to the data dictionary

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…

内容