| Date: | Wed, 13 Aug 2008 09:38:04 -0400 |
| Reply-To: | "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV> |
| Subject: | Re: TREEDISC macro |
|
| In-Reply-To: | <20080813095454.7AC6D701BA@isis.univ-nancy2.fr> |
| Content-Type: | text/plain; charset=us-ascii |
Mr Ray
I am not a user of the TreeDisc macro, just a helper on SAS-L.
If you have found two versions and one has a later note about fixes
then I recommend you use that one;
especially if Michael Friendly fixed it.
He is a well-known author in the SAS Books By User program.
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
________________________________
From: Jean-Claude RAY [mailto:Jean-Claude.Ray@univ-nancy2.fr]
Sent: Wednesday, August 13, 2008 5:53 AM
To: Fehd, Ronald J. (CDC/CCHIS/NCPHI)
Subject: TREEDISC macro
Dear Ronald,
As far as the TREEDISC macro is concerned, the reason why I
was looking for a TREEDISC version from the official SAS site is that I
am a little bit confused by the fact that, among the several versions of
TREEDISC available on the Internet I did found (
http://www.psych.yorku.ca/friendly/lab/files/macros/treedisc.sas
<http://www.psych.yorku.ca/friendly/lab/files/macros/treedisc.sas> ,
http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas and
http://www.uwm.edu/IMT/MiscDocs/~doc/sas/samples/iml/treedisc.sas),
while the latter is clearly out of date (10May94), it is unclear which
version, among the two first, is the best :
1) the UWM version (the one Lex Jansen, on SAS-L, advise me)
looks like been the latest :
/*
UPDATE: 25Aug95 */
/* MISC: Bug with LEAF= and NOMINAL= fixed 03Dec93
*/
/* Added color options for DRAW=GR 07Mar94
*/
/* Added POS= option for DRAW=GR 10May94
*/
/* Added INTO_, TIE_, and POST_ to
*/
/* OUTTREE= data set
3Sep94 */
/* Added PFORMAT= option 17Oct94
*/
/* Bug in CODE= with unformatted ordinal
*/
/* character variable fixed
15Nov94 */
/* Changed 2nd arg in PROBF call from
*/
/* 1e10 to 1e9 due to 6.11 limit
25Aug95 */
/***********************************************************************
*******/
2) But the YORKU version (advised by Arthur Tabachneck on
SAS-L) is probably, in fact, the most recent one, because, while
beginning with:
/*
UPDATE: 15Nov94 */
/* MISC: Bug with LEAF= and NOMINAL= fixed 03Dec93
*/
/* Added color options for DRAW=GR 07Mar94
*/
/* Added POS= option for DRAW=GR 10May94
*/
/* Added INTO_, TIE_, and POST_ to
*/
/* OUTTREE= data set
3Sep94 */
/* Added PFORMAT= option
17Oct94 */
/* Bug in CODE= with unformatted ordinal
*/
/* character variable fixed
15Nov94 */
/***********************************************************************
*******/
it mentions immediately after this frame:
/*
Revised: 11 Aug 2005 10:24:15 M. Friendly
- Fixed bug in pvalues module
- Include XMACRO from filename macros
*/
Do you think I would be wrong in using preferably this
second version? Maybe, both are equivalent...
If SAS Institute did maintain on its official Web site a
"latest versions catalog" of SAS macros, it will avoid users
time-consuming detailed comparisons among the various versions searched
over the Internet.
Anyway, thank you very much, again, for your nice help
Jessie
|