Dear All
I have a panel of firms (say, 2 firms, A&B) for 10 years(2001-2010). The variable of interest is the profits which I already generated. I would like to create a group (say 1) for those firm-years in which firms profits are, negative for 3 consecutive years. Thus if A reports negative cash flows during 2001,2002&2003, then I would like to have Group=1 during the year 2003 for the firm A. Based on Group 1, I would like to create 2 more sub-groups. Sub-Group A where firms register +ve profits in the following year after falling in Group1 &Sub-Group B where the firm register -ve profits again after falling in Group1(akin to 4 years of continuous negative profits). Continuing my example, if in 2004, if firm A reports +ve profits it will be in sub-group A & if firm A reports -ve profits in 2004, then A falls in Sub-Group B.
How to create groups in the above scenario?
Thanks in Advance
I have a panel of firms (say, 2 firms, A&B) for 10 years(2001-2010). The variable of interest is the profits which I already generated. I would like to create a group (say 1) for those firm-years in which firms profits are, negative for 3 consecutive years. Thus if A reports negative cash flows during 2001,2002&2003, then I would like to have Group=1 during the year 2003 for the firm A. Based on Group 1, I would like to create 2 more sub-groups. Sub-Group A where firms register +ve profits in the following year after falling in Group1 &Sub-Group B where the firm register -ve profits again after falling in Group1(akin to 4 years of continuous negative profits). Continuing my example, if in 2004, if firm A reports +ve profits it will be in sub-group A & if firm A reports -ve profits in 2004, then A falls in Sub-Group B.
How to create groups in the above scenario?
Thanks in Advance
Comment