Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: R: missing data


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: R: missing data
Date   Wed, 22 Sep 2010 23:52:08 +0200

<>

" this didn't quite help because this command only shows me the ids. I"


Just omit the "id" in the -list- call provided by Carlo, then! -list-
defaults to the entire -varlist- of variables in memory. 


I think the broader point is that, irrespective of minor details, you
condition whatever you want to do on -if mi(id)- and you are fine.


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of martine etienne
Sent: Mittwoch, 22. September 2010 23:24
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: R: missing data

Thanks Carlo,
this didn't quite help because this command only shows me the ids. I
actually 
wanted to see the ids and all the variables related to that id.
Marteen sent me this command:
"browse if missing(var x)"
which worked perfectly!
thanks for your help



----- Original Message ----
From: Carlo Lazzaro <carlo.lazzaro@tin.it>
To: statalist@hsphsun2.harvard.edu
Cc: martine etienne <martieluvsu@yahoo.com>
Sent: Wed, September 22, 2010 12:09:36 PM
Subject: st: R: missing data 

Dear Martine, is the following example (in Stata 9/2 SE) helpful?

---------- example begins-----------
sysuse auto.dta
g id=_n
list   id  if   rep78 ==.
---------- example ends------------

Kind Regards,
Carlo
-----Messaggio originale-----
Da: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di martine etienne
Inviato: mercoledì 22 settembre 2010 17.56
A: statalist@hsphsun2.harvard.edu
Oggetto: st: missing data

Dear Statalist,
Is there a STATA command that allows me to browse the data editor to just
show 
me only id's that are missing 

particular variable values?

thanks!
Martine


      
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*  http://www.stata.com/help.cgi?search
*  http://www.stata.com/support/statalist/faq
*  http://www.ats.ucla.edu/stat/stata/



      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index