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
correlation matrix after multiple imputation with p-valuesHello everybody, I would like to calculate a correlation matrix with mi-data. I came across the foll…
Problem with excluding observationsHello, everyone! I am fairly new to Stata and I am trying to work out how to exclude some oberserva…
reshapeHi, I am trying to reshape my data. Stata says that the data is currently wide. The current data is…
Expanding datasets to all possible pairs cutting across groupsDear Statalist. I have a question that I think expands on Nick Cox's FAQ: https://www.stata.com/sup…
IPWRA and PSMATCH, how to choose..Hi all, I have a longitudinal dataset with individuals some of which received a treatment at some t…
Subscribe to:
Post Comments (Atom)
0 Response to Summing up values
Post a Comment