Hi everyone,
This might turn out to have a simple answer, but I'm struggling with how to impose some constraints in an application of mine. In brief, I derive an equilibrium condition that I want to take to the data. I specifically have an equation of the form:
ln(y) = nu*ln(x1) + [alpha*(1-gamma) - 1]*ln(x2) + (1-alpha)*(1-gamma)*ln(x3)
Normally (and what I tried) is just taking the sum of the coefficients on ln(x2) and ln(x3). Doing so produces: -gamma. Ideally, I'd like it to have produced 0 so that I can write:
constr def 1 ln(x2) + ln(x3) = 0
Does anyone see a way for me to manipulate the expressions or insert another type of constraint?
Thank you!
This might turn out to have a simple answer, but I'm struggling with how to impose some constraints in an application of mine. In brief, I derive an equilibrium condition that I want to take to the data. I specifically have an equation of the form:
ln(y) = nu*ln(x1) + [alpha*(1-gamma) - 1]*ln(x2) + (1-alpha)*(1-gamma)*ln(x3)
Normally (and what I tried) is just taking the sum of the coefficients on ln(x2) and ln(x3). Doing so produces: -gamma. Ideally, I'd like it to have produced 0 so that I can write:
constr def 1 ln(x2) + ln(x3) = 0
Does anyone see a way for me to manipulate the expressions or insert another type of constraint?
Thank you!
Comment