Dear friends,
When I run the do-file, I have been always informed :
#delimit ;
invalid 'replace'
r(198);
end of do-file
r(198);
Once I changed the delimit type into ///, no problem any more.
The program content is:
#delimit ;
gen infration_04a=0 ;
replace infration_04a=1 if
(infwhyv81==1)|
v79==1&(v86!=1);
#delimit cr
Anything wrong? Thanks
--
Joseph
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/