Excluding variables from model solve
Posted: Sun May 12, 2019 6:41 pm
Hi there!
I'm trying to exclude an endogenous variable from the model object so that it can then be used as a control variable. When I use the "model.exclude" command, the variable comes up in the model object's exclusion list, but when I go to calculate the control variable (as part of a targeting process), the program throws an error saying that the control variable is still endogenous.
Any thoughts on why it is still endogenous?
I'm trying to exclude an endogenous variable from the model object so that it can then be used as a control variable. When I use the "model.exclude" command, the variable comes up in the model object's exclusion list, but when I go to calculate the control variable (as part of a targeting process), the program throws an error saying that the control variable is still endogenous.
Any thoughts on why it is still endogenous?