Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Retrieving & displaying s-class macros w/out using -macro list-?


From   [email protected]
To   [email protected]
Subject   st: Retrieving & displaying s-class macros w/out using -macro list-?
Date   Fri, 16 Jun 2006 07:54:00 -0700 (PDT)

Hello All,
I am using S/E, 9.1 for Mac.
I understand how to retrieve and use (sort of) macros saved as r-class,
but if I want to retrieve and display a macro saved as s-class, i am
unable (or so it seems) to call the macro via something akin to

display "p-value = " %7.4f `r(p)'

I am using the user-written command, -pbis- (point biserial correlation),
and the results I want (t-statistic & correlation coefficient) are saved
as s-class.  Any suggestions on how to retrieve these values w/out using
-macro list-??

A cursory search of the StataList archives, as well as a brief review of
the -macro- section in the print documentation did not yield anything
immediately obvious...

Many Thanks in advance,
Clint

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