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]

RE: st: RE: RE: RE: RE: Combining multiple observations by an ID variable


From   Claude Beaty <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: RE: RE: RE: RE: Combining multiple observations by an ID variable
Date   Wed, 13 Jun 2012 17:28:17 +0000

Nick,

I am beginning to think the same thing. Thanks.

Claude A. Beaty Jr., M.D.
Halsted Surgical Resident
Cardiac Surgery Research Fellow
The Johns Hopkins Hospital


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: Wednesday, June 13, 2012 1:03 PM
To: '[email protected]'
Subject: RE: st: RE: RE: RE: RE: Combining multiple observations by an ID variable

At a rough calculation, you are asking for an astronomical number of variables here. Getting the syntax right to do an impossible thing is not of use or interest. 

Do read Sarah's close discussion, just posted. 

I've got to say that it's my strong impression that the advice you are receiving to -reshape wide- and the support you are getting in trying to do that are leading you in fruitless directions. 

Nick 
[email protected] 

Claude Beaty

So I attempted to run your suggested code without the `vlist' macro. Here is the actual code that I ran:

order trr_id_code trr_fol_id_code
reshape wide abo-yr_entry_us_tcr, i(trr_id_code) j(trr_fol_id_code) string

Unfortunately, I still receive the error message "too many macros". Incidentally, I am running Stata SE 12.1.

[snip] 

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