[R] R: error using pvcm() on unbalanced panel data

2010-02-26 Thread Millo Giovanni
Dear Liviu, in general, pvcm is capable of fitting variable coefficients models on unbalanced data sets: e.g., > data(Grunfeld) > grun<-Grunfeld[-1,] ## 'unbalance' it > pvcm(inv~value+capital, data=grun) Model Formula: inv ~ value + capital Coefficients: (Intercept) value capital 1

Re: [R] error using pvcm() on unbalanced panel data

2010-02-25 Thread Liviu Andronic
On 2/25/10, Liviu Andronic wrote: > I can reproduce the error on a modified example from the vignette: > > require(plm) > > data("Hedonic") > > Hed <- pvcm(mv ~ crim + zn + indus + chas + nox + rm + age + dis +rad + > tax + ptratio + blacks + lstat, Hedonic, model = "within",index = "townid")

[R] error using pvcm() on unbalanced panel data

2010-02-25 Thread Liviu Andronic
Dear all I am trying to fit Variable Coefficients Models on Unbalanced Panel Data. I managed to fit such models on balanced panel data (the example from the "plm" vignette), but I failed to do so on my real, unbalanced panel data. I can reproduce the error on a modified example from the vignette: