Announcement

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

  • Error: estimates repost: matrix has missing values

    Dear Statalist,

    I am estimating demand system using Lecocq and Robin's "aidsills" command,

    My data is for two yeas, one year with 4800 household and second 1800 households, I have tried to run "aidsills" for each year separately. However, for second year with 1800 households, I am getting the following error message: estimates repost: matrix has missing values r(504),

    For fist year it worked perfectly. I have used all method to find missing values in my data with:

    mdesc,
    or
    egen nmis=rmiss2( variables )
    tab nmis,
    misschk


    but the results is showing there is not missing values

    Please, need help...


    . aidsills w1-w7, prices(wp1 wp2 wp3 wp4 wp5 wp6 wp7) expenditure(wexpenditure) quadratic alpha_0(-0.5)

    Iteration = 1 Criterion = .2146073
    Iteration = 2 Criterion = .10141366
    Iteration = 3 Criterion = .08484057
    Iteration = 4 Criterion = .06307631
    Iteration = 5 Criterion = .04787187
    Iteration = 6 Criterion = .03681845
    Iteration = 7 Criterion = .02750313
    Iteration = 8 Criterion = .02101826
    Iteration = 9 Criterion = .01565825
    Iteration = 10 Criterion = .01186766
    Iteration = 11 Criterion = .00884671
    Iteration = 12 Criterion = .00666718
    Iteration = 13 Criterion = .00497554
    Iteration = 14 Criterion = .00373736
    Iteration = 15 Criterion = .00279168
    Iteration = 16 Criterion = .00209317
    Iteration = 17 Criterion = .00156454
    Iteration = 18 Criterion = .00117194
    Iteration = 19 Criterion = .00087633
    Iteration = 20 Criterion = .00065609
    Iteration = 21 Criterion = .00049073
    Iteration = 22 Criterion = .0003673
    Iteration = 23 Criterion = .00027477
    Iteration = 24 Criterion = .00020562
    Iteration = 25 Criterion = .00015384
    Iteration = 26 Criterion = .00011512
    Iteration = 27 Criterion = .00008613
    Iteration = 28 Criterion = .00006445
    Iteration = 29 Criterion = .00004822
    Iteration = 30 Criterion = .00003608
    Iteration = 31 Criterion = .000027
    Iteration = 32 Criterion = .0000202
    Iteration = 33 Criterion = .00001511
    Iteration = 34 Criterion = .00001131
    Iteration = 35 Criterion = 8.461e-06
    estimates repost: matrix has missing values
    r(504);


    Even I have tried this approach:

    . drop if h_id- wp7 >= .
    (0 observations deleted)



    Thank you




    Last edited by Rais Taj; 14 Jan 2016, 13:26.

  • #2
    This looks like a problem within the aidsills command. The output of search aidsills gives an email address for support from one of the authors.

    Comment


    • #3
      Mr. William Lisowski

      Thank you for support,

      Best regards,
      Rais

      Comment


      • #4
        Dear Rais Taj
        I am having the same problem, I also tried to modified the convergence tools or change instrumental variables but the same problem keeps appearing. I wonder whether you have achieve convergence? Have you received some support from the authors?
        Best wishes
        Alfonso

        Comment


        • #5
          Dear Alfonso Mendoza,

          Unfortunately I didn't get any answer from author while I have write to him two times, still I am fighting by myself in order to find some solution. However still without success

          Comment


          • #6
            I'm facing the same issue. I also noticed that the criterion value does not converge in my case

            Comment

            Working...
            X