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)
Takes forever to run regressionI searched this forum and there were several posts about taking forever to run a specific regression…
How to convert strings to date variable?For example, a date of 81.511, corresponds to 06/07/1981(DMY). How do you convert this to a Stata da…
confidence intervalmake a projection of the incidence rate of diabetes mellitus during the period 1995−1999, and provid…
Every time I type the command 'mmsel', I get a 'file tmp / xfbf.dta not found' error.I try to implement wage decomposition based on Machado and Mata (2005). I would be grateful if you c…
Appropriate Discriptive Statistics: Log or Original DataDear All, I have log transformed my variables and want to provide descriptive stats. Would you advi…
Subscribe to:
Post Comments (Atom)
0 Response to Creating New Variable based on Values of Another Variable (by group)
Post a Comment