Hi there,
I'm doing my master thesis and studying the impact of debt on economic growth.
I'm working on a panel data of 12 european countries during the years 1991 - 2015.
I would like to set the GDP variable to its initial value (value in 1991) in order to test for conditionnal convergence across economies (higher (lower) initial value of GDP tends to lower (higher) economic growth). Do you know how to procede ?
Here is the equation I want to estimate :
y i,t = c + β0 lnGDP i,0 + β1 debt i,t + β2debt2 i,t + β3 gfcf i,t + β4 popgrowth i,t + ui + vt + Ɛi,t
But I can't find a way to fix the lnGDP variable to its initial value.
Could you please help me ?
Thanks a lot in advance
Fixing a variable to its initial value
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Fixing a variable to its initial value
Something like:
Code: Select all
series fixedgdp = @meansby(gdp, @crossid, "1991 1991")
Follow us on Twitter @IHSEViews
Re: Fixing a variable to its initial value
Thank you a lot !
It worked but I couldn't run the regression with fixed cross-section (near singular matrix error), do you know why ?
It worked but I couldn't run the regression with fixed cross-section (near singular matrix error), do you know why ?
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Fixing a variable to its initial value
Perfect multicollinearity. Each cross section already has a constant--that first observation.
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 5 guests