Let me illustrate the problem with an example:
Suppose my sample consists of 10 periods, x cross-sections and two series ("series_a" and "series_b")
Now "series_b" (each cross section) should be equal to "series_a" (cross section "A")
It's not difficult to write a mini program to achieve that, e.g.
Code: Select all
For !i=0 To 10
smpl @first+(!i) @first+(!i) if ident="A"
!temp=@max(series_a)
smpl @first+(!i) @first+(!i)
series_b=!temp
Next
