Displaying 1 result from an estimated 1 matches for "lubamba".
Did you mean:
libsamba
2009 May 23
1
Constraining linear regression model
Hi All,
I have two questions:
I am computing a linear regression model with 0 as Intercept.
Well, I would like the sum of my predicted values be equal to a constant
and therefore analyze if my coefficients are significatively different
using or not this constraint.
Does anyone know how I can constrain my model in a such way?
Here is the code:
data<-read.table ("input.txt",