[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: summation

From   "Martin Weiss" <>
To   <>
Subject   st: AW: summation
Date   Tue, 11 Aug 2009 17:00:01 +0200


This task will be much easier for you if you -reshape- the data to long
format, which enables you to use -egen, rowtotal()-
Also see

Give a more comprehensive excerpt of your data for further help...


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Arina Viseth
Gesendet: Dienstag, 11. August 2009 16:56
Betreff: st: summation

Dear Statalist,

I imported from excel quarterly data for three variables, from 1995 to 2008.

It currently looks like this on Stata:
var A                    var B            var C
1995Q1 1995Q2...2008Q4 |1995Q1 ...2008Q4| 1995Q1...2008Q4 

I would like to generate the sum all three variables for the same quarterly
data, and I am not sure how to proceed. Would there a quick way for me to

Thank you very much in advance for any suggestion.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index