I am working on a data that consists the following variables - firms, years and the product codes of the goods produced by these firms during their reported years. So, for example, firm A produces goods 1, 2 and 3 in 2004, goods 2 and 4 in 2005 and so on.Now I want to create two variables - one, that indicates the number of products added by a firm during each reported year andtwo, that indicates the number of products dropped by that firm during each year. Can anyone please help me in dealing with these two questions?
-
Login or Register
- Log in with
Comment