Hi,
I am attempting to perform a linear regression on this equation: https://i.imgur.com/OJ32IUk.jpeg
I am trying to maximise compensated wins subject to a budget constraint for X (the sum of all X values has to be below a budget constraint of $200,000,000). I have all the coefficients for a(hat)_global, a(hat)uni and beta(hat)uni (in excel, I'm not sure the best format to import it into stata to do this), and I have minimum values in dollars for each of the values of X_t,i (they are different values for different X's). Is there any way to assign each extra dollar to the X_i with the largest marginal gain in Compensated Wins for that extra dollar, and keep assigning each extra dollar to the X with the largest marginal gain until the sum of all X's reaches the budget constraint?
I have looked for a way to do this but I cannot find anything.
Thanks in advance
Crossposted on reddit: https://www.reddit.com/r/stata/comme...d01/?context=3
Related Posts with Linear programming for budget optimization
How to control MRTs in PPML Gravity ModelCan i control MRTs in PPML method by estimating exporter, importer and year group dummies by followi…
Appending Files Conditional on File NameI have a number of files that are named the following: lp1_x0_rf1.dta ... lp1_x9_rf1.dta lp1_x0_rf2…
Merging Data with a prefix in the merging variableI wish to perform merges of the following nature: My first dataset is as follows: Code: * Exampl…
Test for endogeneity when using in between-effectsHello everyone, I am trying to run the following model xi: xtivreg sba ids fco vvm nan avi i.year (…
Changing values of yes/no binary variables from 1/2 to 1/0 using loopHello, I believe this is a common problem but I have not found an answer online. I have a large dat…
Subscribe to:
Post Comments (Atom)
0 Response to Linear programming for budget optimization
Post a Comment