Hi All,
I am running a restricted regression but the constraint wouldn't work and I can't tell what I am missing between the lines
Below is what i have done so far
y = b0 + b1X1 + b2X2 + b3X3
constraint 1 b1+b2+b3 = 1
reg y X1 X2 X3, c(1)
How ever, it never worked. Something seems to be wrong with the constraint or I cannot have a constraint as such?
Thanks
Francis
I am running a restricted regression but the constraint wouldn't work and I can't tell what I am missing between the lines
Below is what i have done so far
y = b0 + b1X1 + b2X2 + b3X3
constraint 1 b1+b2+b3 = 1
reg y X1 X2 X3, c(1)
How ever, it never worked. Something seems to be wrong with the constraint or I cannot have a constraint as such?
Thanks
Francis
Comment