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: List Observations with Missing Values
From
Phil Clayton <[email protected]>
To
[email protected]
Subject
Re: st: List Observations with Missing Values
Date
Mon, 13 Aug 2012 15:18:12 +1000
Another option is to use the missing() function:
list c_c e_o e_c if missing(c_c, e_o, e_c), separator(0) N notrim absolute
Phil
On 13/08/2012, at 2:02 PM, Tonatiuh Barrientos Gutierrez wrote:
> Lisa, your operator is correclty specified but you need to let stata
> know over which variable the operator is suposed to work:
> list c_c if c_c>=.
> in your specific case:
> list c_c e_o e_c if c_c>=.| e_o>=.| e_c>=.
> Hope that helps,
> Tona
>
>
>
> On Sun, Aug 12, 2012 at 11:47 PM, Lisa Wang <[email protected]> wrote:
>> Hi all,
>>
>> I would like to learn why this is not valid as I get this back from
>> Stata ">=: operator invalid r(198)" If I read the help file for that
>> return code it tells me that the syntax might be incorrectly
>> specified??
>>
>> - list c_c e_o e_c if >=. , separator(0) N notrim absolute -
>>
>> I thought that missing values are represented as a dot in Stata. I
>> just want Stata to list out all the observations where there are
>> missing values for those three variables, so I can check, before I
>> drop these rows with missing observations.
>>
>> Thank you everyone,
>> Lisa
>> *
>> * 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/