Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: PLEASE, Cumulative by group


From   "Mohamad Al-Ississ" <[email protected]>
To   [email protected]
Subject   st: PLEASE, Cumulative by group
Date   Sat, 18 Nov 2006 12:32:50 -0500

Hi,
I am wondering if you can help me. I am trying to get a cumulative sum
of AAR below by dif group. So I need the CAAR to do something like
this:

dif   AAR       CAAR
1     2.2         2.2
1     2.2         2.2
1     2.2         2.2
1     2.2         2.2
2     6.6         8.8
2      6.6        8.8
2      6.6        8.8
2      6.6        8.8
3      1.4        10.2
3      1.4        10.2
3      1.4        10.2

I cannot do by line because because the groups vary in number of
sub_occupants. I need to do it by group, can you help me?
Thanks,
--
Mohamad Al-Ississ
Candidate, Masters in Public Administration
in International Development,
Kennedy School of Government
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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