Re: [R] plm issues: error for "within" or "random", but not for "pooling"

2010-02-24 Thread Liviu Andronic
Dear Giovanni Thank you for the quick reply and sorry for not being able to respond in kind: since our last e-mail we decided to change the way we measure the variables, and this took some time. I managed to track down the original issue, I think, to an improperly specified subset vector to the "d

[R] R: plm issues: error for "within" or "random", but not for "pooling"

2010-02-04 Thread Millo Giovanni
Dear Liviu, it's difficult to tell without seeing the data. I might guess that you have some completely empty groups about which Tapply complains when doing the time-demeaning, but it would be just a guess. I realize you can't share the data in the present form, but may I suggest you try and s

[R] plm issues: error for "within" or "random", but not for "pooling"

2010-02-04 Thread Liviu Andronic
Dear all I am working on unbalanced panel data and I can readily fit a "pooling" model using plm(), but not a "within" or "random" model. Reproducing the examples in vignette("plm") and in the AER package I encountered no such issues. ##unfortunately I cannot disclose the data, and it is too big a