can anyone recommend R package for cointegration and vector error correction model?. Ideally the package should be able to deal with both time series and panel data?
But I do not know any packages for estimating VEC and cointegration in a panel setting. Until now I did not apply those approaches. Maybe you can transform your data to account for the panel setting. Like fixed effects, if this fits.