Dear Stata-users,
I struggle with creating a new variable. I work on a panel data. I have few firms with firm id. For every id in a given point in time t I have the string variable name. Unfortunately for the same id I have names which are slightly different in different points in time. E.g. for id=1 I have "companyA ltd" for 01.10.2016 and for 31.12.2021 I have "company A ltd London". I wanna have a column with the names from 31.10.2021 for every id, so that they would be the same. Unfortunately I have no idea how to do it and my searching is not fruitful
Please help me
I struggle with creating a new variable. I work on a panel data. I have few firms with firm id. For every id in a given point in time t I have the string variable name. Unfortunately for the same id I have names which are slightly different in different points in time. E.g. for id=1 I have "companyA ltd" for 01.10.2016 and for 31.12.2021 I have "company A ltd London". I wanna have a column with the names from 31.10.2021 for every id, so that they would be the same. Unfortunately I have no idea how to do it and my searching is not fruitful
Please help me

Comment