hi my data goes like this:
var1 var2
10000 a
10000 b
10000 c
10001 a
10001 b
i want my data to look like this:
var1 a b c
10000 1 1 1
10001 0 1 0
please help
Related Posts with existing variable values as new variables
studentI am conducting a meta analysis of prevalence studies in Stata. Stata displays proportions in table …
See the duplicates observations in data editor screenHello everyone, I wish to see the duplicates observation in data editor screen, what command I have…
mean regression vs. regression toward the meanDear All, I just have a few dumb questions. Hopefully, someone here will help me understand econome…
meta analysis of proportionsI am conducting a meta analysis of prevalence studies in Stata. Stata displays proportions in table …
Parallel Trends DIDDear StataList Users, I am using a Difference in Difference Model but I am facing a challenge in es…
Subscribe to:
Post Comments (Atom)
0 Response to existing variable values as new variables
Post a Comment