<<dd_version: 2>>

<head>
<link rel="stylesheet" type="text/css" href="stmarkdown.css">
</head>

Analysis of the NHANES II data
===============================

## Descriptive statistics

~~~~
<<dd_do: nooutput>>
webuse nhanes2l, clear
dtable age weight i.sex i.diabetes, halign(center) export(dtable.md)
<</dd_do>>
~~~~

<<dd_include: dtable.md>>

<!-- Run code below but suppress output from resulting file -->
<<dd_do: quietly>>
regress bpsystol i.sex weight
estimates store model1
regress bpsystol i.sex weight i.agegrp
estimates store model2
<</dd_do>>

## Estimation results

~~~~
<<dd_do: nooutput>>
etable, estimates(model1 model2) mstat(N) mstat(r2_a) column(index) export(etable.md)
<</dd_do>>
~~~~

<<dd_include: etable.md>>
