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
label for loop?Der All, I have the following code for graphs Code: quietly rdplot lpop1994 X, graph_options(ytitl…
Outcome / negative -0.000?Hello I got in a regression, for a variable the coefficient -0.0001063. The problem is that as in m…
Defining variables based on characters included and conditional F tests using a step down procedure (Spanning tests)Dear STATA users, I am using the code below and have encountered two problems which I could not sol…
weights application on chi square testHello, I have a large regional dataset with a weight variable ready. I am trying to conduct a chi-s…
Point in poly dataset mappingHello, I am trying to map points in one dataset to the polygons defined in a second dataset in such…
Subscribe to:
Post Comments (Atom)
0 Response to Super simple syntax question
Post a Comment