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: 回复: st: AW: do file


From   lydia huang <[email protected]>
To   [email protected]
Subject   st: 回复: st: AW: do file
Date   Mon, 8 Mar 2010 19:03:07 +0800 (CST)

Dear Martin
i mean twice present, and after i changed all the -merge- to -ta_merge-, it writes"unrecognized command: ta_merge".
what's next?
Best wishes 
Lydia

--- 10年3月8日,周一, Martin Weiss <[email protected]> 写道:

> 发件人: Martin Weiss <[email protected]>
> 主题: st: AW: do file
> 收件人: [email protected]
> 日期: 2010年3月8日,周一,下午6:29
> 
> <> 
> 
> 
> 
> What does "doubled" mean? Doubled in value or twice present
> where there was only one entry previously? Try to find out
> what happened in the -merge-r by typing -ta _merge-...
> 
> 
> 
> HTH
> Martin
> 
> 
> -----Urspr眉ngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]]
> Im Auftrag von lydia huang
> Gesendet: Montag, 8. M盲rz 2010 11:25
> An: [email protected]
> Betreff: st: do file
> 
> Dear Statalist,
> is there any thing wrong with the following do-file:
> /* sort and save the using data*/
> cd H:\my\2007
> use written, clear
> sort patient_id
> save, replace
> 
> /* sort the master data*/
> use 13, clear
> sort patient_id
> 
> /* merge based on "patient_id" and save*/
> merge patient_id using written
> save final07, replace
> 
> 
> i don't know why, but all the observations in the final07
> have doubled.Why has this happened? what can i do?
> Best wishes
> Lydia
> 
> 
>       
> 
> 
> *
> *   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/
> 
> 
> *
> *   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/
> 


      


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