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
summary of the scores into one row clear input id question str10 d1 str10 d2 str10 d3 scores smoking 1 2.1 "23/01/2013" "05/02/2015" "…
Graphing problem with data for employmentTrying to produce a graph from already a coding file that is available online and it certainly is re…
Wald(chi) missing in Random EffectsI am testing the effect of ESG rankings on effective tax rate and Hausman test shows me to do random…
F-tests on coefficients of non-nested regressionsHi guys I'm using ivreg2 with Stata 16.0 and windows 10 OS. I want to test the equality of coeffici…
First-Difference analysis with multilevel data and noconsDear all, I would like to investigate how a time-constant (by nature) variable affects the change of…
Subscribe to:
Post Comments (Atom)
0 Response to How to make A new Id's
Post a Comment