Skip to content
Back to formatted view

Raw Message

Message-ID: <20131106173001.1587192psdnkhjt5@webmail.uniparthenope.it>
Date: 2013-11-06T16:30:01Z
From: alfonso.carfora at uniparthenope.it
Subject: resdiuals of random model estimated by plm function

Hi all,


I have estimated a random panel model using plm function.

I have a question about the vector of resduals obtained with the  
object $residuals.

example:

data("Produc", package = "plm")
zz <- plm(log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp,  
model="random", data = Produc, index = c("state","year"))

res<-zz$residuals # vector of the residuals.

the vector res is the sum of the idyosiyncratic (eit) and individual  
(ui) component or is only the idyosiyncratic (eit) component?

Thanks
Alfonso