请问连老师,
问题1:
例子:因变量Y=0,1,2,3 ;自变量X1,X2,有10个观测值
进行排序probit回归: oprobit y x1 x2
问题是,我想得到y的预测值。 若用predict命令,“predict p0 p1 p2 p3 " 是可以得到每个观测值取0,1,2,3的概率。
那么如何得到y的最终预测值呢? 也就是说每个观测值的y的预测值最终是取0还是1、2、3。是根据各观测值 取0-3的概率来人工判断吗?哪个概率大就取哪个...
问题2: 在上述oprobit回归里,加入一个因变量y的工具变量在方程中(为了回归后,将Y的预测值再加入第2步的另一个方程的自变量中)。Y=X1+X2+Z, 请问如何得到判断Z工具变量是否有效的LR值呢?
The values of the LR tests are 212.59 and 5.76 for the variables Z1 and Z2 respectively.
Therefore, the null hypothesis that each instrument is statistically weak is rejected.
感谢连老师..


雷达卡





京公网安备 11010802022788号







