If that works, this should too, which is just what was mentioned earlier.
Sorry, but I can't diagnose errors in code you don't show me.
Sorry, but I can't diagnose errors in code you don't show me.
Code:
gen CardArrythm1 = 0 forval j = 1/20 { replace CardArrythm1 = 1 if DX`j' =="427" & DXPOA`j' == "Y" }
Comment