Dear all: I need to find the B vector that minimises the following non-linear function (B-A)*IM*(B-A) such that a linear restriction (also involving the vector B) is fulfilled. It is not necessary to write the restriction in this post. A is the vector of coefficients from my non-restricted model and IM is the inverse of the var/cov matrix from my non-restricted model.
Is it possible to do this in Mata? I use Stata 15. I haven't found any tutorial nor examples of this. I would appreciate your advice ... Many thanks, Juan
Related Posts with non-linear optimisation with linear restrictions
Generalized linear models interpretationsI have variable two dependent “total bone density “which measured in cm3 and “bone density percentag…
gllamm, ... thresh() to model continuation-ratio logit model (seqlogit with random terms)Dear all, I am trying to fit a continuation-ratio logit model in a multi-level context. I have an o…
"better looking" bar?Dear All, I have data Code: * Example generated by -dataex-. To install: ssc install dataex clear …
ineqdec0, missing values and error in loopHi everyone, I am trying to export a large number of descriptive statistics on household income by c…
graph quadratic relationship with binary moderatorHey everybody, I found the following graph in a paper and would like to recreate the exact same gra…
Subscribe to:
Post Comments (Atom)
0 Response to non-linear optimisation with linear restrictions
Post a Comment