Announcement

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

  • Using listcoef after zero-inflated negative binomial (ZINB) models in STATA 15

    Hi!

    Using STATA 15 with the spost13package, I run a zero-inflated negative binomial model on a large dataset (arond 90.000 obsrevations and 16 independent variables. I wish to use the 'listcoef, help' command to obtain expected factor changes in the dependent variable based on the estimates. However, when using listcoef, I get the error message "conformability error."

    Using STATA 14 a way back I seem to remember that this was not an issue. Anyone that can help me figure what I should do?

  • #2
    Showing your code and output -- or better yet, a reproducible example -- could help.

    Assuming the Stata 14 version of zinb meets your needs, and that listcoef really did work after it, you could try

    version 14: zinb ...
    listcoef, help

    Make sure your copy of spost13 is up to date. Stata 15 broke some of its features but, as far as I know, most problems have been fixed. You may have uncovered one that isn't, but we need more info to assess that.
    -------------------------------------------
    Richard Williams, Notre Dame Dept of Sociology
    StataNow Version: 19.5 MP (2 processor)

    EMAIL: [email protected]
    WWW: https://academicweb.nd.edu/~rwilliam/

    Comment


    • #3
      This code just ran fine for me. Does it work for you? If not make sure Stata 15 and spost13 are up to date.

      Code:
      webuse fish, clear
      zinb count persons livebait, inflate(child camper)
      listcoef, help
      -------------------------------------------
      Richard Williams, Notre Dame Dept of Sociology
      StataNow Version: 19.5 MP (2 processor)

      EMAIL: [email protected]
      WWW: https://academicweb.nd.edu/~rwilliam/

      Comment


      • #4
        Running the command on STATA 14 solved it! So perhaps something that broke in the version update? Anyway, thanks!

        Tarald

        Comment


        • #5
          So perhaps something that broke in the version update?
          Or perhaps not running the latest version of listcoef? This is what you should have. Please let us know if this is indeed what you have installed. Your successful results after running zinb under version 14 suggest you do not have this version of listcoef.
          Code:
          . which listcoef
          .../ado/plus/l/listcoef.ado
          *! version 5.0.0 2017-08-23 | long freese | stata 15 parameter naming fix
          Last edited by William Lisowski; 16 May 2018, 10:48.

          Comment


          • #6
            The first thing that I do when something doesn't work is check for updates to Stata and updates to the program I am using. If I'm lucky, the problem has already been fixed.

            Somebody recently wrote me and said my gologit2 program was not working correctly with margins. Once she updated from the 2007 version of gologit2 to the current version, the problem went away.
            -------------------------------------------
            Richard Williams, Notre Dame Dept of Sociology
            StataNow Version: 19.5 MP (2 processor)

            EMAIL: [email protected]
            WWW: https://academicweb.nd.edu/~rwilliam/

            Comment

            Working...
            X