Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: ranksum returns no observations r(2000)


From   S�ren O'Neill <[email protected]>
To   [email protected]
Subject   Re: st: RE: ranksum returns no observations r(2000)
Date   Sun, 4 Jul 2004 22:07:11 +0200

Indeed ... pk used to be p (instead of 1) and k (instead of o).

PROBLEM SOLVED!

Thank you very much!

Soren

On Sunday 04 July 2004 22:00, Nick Cox wrote:
> One or both of these variables is
> probably a string variable. Check out -destring-.
>
> Nick
> [email protected]
>
> S�ren O'Neill
>
> > A newbie problem perhaps, but my data looks like this:
> >
> > pk	pixels
> > -------------
> > 0	100
> > 0	120
> > 0	110
> > 1	210
> > 1	230
> > 1	205
> >
> > etc ... you get the idea...
> >
> > running :
> > ranksum pixels, by (pk)
> >
> > returns:
> > no observations
> > r(2000);
> >
> > However, if (instead of my own data) I use the dataset from
> > http://www.stata-press.com/data/r8/fuel2 (as described in the
> > [R] S-Z p. 63,
> > there is no problem at all ...
>
> *
> *   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/

-- 
S�ren O'Neill, kiropraktor
[email protected]
tel. 6362 1906

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