在Microeconometrics Using Stata 第450页中,有这样一段程序(参见附图):
. swnmarize ins retire $xlist $extralist
请问:1、最后两项 $xlist $extralist 分别是什么意思?
2、如果要查帮助手册,应该在软件中输入 help +什么 呢? 或者说在 帮助文件的哪个部分能找到相关的信息?
多谢各位坛友指教!怪我太粗心,没有仔细看上一页的程序,完整的程序如下:
. global xlist age hstatusg hhincome educyear married hisp
. generate line = ln(hhinc)
(9 missing values generated)
· global extralist line female white chronic adl sretire
. swnmarize ins retire $xlist $extralist
意思是预先设定了全局宏(两个global 开头的程序)之后,在接下来的程序中若要引用宏内容,就使用$加上全局宏名称的形式。
参见 手册 [P] macro pp. 192
红线译文:要把一个全局宏的名称 替换为 宏的内容,在输入时应在宏名称前添加一个美元符号 $ 。