Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Merry Christmas / Happy New Year


From   "Steichen, Thomas J." <[email protected]>
To   <[email protected]>
Subject   RE: st: Merry Christmas / Happy New Year
Date   Wed, 28 Dec 2005 09:30:56 -0500

But Sergio, the tree lights do not blink and "Jingle Bells" does not play; this would be totally unacceptable in SPSS or SAS (and
yes, I know Nick Cox is totally baffled by these acronyms!). Surely you can add these embellishments in versions 2 through 12! 

But we appreciate the spirit!!!
Cheers,
Tom

Sergio Correia wrote:
> Following Tom's spirit (but not his advice about unnecessary 
> embellishments), I made a little Christmas program (and in 
> the meanwhile learned some smcl). Enjoy.
> 
> Sergio
> 
> ==START OF DO FILE =====================================
> capture program drop MerryChristmas
> program define MerryChristmas
> 	di "{break}"
> 	forval i=0(4)12 {
> 		forval j=1(2)9 {
> 			local n=`i'+`j'
> 			local tree=" "
> 			forval k=1/`n' {
> 				if `n'==1 {
> 					local tree="`tree'"+"{res}*"
> 				}
> 				else if uniform()>0.8 {
> 					local tree="`tree'"+"{error}*"
> 				}
> 				else {
> 					local tree="`tree'"+"{text}*"
> 				}	
> 			}
> 			di "{center:`tree'}"
> 		}
> 	}
> 	di "{center:{input}==STATA==}"
> 	di "{center:{input}==STATA==}"
> 	di "{hline}"
> end
> 
> MerryChristmas
> exit
> =========================================================
> 
> On 12/22/05, Steichen, Thomas J. <[email protected]> wrote:
> > Here's wishing each of you a very Stataish Christmas, sparse and 
> > clean, direct and full of meaning, unencumbered with unnecessary 
> > embellishments.  And may your New Year be far less complex 
> than Stata 
> > graphics syntax!
> >
> > Until '06,
> > Tom
> >
> > Thomas J. Steichen
> > [email protected]

-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s),
contains information that may be confidential, protected by the
attorney-client or other legal privileges, and/or proprietary non-
public information. If you are not an intended recipient of this
message or an authorized assistant to an intended recipient, please
notify the sender by replying to this message and then delete it from
your system. Use, dissemination, distribution, or reproduction of this
message and/or any of its attachments (if any) by unintended recipients
is not authorized and may be unlawful.


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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index