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
Share of working hour of an occupation in whole industryHello, I've been working CPS basic monthly sample and in the below data sample ahrswork1 stands for…
Stack constant after running multiple regressionsDear all, Please kindly help. I would like to report the constants clearly after running my regress…
Can a marginal effect be -1.37?After running a xtlogit model with an interaction term between a score (continuous variable) and res…
geocoding addresses to US census block groups and automationThe US Census has a neat online tool that lets you get the census tract and block group codes for up…
Problem in generating a new variableHello everyone, I have a question regarding generating a new variable in STATA. I am currently work…
Subscribe to:
Post Comments (Atom)
0 Response to Dealing with Product wise and Year wise firm data
Post a Comment