Thank you very much. It helped me a lot.
Now I´m running the SCM and when I try to run the "dataprep" it tells me this:
"Error in dataprep(foo = basedata, predictors = c("pob", "emp", "hc", "rconna", :
unit.names.variable not found as character variable in foo."
You know why is that?? I have my panel data and everything but i don´t know why it keeps telling me that.