Dear Statalisters,
I am having a panel data of some quality indicators say ind1 ind2 it's up to ind8 and some macro variables like productivity, GDP, inflation etc. I would need a stata code that solves the Stochastic Optimization problem, by creating a new variable for each indicator, perhaps discrete and continuous for each period for each indicator included, such that it would Stochastically optimize each indicator by finding the optimal value of each indicator created by bringing the productivity (or if desired also the gdp) to its potential value estimated with the HP filter.
Once this is done, another datum can be created, that is the indicator gap, and consecutively the cost of output for the indicator and so on for the other variables could be calculated. The same problem should be solved to find the optimal type of the other quality indicators by answering the same questions as above. I hope this is clear to you.
Any help is appreciated
Best
Mario Ferri
Related Posts with Stochastic Optimization problem
How to test that melogit (mixed effects logit) fits better than fixed effects/ random effects?Hi Statalist, I used hausman test to my panel data to see whether a fe/re fits better. The result is…
Estimates post: matrix has missing values! for ivreg2Hi, guys! I received an error message "estimates post: matrix has missing values" when i'm using iv…
Rolling corelation Dear Stata Users 1. I need to calculate a rolling correlation for variable eret with marketreturn …
Missing AR 1 and 2 Code: ------------------------------------------------------------------------------ Group variab…
Tabout 3 summary statistics transposing columns to rowsHi Statalist, I am using Stata 15 and I have a question related to tabout 3. I want to make a tabl…
Subscribe to:
Post Comments (Atom)
0 Response to Stochastic Optimization problem
Post a Comment