search for: drugsxx_panel

Displaying 1 result from an estimated 1 matches for "drugsxx_panel".

2013 Sep 04
2
Attribute Length Error when Trying plm Regression
Hello, I am trying to run a fixed effects panel regression on data containing 5 columns and 1,494 rows. I read the data in as follows: >drugsXX<-read.csv(file="C:\\Folder\\vX.X\\Drugs\\drugsXX_panel.csv", head=TRUE, sep=",") Verified it read in correctly and had a good data.frame: >dim(drugsXX) [1] 1494 5 >drugs XX produce expected data with correct column names The issue is, when I go to run the plm using: >fixed <- plm (h ~ o + m + a, data=drugsXX, index=c(&qu...