Wong David
2018-11-30 13:31:22 UTC
Dear Madam/ Sir,
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names':
I did not find out the above error message when running panel data regression over one year. Moreover, I attempted to manipulate the data many times in the excel data file, for example, deleting the duplicated row, and convert the data into csv file. The r program shows the same result. Please kindly advise as this problem has bothered for the whole day.
Enclosed is the data set and the respective result. Please kindly assist.
Thanks and regards,
David Wong
pdata <- pdata.frame(mydata, index=c("Province","Year"))
pooling <- plm(Y~X, data=pdata,model="pooling")
Error in `row.names<-.data.frame`(`*tmp*`, value = c("Anhui-2006", "Anhui-2007", :pooling <- plm(Y~X, data=pdata,model="pooling")
duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique values when setting 'row.names':
I did not find out the above error message when running panel data regression over one year. Moreover, I attempted to manipulate the data many times in the excel data file, for example, deleting the duplicated row, and convert the data into csv file. The r program shows the same result. Please kindly advise as this problem has bothered for the whole day.
Enclosed is the data set and the respective result. Please kindly assist.
Thanks and regards,
David Wong