Announcement

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

  • Describing missing data by country and variable

    Can use by with mdesc command, or can I somehow describe missing data by country and variable.

  • #2
    mdesc is a command from SSC, as you are asked to explain (FAQ Advice #12).

    What do you want to describe?

    Code:
    help misstable 
    For panel data

    Code:
    help xtdescribe
    Also

    Code:
    . search dm0085, entry
    
    Search of official help files, FAQs, Examples, SJs, and STBs
    
    SJ-17-3 dm0085_1  . . . . . . . . . . . . . . . . Software update for missings
            (help missings if installed)  . . . . . . . . . . . . . . .  N. J. Cox
            Q3/17   SJ 17(3):779
            identify() and sort options have been added
    
    SJ-15-4 dm0085  Speaking Stata: A set of utilities for managing missing values
            (help missings if installed)  . . . . . . . . . . . . . . .  N. J. Cox
            Q4/15   SJ 15(4):1174--1185
            provides command, missings, as a replacement for, and extension
            of, previous commands nmissing and dropmiss
    Last edited by Nick Cox; 11 Oct 2019, 06:15.

    Comment


    • #3
      I used something like the command below:


      misstable summarize CPIGR if CPIGR==.


      but I need something that shows number of missing observation for each country and variable.

      I am not sure whether this command works with the option by or not.
      In my case a command that describes missing variables and uses tha option by would be really helpful.













      Comment


      • #4
        Nick pointed you to https://www.stata-journal.com/articl...article=dm0085 , which allows you to use the by prefix
        ---------------------------------
        Maarten L. Buis
        University of Konstanz
        Department of history and sociology
        box 40
        78457 Konstanz
        Germany
        http://www.maartenbuis.nl
        ---------------------------------

        Comment

        Working...
        X