[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: re: date and if fn
Ziad said
the last command
> reshape wide date , i(patid) j(weeks)
did not work because weeks contains missing values, any tips?
mvencode/mvdecode missing values of the weeks* variables to zero
before you do the first reshape.
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
*
* 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/