I have the following Data set
naics. 1989. 1990. 1991. 1992.
111 xxxxx xxxxx xxxxx xxxxx
113 xxxxx xxxxx xxxxx xxxxx
112 xxxxx xxxxx xxxxx xxxxx
115 xxxxx xxxxx xxxxx xxxxx
114 xxxxx xxxxx xxxxx xxxxx
212 xxxxx xxxxx xxxxx xxxxx
221 xxxxx xxxxx xxxxx xxxxx
213 xxxxx xxxxx xxxxx xxxxx
214 xxxxx xxxxx xxxxx xxxxx
I need to add specific rows together,
generate a new row (111_112) by adding the values for each year for the 111 and 112
generate a new row (113_114_115) by adding values for each year for 113,114 and 115
Related Posts with Summing up values
How to generate mean by groupGood morning everyone ! I have a problem of calculating the decile by group. Here is the datset that…
Event study using "never treated" units - DID multiple periodsHello everyone, I am applying DID with multiple periods using csdid and "never treated" units as co…
Format the number of decimals in Table command in Stata-17Hello everyone. I use the command below to determine the number of decimals in my table in Stata-17.…
Sample from joint distributionHi, I was wondering if there is a way to generate a dataset with 100 observations, with two variabl…
Stochastic Frontier Approach (SFA): Why the sfpanel results are different by z variable order?Dear all, I'm on the research, based on stochastic frontier approach (SFA), Battese and Coelli time-…
Subscribe to:
Post Comments (Atom)
0 Response to Summing up values
Post a Comment