Displaying 1 result from an estimated 1 matches for "unspel".
Did you mean:
unspec
2008 Oct 27
3
counting run lengths
...,
where rows indicates time periods, columns the number of agents (4
agents and 8 periods in this case):
Atr=[
1 1 1 1
1 1 0 1
1 1 0 1
1 1 0 1
0 1 0 1
0 1 0 1
0 1 0 1
0 1 0 1]
At this point, I need to update a vector ("unSpells") which contains the
lenghts of unemployment spells, and is initialized with ones.
Practically, in the case represented I need to store the value "4" at
position 1 of unSpells and "7" at position 3 of unSpells (that is, I
care only of those who, in the last row, are z...