为Stata命令执行过程中生成的临时变量,help tempvar。操作中你基本不用管它命名规律吧?若真的想知道,具体规则为“Currently, tempvar returns names started with two underscores and based on counting in base 36, which uses all the digits 0-9 and the capital letters A-Z”。
下面小程序显示了这一规律:
set more off
macro drop _all
forv i = 1/100 {
tempvar v`i'
di "#" %03.0f `i' ": " "`v`i''"
}