0

I've found that sometimes my plm regressions in R (package plm) don't default automatically to the use of plm::lag, what has caused me a lot of trouble. I've searched for the reasons for this in other posts, but I haven't found anything. Does anyone know how to correct this without having to write plm::lag in every regression?

Just a simple example in code:

library(plm)

model <- plm (GDP ~ plm::lag(expenses), data=dd, effect='twoways',...)
Helix123
  • 3,502
  • 2
  • 16
  • 36
francescobfc
  • 107
  • 1
  • 11

0 Answers0