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
Question related to loop/foreach vvvHi, Using the below sample data, I am trying to obtain the number of values in b1 (id=50_512) that e…
Removing Blue Character ValuesHi, I am struggling at the moment with two -probably basic- issues. 1. I am working on the Italian…
compare incidence rate among three groupsDear colleagues. I already have definided the failure event (DEAD) and time variable (TIME), and I h…
Missing values in Latent class analysis with gsem in Stata 15 - different results in comparison with R's package poLCAI am using Stata Version 15.0 "gsem" command to get a latent class model fromm a sample with 6860 (i…
Dyadic data and clustered standard errorsHello, I have time-series dyadic data and need to run a regression (DV and IVs are absolute differe…
Subscribe to:
Post Comments (Atom)
0 Response to non-linear optimisation with linear restrictions
Post a Comment