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
Extracting dummy regression coefficients using statsbyI have the dataset shared further below. I need to: a) run several regressions whereby a continuous …
Dealing with zerosI have lots of zeros in both my dependent and independent variables. One way that I was dealing wit…
Exporting tabstat output to Excel file?Hi stata experts, I'm trying to export a tabstat table into excel sheet and have tried multiple com…
Probem with using global macro in a string before an underscoreHi statalisters, I want to use global macro's to refer to folder names, but ran into some unexpecte…
stcrreg command get subhazard ratio Code: use http://www.stata-press.com/data/r13/hypoxia, clear set seed 134 stset dftime, failure(fai…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing variables with loops
Post a Comment