老师好:
我的模型如下
Y = b0 + b1 * X1 + b2*X2 + b3*X3 + e
希望能够限制系数如下
1. 系数b1+b2+b3之和为1
2. 系数b1,b2,b3非负
请问如何快捷的求解
|
楼主: desper
|
2732
6
[Splus与R金融时间序列专题] R,系数有限制的回归 |
|
高中生 57%
-
|
|
|
|
| ||
|
R is the second language for me!Using R is standing on the shoulders of giants! Let\'s use R together!
|
||
| ||
| ||
|
R is the second language for me!Using R is standing on the shoulders of giants! Let\'s use R together!
|
|
| ||
| ||
|
R is the second language for me!Using R is standing on the shoulders of giants! Let\'s use R together!
|
||
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


