[R] problem with "plm" package

Liviu Andronic landronimirc at gmail.com
Thu Sep 1 10:37:57 CEST 2011

On Thu, Sep 1, 2011 at 4:25 AM, Ash <lothlorien90 at hotmail.com> wrote:
> Hi,
> I am trying to complete a very simple panel analysis on some bank data.
> Call:
> Formula<-plm(RoE~RoA+CAR+Inc.Dep+Cash.TL+NPL.Loans, data=Banks1,
> model="random", index=c("Bank.I.D.","Year"))
> summary(Formula)
> I get the following error code:
>  missing value where TRUE/FALSE needed
> Does anyone know what true/false field I am missing?
I am not sure what goes wrong, but try first to
Banks1.p <- pdata.frame(Banks1, index=c("Bank.I.D.","Year")

and see if that went fine, and then
Banks1.fit <- plm(RoE~RoA+CAR+Inc.Dep+Cash.TL+NPL.Loans,
data=Banks1.p, model="random")

It may help if you posted


More information about the R-help mailing list