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: A bug in egen and gen?


From   "Liao, Junlin" <junlin-liao@uiowa.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: A bug in egen and gen?
Date   Thu, 17 Feb 2011 19:02:41 +0000

This fourth option is perfect. Thanks,

Junlin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Stas Kolenikov
Sent: Thursday, February 17, 2011 12:49 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: A bug in egen and gen?

On Thu, Feb 17, 2011 at 12:22 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> The alternatives include
>
> 1. You always have to tell -generate-, etc. what variable type you
> want created. On the whole, I don't think that would be a popular
> change.
>
> 2. You write your own wrappers for -generate-, etc. that insist on
> variable type being specified. That is programmable.
>
> 3. Your attitude is that Stata should always be smart enough to work
> out what you want. Good luck on that one.

4. set type double, [permanent]


--
Stas Kolenikov, also found at http://stas.kolenikov.name Small print: I use this email account for mailing lists only.
*
*   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/


________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________

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