I wanna to find individual values to minimize an outcome in a restriction.
*variables
- fac1, ..., fac15, persion1, con_month
*solutions which I want to get
- `a1', ... , `a15'
*minimize
- absolute value of [fac1*`a1' + ... + fac15*`a15' - pension1]
*restriction
-`a1' + ... + `a15' = con_month
*in each individual
I think that this problem may have multiple solutions and cannot lead to a proper solution.
Very thank you for your notice.
Related Posts with Minimize under a restriction (in each individual)
Calculating 95% CI of difference in AUCArray After running 2 different logistic regressions with the predict command and then running rocco…
Combining two numerical variables.I am using the American commuinty survey dataset and I have two numerical variables COSTELEC "annual…
Accessing ado files (icalc) to save to a newer computerHi, This is a basic question (for which I apologise), but it's tripping me up. I'm trying to access…
Stata overrides the command for which level to omit in a regressionHi Statalist, I would like to seek help for a problem I encountered. I tried to estimate a regressi…
Margins for panelDear all, I am having a macro panel for a larger period of years (1945- 2020) and for large number …
Subscribe to:
Post Comments (Atom)
0 Response to Minimize under a restriction (in each individual)
Post a Comment