我用stata的xsmle命令做空间面板数据回归
关键词: stata面板回归命令 stata命令xsmle stata 面板数据回归 面板分位数回归 stata
提示数据不是highly balanced, 因为自变量有缺失值
我的数据缺失值比较多,是一定要用插值法补齐么?
不知道stata有没有其他的命令可以处理这种有缺失值的空间面板回归?
或者matlab,R有相关的程序?
xsmle fits fixed or random effects spatial models for balanced panel data. however the mi prefix command can be used xsmle in the unbalanced case. for example:
. webuse mheart5 (1)
. mi set mlong (2)
. mi register imputed age bmi (3)
. set seed 29390 (4)
. mi impute mvn age bmi = attack smokes hsgrad female, add(10) (5)
. mi estimate: logistic attack smokes age bmi hsgrad female (6)
转载请注明:数据分析 » 用stata的xsmle的命令做空间面板回归_缺失数据处理