Hello Stata Friends:
I would like to make the values of one variable, each into their own new variables themselves to be applied to everyone in a given group (in this case, state-year pairs).
I currently have:
Array
I am trying to get:
Array
Any help on this would be greatly appreciated!
Thank you!
Carlos
Related Posts with Creating New Variable based on Values of Another Variable (by group)
Avergaing values of variables to reduce survey observationsHi, I am looking for a solution to average the survey respones. Below S007 is suvey respondent ID, …
how to know whether a placebo test is passedHello! I'm conducting a placebo test on a staggered DID, I randomly assign treatment firms and poli…
testing the validy of the instrument in xtivregHi, I am using xtivreg , where xtivreg y (x=z) The issue is that how can i tell that the instrume…
Something wrong with -colorpalette-Dear Stata users, I have installed the -colorpalette- wrote by Ben Jann, and I remenber that it run…
Example of GMM moment-evaluator program with many equationsHi, Statalist, Does anybody know a simple example of how to implement the moment-evaluator program …
Subscribe to:
Post Comments (Atom)
0 Response to Creating New Variable based on Values of Another Variable (by group)
Post a Comment