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: conditional option in mi ice or ice


From   David Sikkink <David.Sikkink.1@nd.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: conditional option in mi ice or ice
Date   Wed, 6 Jun 2012 15:15:16 -0400

Good point! Sorry that I missed that. And thanks for your help. 

--David

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Wednesday, June 06, 2012 2:39 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: conditional option in mi ice or ice

"if" is different. -ice- doesn't want the -if-.

Nick

On Wed, Jun 6, 2012 at 7:02 PM, David Sikkink <David.Sikkink.1@nd.edu> wrote:

> The conditional option in ice and mi ice is returning the following error:
>
> "varlist not allowed"
>
> Here is my syntax:
>
> ice age attend hapmar , conditional(hapmar: if marital == 1) clear
>
>
>
> I am running the latest version of ice in Stata 12 SE. If I run "mi ice" instead  of ice (after using mi set mlong), I get the same error message.
>
> The help file for ice gives this example:
>
>
> ice age pregnant female, conditional(pregnant: female==1) clear
>
>
> Can't see that I am doing anything different than what is shown in the example.
>
>

*
*   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