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
Use estaddHey there, I need your help with the replication of a Regression and the command estadd. The proble…
Help Required with Statsby Dear all, I have a panel dataset with 50 stocks and 43 quarters. Given below is a subset of my data…
Calculating correlation between dummy variables using pwcorrHi, fist of all I was wondering whether pwcorr is okay to use when I would like to calculate the co…
Why my stata run 'twoway scatter' can not get normal stata pictureHelp! Why my stata run 'twoway scatter' can not get normal stata picture, but get the picture like t…
Making a health index with probit models and normalizationHi. I am currently trying to make a health index. you see my data below, being panel data sort by t…
Subscribe to:
Post Comments (Atom)
0 Response to Dealing with Product wise and Year wise firm data
Post a Comment