[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Scatter Plot Descriptives
Issue your statistics commands before
the graph and then use -graph- to display results.
. sysuse auto, clear
(1978 Automobile Data)
. corr turn length
| turn length
turn | 1.0000
length | 0.8643 1.0000
. scatter turn length, subtitle("r = `: di %5.3f r(rho)'")
-correlate- leaves r(rho) in memory. Here I add
a small flourish to supply a format on the fly.
-help macro- and -help extended_fcn- supply more
details. Note carefully the single left ` and right '
> I have created a twoway scatter plot and would like to
> calculate the basic
> descriptive statistics of the data included in the graph. There is a
> lengthy if statement included in the graph command.
> Is there an easy way to accomplish this via graph options?
* For searches and help try: