Announcement

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

  • Estimate neonatal mortality rate and infant mortality rate using "Syncmrates"

    Hello Users,

    I have been using the "syncmrates" command in my Stata 13 to estimate NMR, PMR, and IMR. The command used is as follows:
    Code:
     syncmrates v008 b3 b7 if v024==0 & v013==1 [iw=v005], cluster(v021)
    For one of the countries, Stata returns the following error message
    HTML Code:
    "'r(cmr)' evaluated to missing in full sample"
    In earlier datasets, CMR was simply omitted but I could still get the estimates for the remaining mortality rates. I will appreciate if someone will suggest a solution.

    Many thanks
    Deepali Godha

  • #2
    You didn't get a quick answer. You'll increase your chances of a useful answer by following the FAQ on asking questions - provide Stata code in code delimiters (which you do), readable Stata output, and sample data using dataex.

    That is a user written program so there may be no active folks on the listserve who use it. You may need to contact the authors or get into the details of the ado file.

    Comment


    • #3
      Hi Phil,
      I had already tried to contact the author but tried again. However, modifications to the ado file worked perfectly and took only a few minutes.
      Thanks for putting the idea into my head.
      Deepali
      Deepali Godha

      Comment


      • #4
        Hi Deepali,
        I also encountered the same problem when using syncmrates for India. Can you please help me to fix it? How did you modify the ado file?

        Comment


        • #5
          Hi All,

          I have been receiving requests on this issue.

          All I did was open the original syncmrates ado file and removed all reference to the mortality rates that I did not want such as cmr and u5mr (in mysyncmrates). In yet another, I needed only imr so removed the other four mortality rates (mysyncmrates_imr).

          Accordingly, you can modify the ado file as per your needs - I have attached the original ado file. These files are saved in the "Local disc (C". I made another folder within the ado folder but you can keep it in the same folder too.

          Hope this helps.
          Attached Files
          Deepali Godha

          Comment

          Working...
          X