请问一下在自变量系数和为1的限制条件下,怎么做OLS分析?
谢谢各位了。
楼主: stream1983
|
3535
5
[求助]OLS分析问题 |
高中生 52%
-
|
回帖推荐suppose
y = b0 + b1*x1 + b2*x2 + error
If we impose the restriction b1 = 1, then just run the transformed regression
y-x1 = b0 + b2*x2 + error
In other words, replace the original dependent variable y with y-x1
If we impose b1 + b2 = 1, then
y = b0 + (1-b2)*x1 + b2*x2 + error
Rearrange, we get
y-x1 = b0 + b2*(x2-x1) + error
So the new dependent variable is y - x1, and new independent v ...
本帖被以下文库推荐
| ||
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明