Hi Joro
Just one point on the Example that you posted.
This code
nl (y = {a} * x^max(3, {c}))
only constrains that the max(3, {c}) can have a value of 3 or above. It make any constraints on {c}.
Also, when {c} is less than 3, the function doesn't change with respect to {c}, which may be why Stata is assuming {c} is constrained to its initial value of 0.
Fernando
Just one point on the Example that you posted.
This code
nl (y = {a} * x^max(3, {c}))
only constrains that the max(3, {c}) can have a value of 3 or above. It make any constraints on {c}.
Also, when {c} is less than 3, the function doesn't change with respect to {c}, which may be why Stata is assuming {c} is constrained to its initial value of 0.
Fernando
Comment