Hi everyone,
I'm trying to estimate a dynamic model for explaining the spread behavior of 5 loan categories in Brazil. I'm using panel data comprising 7 banks and 28 quarters. In order to estimate a single panel (instead of five panels, one for each loan category), I stacked up the five panels and labeled each combination of bank/loan category as a different individual. Since I'm using 7 banks and 5 loan categories, I have 35 units and used dummies to distinguish among the five loan categories. So I interacted the dummies with the explanatory variables..
But I'm facing a problem using the xtdpdml command below
Stata (version 13.1) returns the message "variable Spread1 already defined r(110);". Does anyone have any idea of what exactly this means? Spread1 is the interaction between dummy 1 and the lagged dependent variable (as RkAv1 is the interaction between RkAv and dummy 1 and so on). This message also appears if I remove Spread1 and Spread2, and it keeps popping up relating to every interaction between the dummies and the variables.
What if I remove all the interactions between the dummies and the variables? In this case, Stata returns the message "model not identified; no paths from latent variable Spread28 to observed variables r(503);"
Does anyone have any clue about these issues?
Thank you all in advance.
José
I'm trying to estimate a dynamic model for explaining the spread behavior of 5 loan categories in Brazil. I'm using panel data comprising 7 banks and 28 quarters. In order to estimate a single panel (instead of five panels, one for each loan category), I stacked up the five panels and labeled each combination of bank/loan category as a different individual. Since I'm using 7 banks and 5 loan categories, I have 35 units and used dummies to distinguish among the five loan categories. So I interacted the dummies with the explanatory variables..
But I'm facing a problem using the xtdpdml command below
Code:
xtdpdml Spread Spread1 Spread2 RkAv RkAv1 RkAv2 End End1 End2 MktSha MktSha1 MktSha2 ItRkb ItRkb1 ItRkb2 OpCost OpCost1 OpCost2 MgmQty MgmQty1 MgmQty2 Size Size1 Size2 Infl Infl1 Infl2 ImpInt ImpInt1 ImpInt2 OppCost OppCost1 OppCost2 NTA NTA1 NTA2 GDPg GDPg1 GDPg2 LiqRk LiqRk1 LiqRk2 Selic Selic1 Selic2, ylags(1)
What if I remove all the interactions between the dummies and the variables? In this case, Stata returns the message "model not identified; no paths from latent variable Spread28 to observed variables r(503);"
Does anyone have any clue about these issues?
Thank you all in advance.
José
Comment