[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Incorporating values of variable or parameter estimates ingraph titles and labels
Here is an example that may get you started:
reg price weight
local ar2 = e(r2_a)
local ar2 : di %5.3f `ar2'
twoway lfit price mpg || scatter price mpg , note(Adj. R2 = `ar2')
Basically, save the value as macro, format it, and add it to the graph.
Hope this helps,
----- Original Message -----
From: Dick Campbell <email@example.com>
Date: Thursday, March 17, 2005 2:47 pm
Subject: st: Incorporating values of variable or parameter estimates in graph titles and labels
> I find myself wanting to include the values of saved results, such
> R-squared in the
> titles, notes, text etc for various plots that I want to do. I
> can't seem
> to find a discussion in the manuals
> or in the Mitchell book of how to do this. I know its possible,
> but I
> wonder if someone
> can direct me to a compact discussion.
> Richard T. Campbell
* For searches and help try: