[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: manipulating data
I have a column of daily percentage returns on a security, I would like to make a column of cumulative prices. For example, I plan to fix a beginning value of 100 to the security. If the return for obs 1 were 5% and obs2 10% I would like the new column to have, as its obs 1, $105 and obs 2: 105*(1+.10) and so on. Any help would be greatly appreciated.
* For searches and help try: