Hello everyone,
I need to calculate the founding year of each company based on the first year of data available for Total Asset. For example for Company with ID 001000 founding year is 1961 and for company with ID 001111 the founding year is 1986.
ID Year Total Asset
001000 1961 44.025
001000 1962 38.586
001000 1963 23.905
001000 1964 1.416
001000 1965 2.31
001000 1966 2.43
001000 1967 2.456
001000 1968 5.922
001111 1985 .
001111 1986 33.45
001111 1987 29.33
001111 1988 19.907
001111 1989 21.771
001111 1990 25.638
Could you please tell me which command I can use to extract founding year for each company in my sample?
Thanks in advance.
I need to calculate the founding year of each company based on the first year of data available for Total Asset. For example for Company with ID 001000 founding year is 1961 and for company with ID 001111 the founding year is 1986.
ID Year Total Asset
001000 1961 44.025
001000 1962 38.586
001000 1963 23.905
001000 1964 1.416
001000 1965 2.31
001000 1966 2.43
001000 1967 2.456
001000 1968 5.922
001111 1985 .
001111 1986 33.45
001111 1987 29.33
001111 1988 19.907
001111 1989 21.771
001111 1990 25.638
Could you please tell me which command I can use to extract founding year for each company in my sample?
Thanks in advance.
Comment