Statalist The Stata Listserver

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

st: summation (+ absolute value) formula

From   "west--\@libero\.it" <>
To   "statalist" <>
Subject   st: summation (+ absolute value) formula
Date   Tue, 7 Nov 2006 22:21:58 +0100

I need some help, thank you in advance. 

Given a variable (taken from a set of n variables in a panel), called "Pippo", I need to compute the following formula:

Somma_(i=t-2 to t) of Absolute_value[(Pippo(i) - Pippo(i-1))/Pippo(i-1)]



*   For searches and help try:

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