Re: [R] plm package twoways effect problem

2010-04-11 Thread yves croissant
It's difficult to guess what the pb is without the data. Try to estimate a 'simple' model, ie without the dummies (something like : dsnfi3LP=plm(lnLP~lnC+lnL+lnM +lnE,data=newdata,effect=twoways,model=within) Try also pdim(newdata) to check if you don't have 1 observation for some individuals.

Re: [R] plm package twoways effect problem

2010-04-09 Thread seral
well thanks anyway even just for replying, i understand the lack of information causes no response... but if no one tells me that they need more information how could i send. anyway here more information about the procedure that i am applying to define the model after reading and attaching my

[R] plm package twoways effect problem

2010-04-08 Thread seral
Hello everyone, I have a peoblem to create the twoways effect in the plm package. when i try to create the following dsn1-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect=twoways,model=within) i have this error: Error in rep.int(c(1, numeric(n)), n - 1L) : negative length vectors are not

Re: [R] plm package twoways effect problem

2010-04-08 Thread Achim Zeileis
On Thu, 8 Apr 2010, seral wrote: Hello everyone, I have a peoblem to create the twoways effect in the plm package. when i try to create the following dsn1-plm(lnQ~lnC+lnL+lnM+lnE+eco+RD,data=newdata,effect=twoways,model=within) i have this error: Error in rep.int(c(1, numeric(n)), n -