Statalist


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

Re: st: stata mp 10.1 issue


From   "Martin Weiss" <[email protected]>
To   [email protected]
Subject   Re: st: stata mp 10.1 issue
Date   Mon, 28 Dec 2009 18:55:13 +0100

<>

This code works for me with the same executable for Stata 10.1:

***
clear*
set obs 10
 
forv i=1/12{
	gen m20050`i'=runiform()<.8
}

collapse m20???? 
li
***

Note your specification of the -varlist- for -collapse- only encompasses the first nine variables, "m200501" to "m200509".

HTH
Martin


-------- Original-Nachricht --------
> Datum: Mon, 28 Dec 2009 11:19:25 -0600
> Von: "JD" <[email protected]>
> An: [email protected]
> Betreff: st: stata mp 10.1 issue

> After I changed wmpstata.exe with the one on 2009 Oct.  Collapse command
> became erratic.  With large number of variables collapsed, some variables
> are omitted in the outcome.  For instance I have variables m200501 –
> m200512
> and I did “collapse m20???? Then sometimes m200506 (or any other
> variable)
> is not collapsed but disappeared.  Is there anybody with similar
> experience?  
> 
> JD  
> 
> 
> *
> *   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/

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index