Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: AW: "vertical filter and sum of data"
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: AW: "vertical filter and sum of data"
Date
Tue, 13 Jul 2010 17:28:47 +0200
<>
Maximiliano may also want to take a look at NJC`s seminal
http://www.stata-journal.com/sjpdf.html?articlenum=pr0004
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Maximiliano
Manuel Silva Correa
Gesendet: Dienstag, 13. Juli 2010 16:53
An: [email protected]
Betreff: st: "vertical filter and sum of data"
Dear Stata Community,
Id like to sum vertically some entries of my data but i dont know how.
Could you please tell me the sintax and structure of how to do this?
Suppose we have a several power transmission lines with several
substations in between, all over the US, indexed from 1 to Ni,
corresponding to a certain line Li. Each substation has a power
consumption (suppose one line per state). Additionaly we have a time
variable MONTH.
The structure of the data is
LINE S_INDEX MONTH POWER
Fixing LINE, MONTH, id like to sum POWER all over (S_INDEX) the line.
Any help will be greatly appreciated. Thank you in advance :) .
Max
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/