我要在stata中做如下检验:
qreg income edu year female chengxiang [aweight = fnwcs], quantile(10)
qreg income edu year female chengxiang [aweight = fnwcs], quantile(15)
两个方程在不同分位数上做回归,现在我想比较两个方程的female回归系数是否等值,请教怎么用test命令做wald检验?
我知道如果用以下命令可以得出结果
sqreg income edu year female chengxiang , quantile(10 15)
test [q10=q15] : female
但关键是sqreg命令不能处理加权数据,而我这个数据必须加权后再作分析。