Announcement

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

  • Running Two Limit Tobit model

    Hello,
    I have been attempting to run a Two Limit Tobit model on my data. I have a relatively large dataset (over 380,000 observations) nested within 310 regions. The dependent variable I use in this instance is a count variable having excess dispersion at the margins (it takes on the values 0 through 30, days of the month; number of days a respondent reports their well-being taking on a given state). Over 60% of responses take on the value of 0. Then there is a more modest spike occurring at 30. I am setting my lower limit to be 0 and upper limit at 30.
    Below is what I get:
    Code:
    . estimates clear
    
    . eststo: tobit swb regionlevelvar1 regionlevelvar2 i.race i.region, ll(0) ul(30)
                   st_data():  3900  unable to allocate real <tmp>[361675,311]
    _path_model_fvset_base():     -  function returned error
               _gsem_parse():     -  function returned error
             st_gsem_parse():     -  function returned error
                     <istmt>:     -  function returned error
    r(3900);
    
    end of do-file
    
    r(3900);
    Thank you for any help.

  • #2
    Straso:
    is your Stata release fully updated?
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Hello, thank you. I am running Stata 15.1 MP2. The last update I received was as of December, 2018 I believe.

      Comment


      • #4
        Straso:
        your Stata release is not fully updated:
        . update query
        (contacting http://www.stata.com)

        Update status
        Last check for updates: 02 Mar 2019
        New update available: none (as of 02 Mar 2019)
        Current update level: 20 Feb 2019 (what's new)

        Kind regards,
        Carlo
        (StataNow 18.5)

        Comment


        • #5
          Thank you very much Dr. Lazzaro. I just updated all and it is currently at the latest, February 20th, 2019 release date update level. I ran it again and get the same error.

          Comment

          Working...
          X