Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: R: missing data


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of martine etienne
Sent: Mittwoch, 22. September 2010 23:24
To: [email protected]
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 <[email protected]>
To: [email protected]
Cc: martine etienne <[email protected]>
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: [email protected]
[mailto:[email protected]] Per conto di martine etienne
Inviato: mercoledì 22 settembre 2010 17.56
A: [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index