[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: How to find out whether a variable is a dummy variable ?
You didn't show us your code but from your description it looks like
you would miss dummies where all observations are either 0 or 1.
--- Thomas Cornelißen <firstname.lastname@example.org> wrote:
> I suppose I found a way myself combining
> -sum- to check whether the minimum is 0 and the maximum is 1
> -distinct- (if installed) to check whether there are only two
> ----- Original Message -----
> From: "Thomas Cornelißen" <email@example.com>
> To: "statalist" <firstname.lastname@example.org>
> Sent: Tuesday, August 02, 2005 5:24 PM
> Subject: st: How to find out whether a variable is a dummy variable
> > Is there a programmer's command to find out whether a variable is
> a dummy
> > variable ?
> > I need it because all dummy variables in my program are to be
> > differently from continuous variables.
> > Thanks for any comments,
> > Thomas
> > email@example.com
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: