### summation

Posted:

**Fri Jul 19, 2019 7:40 pm**
how to code this ?

Page **1** of **1**

Posted: **Fri Jul 19, 2019 7:40 pm**

how to code this ?

Posted: **Sun Jul 21, 2019 3:56 pm**

Hi

Just use Y(i-1,r,t). Note however, that this means that you can't use this for the first i if there is no value for i-1. If it is a variable, you probably will have to fix the Y(i-1) to a certain value or you can define the equation for all i > 1

Cheers

Renger

Just use Y(i-1,r,t). Note however, that this means that you can't use this for the first i if there is no value for i-1. If it is a variable, you probably will have to fix the Y(i-1) to a certain value or you can define the equation for all i > 1

Code: Select all

```
myeq(i,r)$(ord(i)>1)...
Y(i,r,t) =L= sum(t, Y(i-1,r,t);
```

Renger

Posted: **Sun Jul 21, 2019 4:20 pm**

THANK YOU