Dear listers,
For some reason I cannot respond to responses to my posting yesterday.
Bare with me if the responses appear later.
I´ve rephrased the problem that I cannot come to grips with.
set obs 500
gen r=_n
gen t=runiform()
egen q=mean(t)
tw (line t r, sort) (line q r,sort)-->works fine
local r="(line t r, sort)"
local y="(line q r,sort)"
. di "`y'"
(line q r,sort)
. di "`r'"
(line t r, sort)
. local m "`y' " "`r'"
. di "`m'"
(line q r,sort) (line t r, sort)
. tw "`m'"
line ( is not a twoway plot type
r(198);
What is the correct positioning of the " ´ and `in this problem???
Moleps
*
* 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/