Dear all,
My problem is the following: I have a panel data of EU countries in which I have many kinds of variables. One of them is the sovereign interest rates (i hereafter). I would like to compute the spread between any EU countries i's and Germany's one for each year. For instance, Italian-German spread in 2010 (i_italy-2010 - i_germany_2010). What is confusing to me is that I wouldn't make the difference between two variables, but between two observations of the same variable (the variable i). Does anyone has an idea about how to solve this issue ? I suppose I would have to start by bys country year. Thanks a lot.
Jean
Related Posts with Taking the difference of observations of the same variable
Does lowess take a long time?I am running Stata SE/17.0 on a Windows machine with Intel i7 1.8GHz, and 32GB RAM. So not exactly t…
Panel DataHello I am making a panel data model where I have the following regression: xtreg Domestic_Health rD…
Creation of Compound Interest variableGood evening everyone, I do have the closing prices NAV (net asset value) and I calculate the retur…
Count distinct values by groupsHello everyone, I have one question related to counting distinct values by groups. Here is an examp…
Negative error varianceDear StataListers, what should I do if I get a negative error variance in the stimation of structura…
Subscribe to:
Post Comments (Atom)
0 Response to Taking the difference of observations of the same variable
Post a Comment