Posted 2020-11-17: Links are now available for all Study 2 demonstration materials.
Remember that a general outline and set of instructions for the Study 2 report is available here.
In the demo, I demonstrate many (but not all) of the elements you would need to complete in Study 2, including:
for a simulated data set containing information on 999 subjects about high blood pressure control.
The data file for the Study 2 Demonstration Project is described in the R Markdown and HTML files above and is found on the 431-data website. It is called:
The subjects are identified with a code called subj_id
The demonstration project does not precisely follow the requirements from Study 2 for certain sections, because that is a big part of your job. In particular, I’ll note that I augmented the instructions in the Report Specifications for Sections 3 (Cleaning the Data) and 5 (Your Final Variables) after the demonstration project was created, so I placed a short note at the start of those sections to remind you to look at the detailed instructions
In the demonstration project, I don’t make much of an effort to make attractive graphs.
Outside of those caveats, these demonstrations are meant to be accurate and reflect the level of detail I’m looking for, although it is certainly possible to expand on these demonstrations in your work, if that seems helpful. I believe the demonstration project documents to be largely accurate, but many eyes will find some issues, eventually.
If people find corrections and would be good enough to post them to Piazza (under the corrections and projectB folders, please) I will attempt to reflect those edits in revisions. If I do something in the demonstration project that appears to be in conflict with the instructions for Study 2, then (a) please let me know, and (b) treat the Study 2 instructions as your guidepost in completing your work.
nhanesA
from three data sets in NHANES 2017-18, selects a few variables, merges the files, and then cleans up one of the variables to turn “Don’t Know” and “Refused” responses to missing values.This page was last updated: 2020-12-06 13:42:36.