net install xtqreg, from(http://www.imm.ki.se/biostatistics/stata) replace(安装xtqreg)
再运行help
help xtqreg
运行help xtqreg中的example的步骤,
global Rterm_path "C:\Program Files\R\R-3.1.2\bin\i386\Rterm.exe" (电脑上安装有R,这里将R更换成自己的版本)
global Rterm_path "/usr/bin/r"
inter = month*prog
xtset id month
xtqreg y prog month inter
运行到关键的最后这步分位数回归的命令时,stata运行显示以下错误
file C:/Program Files (x86)/Stata13/d_xtqreg.dta could not be opened
r(603);
亲,我安装的时候一直显示:
. net install xtqreg, from(http://www.imm.ki.se/biostatistics/stata) replace
connection timed out -- see help r(2) for troubleshooting
http://www.imm.ki.se/biostatistics/stata/ either
1) is not a valid URL, or
2) could not be contacted, or
3) is not a Stata download site (has no stata.toc file).
r(2);