Assume that you have the following problem. You have patent citations for firms in different years. The questions is to calculate the half-life of citations. That is, how many years will be needed until a firm gets 50% of the citations from a specific year. I have prepared the following simplistic example:
Code:
input id year value half_value time_until_half 1 1990 50 25 3 1 1991 2 1 1 1 1992 3 1.5 1 1 1993 25 12.5 1 1 1994 15 7.5 3 1 1995 5 2.5 1 1 1996 1 0.5 1 1 1997 1 0.5 1 1 1998 3 . . 2 1990 8 4 2 2 1991 3 1.5 2 2 1992 1 0.5 1 2 1993 2 1 1 2 1994 12 6 4 2 1995 1 0.5 1 2 1996 2 1 1 2 1997 1 0.5 1 2 1998 3 . . end
How would one calculate half-life in the way described above in Stata?
Thanks a lot
0 Response to Calculating citation half-life
Post a Comment