HELP!!!
Hi, I want to create a dummy from the second dummy variable which is 1 or 2 in case the code is repeated I want that observation which is 1 or 2 to become a 1 in my new variable
CODIGO var x new var challengue
1233xxxx345 2 . C0001
1233xxxx345 1 1 C0001
I want to create a variable that can contain that observation in a 1
* Example generated by -dataex-. To install: ssc install dataex
clear
input str11 ruc byte usuario
"A024xxxx542" 2
"A024xxxx542" 1
"A025xxxx735" 2
"A025xxxx204" 2
"A025xxxx713" 2
"A029xxxx471" 1
"A029xxxx471" 2
"A029xxxx342" 2
"A029xxxx796" 2
end
label values usuario usuario
label def usuario 1 "Solicitante", modify
label def usuario 2 "Participante", modify
[/CODE]
------------------ copy up to and including the previous line ------------------
Listed 100 out of 1480 observations
Use the count() option to list more
Related Posts with Help me
Piecewise regressionDear Statalist. I was wondering how to know what intial value to enter when doing a piecewise regres…
Result in binary logistic regression significant but not in multilevel modelDear all, I have run a binary logistic regression analysis (good versus poor health) and my results…
Possible issue with diff in diff regression?Hello, I am trying to do a diff in diff approach where my regression code looks like this Code: …
How to get 1, 3, 6 month future returnsHello. I'm currently doing a finance dissertation on the U.S. stock market. I have firm prices, dail…
Change letter spacingDear all, When plotting a graph, is there an option to change the distance between characters (lett…
Subscribe to:
Post Comments (Atom)
0 Response to Help me
Post a Comment