Introduction to Stata 8
Introduction to Stata 8
Introduction to Stata 8
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Numbers <strong>to</strong> strings<br />
\o( Iant t>e n(meri) .aria?1e cprnum )on.erte' <strong>to</strong> a e n(meri) .aria?1e cprnumE _oIe.er: 5or per a<br />
1ea'ing 0 in t>e CPR n(m?er t>e i< )an ?e<br />
reme'ie' ?8W<br />
replace cprstr = subinstr(cprstr," ","0",1)<br />
X>e upper 5(n)tion )on.ert< 1oIer )aa' ?een entere' in)on=10 & ncode4e e infix<br />
)omman' rea' t>e i< Ia8W<br />
replace diab=1 if scode>="E10" & scode