Announcement

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

  • Panel DOLS Error

    - I am trying to do Panel group mean DOLS with 6 panels (countries) each one has 25 observations including: log(GDP per capita) log(labor force) log(gross capital per capita) log(renewable consumption) log(imports or exports)
    - When I do the test for four variables:
    xtpedroni ly lk ll lrec
    everything works fine. but when I apply all variables
    xtpedroni ly lk ll lrec lim
    I got this error:
    matrix not positive definite
    r(506);
    What do you think the problem is?

  • #2
    If you are running Stata 15 or later, see
    Code:
    help xtcointtest
    for an alternative.

    If that doesn't help, note that you have accidentally posted your topic in Statalist's Mata Forum, which is used for discussions of Stata's Mata language, which is different than Stata's command language. Your question will see a more appropriate, and much larger audience if you post it in Statalist's General Forum.

    Also, if you have not already done so, take a look at the Statalist FAQ linked to at the top of this page for posting guidelines and suggestions.

    Comment

    Working...
    X