On Thu, Sep 1, 2011 at 4:25 AM, Ash <lothlorie...@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:
>
> ERROR:
>  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
str(Banks1)

Liviu

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to