Tim Plante, MD MHS

Downloading and analyzing NHANES datasets with Stata in a single .do file

Learn to love NHANES NHANES is a robust, nationally-representative cross-sectional study. For the past ~18 years it sampled different communities across the US in 2 year continuous cycles. A few of these years are linked to National Death Index data, so you can assess risk factors at the time of the survey and use time-to-event …

Table 1 program

July 2019 update I have since discovered the excellent table1_mc program and have abandoned using this program. I’m keeping this code here for historical sake. Check out my write-up of table1_mc. Stata programs to make tables Here are a few simple Stata programs that will write a CSV file for your Table 1. This has …

Skip to toolbar