Statalist


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

Re: st: Running the same do file but getting different results


From   "krishanu karmakar" <krishkarmakar@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Running the same do file but getting different results
Date   Sun, 10 Feb 2008 14:58:10 +0530

Mr. Buis and Mr. Williams,

Thank you very much for the suggestions. I think I need to go through
the manuals more carefully than I generally do. Thanks again.

Regards

Krishanu

On 2/10/08, Maarten buis <maartenbuis@yahoo.co.uk> wrote:
> --- krishanu karmakar <krishkarmakar@gmail.com> wrote:
> > Indeed, I have used the sort command and the relevant variable is an
> > id variable for individuals. Incidentally that is "repeated" for some
> > observations as the same individual may have fallen ill in the
> > reference period more than once. I think I need to use the serial
> > number of illness as the secondary sort variable along with the id
> > variable.
>
> In this case it is probably useful to check whether id and serial
> number of illness uniquely identifies each observation. They probably
> should but when preparing data it useful to check that kind of things.
> In this case the command would be:
>
> isid id serial
>
> (assuming that serial number of illnes is called serial). Another
> useful command for checking if things are as they should be is
> -assert-, see -help assert-.
>
> Hope this helps,
> Maarten
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room Z434
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
>      __________________________________________________________
> Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
>
> *
> *   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/
>


-- 
Read it: http://www.stata.com/support/faqs/res/statalist.html
Specially Question 3.
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index