Announcement

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

  • Display complete pattern of missing values in panel data

    Dear Members,

    I am interested in obtaining the pattern of missing and non-missing observations for a set of variables in a panel. It is important that the outcome of the command provides the complete list of missings and non-missings from the very beginning of the time span till the very end.

    So far I found the commands:

    Code:
    missings
    , and

    Code:
    mvpatterns
    ,

    which do show me only the pattern of a subset of years, in a similar manner to what
    Code:
    xtdes
    does.

    I would be extremely thankfu if you could kindly provide me with an insight on how to obtain my desired outcome.

    Thanks

    Marco

  • #2
    Can you make this concrete: #panels, #times, #variables?

    Comment


    • #3
      Dear,
      you can try mdesc.

      Comment


      • #4
        Dear Prof. Cox,

        Thank you very much for your kind message.

        I am dealing with a panel data structure with 41 years, 130 countries, and a number of variables I look at for every country.

        Many thanks Professor.

        Do you think it is possible to have an outcome similar to xtdes but for all the years in my time span?

        Marco
        Last edited by Marco Giansoldati; 23 Apr 2018, 06:05. Reason: Clarification

        Comment


        • #5
          Firmin Clairant . Thank you but I do not know if and how many are the missings for each country each year.
          Last edited by Marco Giansoldati; 23 Apr 2018, 06:03. Reason: Mistake

          Comment


          • #6
            This article, by approaching MI methods in panel data, discusses the question. Hopefully that helps.
            Best regards,

            Marcos

            Comment


            • #7
              you can try this code:
              Code:
              bysort country year: mdesc
              replace if possible country by panelvar_id.

              Comment


              • #8
                Many thanks Firmin Clairant and Marcos Almeida

                Comment


                • #9
                  As yet another suggestion I note missingplot (SSC)

                  Comment


                  • #10
                    Thank you very much Prof. . I do really appreciate the kind help you all kindly provided me

                    Comment

                    Working...
                    X