Hello everyone,
I need help with making a new Id that will solve my table so basically, I have data that has
Bank ID which is the bank number
Before, During after which variables that did take 0 for no and 1 for yes
Ticker which is the name of the company
this new ID I want it
If ticker Apple has a value of 1 in before and value of 1 after for the same Bank ID (score 1 In result)
If ticker Apple has a value of 1 in before and value of 0 after for the same company ID (score 0 In result)
This is the table before
Array
and this is what I want it to look like
Array
what Is the best way to do it in stata since manually will take a lot of time
Related Posts with How to make A new Id's
Create a rank variable mpg rank 12 1 12 1 14 2 14 2 14 2 15 3 15 3 16 4 17 5 I want to create a ran…
Local dependency test for Latent Class AnalysisDear Stata users, I was looking for Stata materials on methods to test local dependency between item…
Error: numlist has too many elementsHello, I am trying to run an ROC analysis with 43,905 observations. My code is: dtroc compend sih…
Complementarity test for types of innovationHello, I do research about the impact of innovation on the productivity of firms. I need to perform…
Looping over merge filesGood evening - I'm currently working on generating cause specific SMRs for 20 different causes of d…
Subscribe to:
Post Comments (Atom)
0 Response to How to make A new Id's
Post a Comment