replace c_q33_1=.a if c_q29_1 ==.a
replace c_q33_2=.a if c_q29_2 ==.a
replace c_q33_3=.a if c_q29_3 ==.a
replace c_q33_4=.a if c_q29_4 ==.a
replace c_q33_5=.a if c_q29_5 ==.a
Related Posts with Replacing variables with loops
local list from variablesHi Statalists, I am trying to create a list from variables, that I can loop through. But the script…
Changing label characters when using spmapHello all. I have some special need: I'd like to change labels in maps produced with spmap to bold …
Multi-level interaction with fixed reference category - specification and random term structureDear all I am hoping you may share your advice with me on multi-level interactions. I am intereste…
Converting C++ into STATA codeHi, I should say I am a novice! Is there any simple way of converting C++ coding into something I c…
Using egen rowtotalHi All I'm creating a variable named score1982 that should show the total number of conditions a su…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing variables with loops
Post a Comment