Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Fwd: report missing obs in panel


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: Fwd: report missing obs in panel
Date   Fri, 20 Jun 2008 15:57:25 +0100 (BST)

--- Minh Nguyen <congminh6@gmail.com> wrote:

> Date: Thu, 19 Jun 2008 11:10:06 -0400
> From: "Minh Nguyen" <congminh6@gmail.com>
> To: maartenbuis@yahoo.co.uk
> Subject: Fwd: report missing obs in panel
> 
> Hi Maarten,
> 
> Could you please post this one to the list? I tried to send it, but
> it
> seems that it did not go through.
> 
> Thanks,
> Minh
> p/s: sorry to send this to you since I only have your email.
> 
> ---------- Forwarded message ----------
> From: Nguyen Cong Minh <congminh6@gmail.com>
> Date: Thu, Jun 19, 2008 at 1:49 AM
> Subject: report missing obs in panel
> To: statalist@hsphsun2.harvard.edu
> 
> 
> Dear Stata users,
> 
> 
> I would like to ask how we can report missing for each variable in
> all
> countries in cross section data. Normally I can use –tabmiss- to
> check
> the missing of variables in one group/country but now if I want to
> check missing observation for each variable in all countries, how I
> can do that (see example table) ?
> 
> 
> Example of missing obs in variable X in all groups
> 
> 
> Variable X:
> 
> Country                Obs        Missing                 % Missing
>         NonMiss              %NonMiss
> 
> US                          100         25
> 25                           75                           75
> 
> Thailand               200         10                           5%
>                      190                         95
> 
> ….
> 
> 
> 
> I tried to program using st_view() and colmissing() in Mata, however
> it seems that st_view() doesn't view the missing data so I am not
> able
> to do the above table.
> 
> Any idea how I can do this? Thank you so much for your help.
> 
> Best regards,
> 
> Minh
> 
> 
> 
> 
> -- 
> Minh Nguyen
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index