Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: calculating age / tenure

From   "Ravindran, Kiron" <>
To   statalist <>
Subject   st: calculating age / tenure
Date   Wed, 7 Nov 2012 23:29:51 +0100

I know there should be a simple way of doing this. But am tying myself
up in knots figuring this out. Perhaps someone here can help

I have a table that looks like this Company1, Company2, Year of alliance

I want to calculate three different measures.
1. Company 1's experience: i.e. Year of Alliance of the Company1 minus
the first Year of Alliance of company 1. (this captures the number of
years of experience Company 1 has by being in any alliance)

2. The same for company 2

3. The alliance experience. The current year of alliance minus the
year of alliance when this particular dyad of Company 1 and Company 2
had their first alliance

Thanks in advance
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index