Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: egen rowmin rowmax


From   Teresa Dale Nelson <[email protected]>
To   [email protected]
Subject   Re: st: egen rowmin rowmax
Date   Sat, 4 Nov 2006 18:50:40 -0600 (CST)

Hi Michael,

I believe the condition that rowsum not equal zero would take care of 
that. Do you have a thought about this conditionality that I'm missing?

egen byte minmath = rowmin(mathseq*) if rowsum~=0

Thanks,
Terri

Michael Blasnik wrote:


>...
>It looks like the rowmin should always be zero or missing -- at least 
if 
>your description of the data is accurate.  How could the rowmin be 
larger 
>than zero if all of the rows contain at least a zero?
>
>Michael Blasnik
>
>----- Original Message ----- 
>From: "Teresa Dale Nelson" <[email protected]>
>To: <[email protected]>
>Sent: Saturday, November 04, 2006 6:30 PM
>Subject: Re: st: egen rowmin rowmax
>
>
><snip> Instead, the var for egen var=rowmin(varlist) is evaluated to 
zero or 
>missing.  In fact, some of
> the rows have all zeroes; the rest contain some zeroes and a few 
values 
>between 1 and 13.
><snip>
>
>*
>*   For searches and help try:
>*   http://www.stata.com/support/faqs/res/findit.html
>*   http://www.stata.com/support/statalist/faq
>*   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index