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 a variable - that indicates the number of products added by a firm during each reported year. Howevwer, there are instances that a firm introduce a product then drop it and reintroduce it. Here i don't want to consider the ''reintroduction'' of the product. i just want to see the first appearance of a product. can anyone help regarding this ? sample data is attached. thanks a lot
Related Posts with Dealing with Product wise and Year wise firm data
Dynamic GMM: select the appropriate lag length for instrumented variablesHello, I am running a one step dynamic gmm model of this kind. My data consists of a N=185 and T=27.…
How to cluster standard errors?Dear all, I am currently doing my master thesis and I would really appreciate some help, since I am…
Increase in the number of observations after using RESHAPE commandDear community, My original data are in long shape. When I reshape long to wide there is an increas…
time series prediction assignmentBackground: As a researcher at the financial economics research department of the Federal Reserve Ba…
Panel data, want to see the regression results for two time periods and country setsHi, I have a panel dataset of with a variable country, year, university, sat score. (Similar variabl…
Subscribe to:
Post Comments (Atom)
0 Response to Dealing with Product wise and Year wise firm data
Post a Comment