Bookmark and Share

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


[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 <[email protected]>
To   [email protected]
Subject   Re: st: FW: Adding a scalar to a graph note
Date   Tue, 14 Jun 2011 13:43:33 +0200

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


Best
Oliver

Am 14.06.2011 13:34, schrieb Barry Quinn:

Hi,

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 ?

Thanks


Barry Quinn
Lecturer in Finance

Queens University Belfast              Tel: 028 9097 1366
25 University Square                       www.qub.ac.uk/mgt
Belfast                                             www.barryquinn.com
Northern Ireland                              [email protected]
BT7 1NN


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

--
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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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