Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: snapsan command


From   sara bonfanti <[email protected]>
To   [email protected]
Subject   st: snapsan command
Date   Sat, 19 May 2012 11:05:29 +0200

Dear Stata users,

I'm stuck with my work beacuse of these problems.

I'm using STATA 12.1. In order to run a cox regression (stcox) I have
reshaped my dataset form wide to long and, then, I have run the
command
"snapsan".

I wonder:

1) why, after running the command "snapsan", I get for each individual
a first row (corresponding to the first year of my longitudinal
database,
i.e. 1997) of missing values except for the event variable. Reading
the stata manual it seems a correct output but I don´t know how to
deal with these missing values later on, when I work on my variables.


2) if it´s necessary to specify the option "generate(newt0var)". I
have found it on manuals, but still I don´t understand how it works,
and why I should use it.

Thanks

sara

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index