I have a variable that contains totals of advertising costs for different products from different years, so it contains the total advertising costs for products A, B, and C. My question is how do I total only the costs from specific years within that variable? So to combine the costs for all products in 2007. I know that I'm supposed to provide code, but I can barely add at this point.
Related Posts with Super simple syntax question
About unbalanced panel(I have a data set , 12 countries and a period of 10 years which of them have different year period, …
Year and industry dummyHi, I want to run a fixed effect regression model with both year and industry fixed effect. I would…
Creating age variable from date of birthHi, My data has a birthday variable that I need to convert into age. I've spent some time researchin…
About unbalanced data panelI have a data set , 12 countries and a period of 10 years which of them have different year period, …
keep one observation within a groupDear All, Suppose that I have a dataset Code: * Example generated by -dataex-. To install: ssc ins…
Subscribe to:
Post Comments (Atom)
0 Response to Super simple syntax question
Post a Comment