Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • mean group in panel ARDL

    For mean group in panel ARDL, i used this command xtpmg d.var1 d.var2 d.var3 d.var4 d.var5 d.var6, lr(l.var1 var2 var3 var4 var5 var6) ec(ECT) replace mg
    but it gives me this error
    invalid new variable name;
    variable name ECT is in the list of predictors
    r(110);

  • #2
    xtpmg is from SSC (FAQ Advice #12). The error message tells you

    variable name ECT is in the list of predictors
    r(110);
    So the command does not allow you to have a variable named "ECT" in the list of predictors.

    Code:
    rename ECT myECT
    xtpmg var1..., lr(...) ec(myECT) replace mg

    Comment


    • #3
      Tried that but it shows the same error again

      Comment


      • #4
        Present a data example that replicates the issue, e.g., by copying and pasting the output of

        Code:
        dataex

        Comment

        Working...
        X