Hello all,
I have generated a new variable using gen:
gen acmeanweekly = (aud1avfreq_7*aud2avamount_7)
However, some of the results are equal to zero and these appear to be dropped from the results. Is there an additional code I can use in order to keep outcomes which equal zero?
Thank you!
Philippa
Related Posts with Multiplication using gen
margins with multiple imputed dataHello, Is there a way to use the margins command with multiple-imputed data? I'm working with the f…
qregpdDear all! Getting error message r(3499) after running qregpd command. Please help! …
Help With Linear Interpolation Dear Stata Members Code: * Example generated by -dataex-. For more info, type help dataex clear i…
ICC for count models. …
qregpdDear all! Getting error message r(3499) after running qregpd command. Please help! …
Subscribe to:
Post Comments (Atom)
0 Response to Multiplication using gen
Post a Comment