Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Phil Schumm <pschumm@uchicago.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: FW: Adding a scalar to a graph note |

Date |
Tue, 14 Jun 2011 08:22:44 -0500 |

On Jun 14, 2011, at 8:15 AM, Phil Schumm wrote:

On Jun 14, 2011, at 6:34 AM, Barry Quinn wrote:Is it possible to add a scalar which has been created from theresults of a test ( in my case it's a ranksum test) into the noteof a graph using some Stata code ?Yes, you can use Stata's expression evaluator inline. For example: scalar foo = 12 sc y x, note("The value of foo is: `=foo'")

sc y x, note("The z statistic is: `r(z)'") -- Phil * * 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/

**References**:**st: FW: Adding a scalar to a graph note***From:*Barry Quinn <b.quinn@qub.ac.uk>

**Re: st: FW: Adding a scalar to a graph note***From:*Phil Schumm <pschumm@uchicago.edu>

- Prev by Date:
**st: Xtivreg2: Dropping dummy variables due to Collinearity** - Next by Date:
**st: Mixed logit estimation with mixlogit** - Previous by thread:
**RE: st: FW: Adding a scalar to a graph note** - Next by thread:
**st: relative importance of independent variables** - Index(es):