To be more specific, I have an unbalanced panel data set that contains a variable that measures countries' level of democracy over time. I would like to add up each country's democracy score starting from the first observation to the present with a 1 percent annual depreciation rate. To be more specific, I have an unbalanced panel