Bookmark and Share

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: compounding interest


From   Jurgen Sidgman <[email protected]>
To   [email protected]
Subject   st: compounding interest
Date   Fri, 23 Jul 2010 13:37:25 -0500

Hi,

Does any one know how to multiply two or more values located in the same column but in different rows?
For example, in the first column I have the following information:
Row 1: 2
Row 2: 3
Row 3: 4
Row 4: 2

What I want to do is to calculate:
Row 1 x Row 2 = 6
Previous result x Row 3 = 24
Previous result x Row 4 = 48

Thank you
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index