Hi all,
I would like to know how to subtract some observation from one variable.
Some of them are linked to a dummy variable which is equal to 1 and I need to subtract them with the other variables (whose dummy variables are equal to 0).
How can I do this?
Thanks for the help.
Related Posts with stata question
Accumulate ifDear, good night! See if anyone can give me a tip. I consulted and I'm not finding topics on the sub…
check that rangestat is used correctlyHello, My data has the following variables: symbol (to identify which firm it is), year, industry a…
Sum up # of observations and output to spreadsheet/csvHello, I am trying to accumulate the number of observations for each dataset with a pattern of "con…
Creating cumulative frequency time series (overlay panels)Hi all, I have a data set of clients (unique ID) with their week of immunization and age group. Wha…
split (Chinese) addressDear All, I have this dataset. Code: * Example generated by -dataex-. To install: ssc install datae…
Subscribe to:
Post Comments (Atom)
0 Response to stata question
Post a Comment