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
Taking the average of observations within a specific date rangeHi, I want to compute the average of a variable (teamsize) for observations within a specific time …
Problems creating Herfindahl-Hirschman IndexHello everyone, I want to create the Herfindahl-Hirschman Index for my data. I have quartlery data …
Code of Patell Z-statisticGoodmorning everyone, I'd like to derive a Z-statistic by means of the Patell test (https://www.eve…
Values of multiple columns in one column using a loopHi everyone, I'd like to place all values of multiple columns in one column. I tried stack using a …
Variable Labels Hello dear forum members, I am new here and am currently learning Stata. I am a beginner and have o…
Subscribe to:
Post Comments (Atom)
0 Response to Linear programming for budget optimization
Post a Comment