Dear Stata users,
I have the following issue: I have to estimate a system of simultaneous equations with non-linear constraints of form 0 < a < 1 using OLS.
Example 2 in https://www.stata.com/support/faqs/s...nstraints/#ex2 shows how to impose non-linear constraints of the form 0 < a < 1 using nl command that makes use of the inverse logit function.
In my case, I have to run a pair of regressions simultaneously with a non-linear constraint of the form 0 < [eqn1]beta + [eqn2]beta < 1.
Originally, I used reg3 and imposed a linear constraint of the form [eqn1]beta + [eqn2]beta = 1 but sometimes I got negative coefficients because I could not also impose the positiveness of the estimated coefficients.
So, I would like to know if there is a trick or a way you can suggest to run simultaneous regression equations with non-linear equations of form 0 < a < 1 without using any reparameterization of the coefficients as nl does?
Thank you,
Anna
Related Posts with Systems of simultaneous equations with non-linear constraints
Category omitted from fixed effect when running regressionI am having a confusing problem -- when I ran my code last week, everything was normal. Now, not so …
Advice for Imputing my Control VariablesHi everyone, I hope everything is well! I'm reaching out because I read some guidance on imputing b…
How to simulate data with specified ROC AUC and specified odds ratioI would like to do the following: 1- simulate 1000 observations 2 - simulate a continuous biomarker …
Opening Excel file exported by etableIn the example below, when I click results.xlsx, the file tries (and fails) to open using my browser…
Testing measurement invariance across two groups/endless iterations when fitting the modelI am trying to test measurement invariance for a scale with 20 items loading 4 latent variables (no …
Subscribe to:
Post Comments (Atom)
0 Response to Systems of simultaneous equations with non-linear constraints
Post a Comment