Some preliminary text.
A code block, setup:
. sysuse auto
(1978 Automobile Data)
. summarize weight
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
weight | 74 3019.459 777.1936 1760 4840
The mean weight is 3019.4595
. return list
scalars:
r(sum) = 223440
r(max) = 4840
r(min) = 1760
r(sd) = 777.1935671373662
r(Var) = 604029.8407997037
r(mean) = 3019.45945945946
r(sum_w) = 74
r(N) = 74
Using s
, formatted
The mean weight is 3019.5.
Using ``stata`
The maximum weight is 4840.
Using {s}
and {stata}
, and two calls per line.
The weight range is 1760 to 4840.