Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

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

From   Oliver Jones <>
Subject   Re: st: FW: Adding a scalar to a graph note
Date   Tue, 14 Jun 2011 13:43:33 +0200

I am not sure but I guess you first have to store the result in a local and then
include the local in your graph.

Here is an example of what I mean

********* begin example ************
clear all

set obs 10
gen n = _n
gen u = rnormal()

scalar something = 123

local result = something

scatter u n, note(`result')
********* end example ************


Am 14.06.2011 13:34, schrieb Barry Quinn:


Is it possible to add a scalar which has been created from the results of a test ( in my case it's a ranksum test) into the note of a graph using some Stata code ?


Barry Quinn
Lecturer in Finance

Queens University Belfast              Tel: 028 9097 1366
25 University Square             
Northern Ireland                    

*   For searches and help try:

Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
- -
Bielefeld University
Faculty of Business Administration and Economics
Chair of Econometrics and Statistics
- -
Raum / room:  V9-110
Tel / phone:  +49 (0)521 106 4871
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index