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
Renaming Windows directory using Stata syntax?Dear Statalist Is there a way to rename directories on my Windows PC from within Stata? I found how…
Forecast applications of dynamic panel data models with fixed effectsI am attempting to produce out-of-sample forecasts based on a dynamic panel data model with fixed ef…
Pedroni's Panel Cointegration Tests and Panel Dynamic OLS estimationDear all, I was trying to conduct the Pedroni's Panel Cointegration Tests and Panel Dynamic OLS est…
Issue with two-step multinomial logit estimation (McFadden correction)Dear stata users, As you know, the two-step multinomial logit estimation (McFadden correction), req…
Issue with predictnlDear All, I am going through the paper by Karaka-Mandic, Norton and Down (2012) "Interaction terms …
Subscribe to:
Post Comments (Atom)
0 Response to Multiplication using gen
Post a Comment