On 12.07.2012 17:38, Saint wrote:> Hi!
>
> Would be grateful if somebody helped me understand this error message after
> trying to run a panel data:
>
>
> PanelData <- read.xls("/Users/Bahman/Desktop/Taylor
> rule/Data/PanelData2.xls")
>
> attach(PanelData)
>
> # Panel Data regresson for all countrys.
>> Answer <- plm(NOM.INT.RATE ~ INFL + TARGET.INFL +
>> DEVIATION.FROM.TARGET.INFL + NOM.INT.RATE , data=PanelData,
>> model="within")
>> duplicate couples (time-id)
> Error in pdim.default(index[[1]], index[[2]]) :
>
> What does this error mean? What am I doing wrong?
I never used that package and have not looked into it, but reading the
message suggests that you have at least one id appearing at least twice
at the same time?
Uwe Ligges
>
> / Saint
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/duplicate-couples-time-id-Problem-tp4636316.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>