edit
edit
describe
describe
regress
regress depvar [indepvar][if][in][weight][options]
- regress:回归
- depvar:因变量名称
- indepvar:自变量名称
- in:范围语句
- weight:权重语句
- options:其他选项
其他选项 | 含义 |
---|
noconstant | 模型不包含常数项 |
hascons | 用户自定义常数项 |
level(#) | 设置置信区间,默认值95% |
vec(type) | 标准化系数 |
predict
predict [type]newvar[if][in][options]
- predict:预测命令
- newvar:将要进行预测的变量
- if:条件语句
- in:范围语句
- options:其他选项
其他选项 | 含义 |
---|
xb | 线性预测拟合值 |
residuals | 残差 |
rstandard | 标准化残差 |
rstudent | 学生化残差 |
stdp | 样本内预测标准差 |
stdf | 样本外预测标准差 |
stdr | 残差的标准差 |
cooksd | Cook的D影响统计量 |
covratio | COVARTIO影响统计量 |
difits | DFITS影响统计量 |
welsch | Welsh距离 |
dfbeta(varname) | 变量varname的DFBETA |
rvfplot
graph
graph twoway scatter e yhat,yline(0)
constraint
nl
xb
nlcom