|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Class Summary | |
|---|---|
| ApproxAlgorithm | Defines the approximate best response iterative algorithm. |
| ApproxLP | Defines an instance of SALP program, builds model and recovers coefficients in approximation. |
| ApproxLP.prob | Defines the transition dynamics for the model (subclass). |
| Fdist | Defines distribution function of scrap value and entry cost random variables. |
| Parameters | Defines the running parameters for the SALP algorithm. |
| Profit | Defines the single period profit function. |
| Profit10 | Defines the single period profit function for the capacity competition model. |
| Profit99 | Defines the single period profit function for the quality ladder competition model. |
| sol_sep | Defines the separable approximating architecture. |
| state | Defines the representation of the industry state and associated operations. |
| strategy | Defines the representation of the strategy followed by firms in a given industry state. |
This package implements the approximate best response iterative algorithm for approximating MPE for large scale dynamic stochastic games introduced in Farias, Saure and Weintraub (2011).
solveEquilibrium computes the approximate MPE, value function approximation and some industry statistics. Several output files are generated:
On these files names x denotes the maximum number of firms in the industry, and y is a code for the single period profit function. Note that some of these files are generated only if the parameter small is set to true (i.e., when enumerating all states is feasible).
Parameters. If you want to use the same functional forms as in Farias, Saure and Weintraub (2011) you only need to edit the Parameters.java file.
loadCompact to include the path to the initial strategy to be used (compact.txt).
profit, consur and mshare (see Profit99 for an example of such a class). Then, modify the class Profit to introduce a new profit function.
Parameters and Parameters.java. In addition, update computeIndicator to report additional parameters.
setprob to introduce different transition dynamics.
Parameters and Parameters.java. In addition, update computeIndicator to report additional parameters.
setprob to introduce different transition dynamics.
computeCoeff according to new transition dynamics. Then, modify
expectedValue,
StratFromR and
EntryFromR accordingly.
sampleStates, and
ComputeV
according to new transition dynamics.
Parameters and Parameters.java. In addition, update computeIndicator to report additional parameters.
sol_sep to reflect new structure of solution to the approximate LP.
buildModel,
getSolution,
expectedValue,
sampleRest,
StratFromR,
EntryFromR and
ReduceBaseFunctions according to the new approximating architecture.
reportValue and
reportCoeff to report approximating architecture related outcome.
Parameters. In addition, update computeIndicator to report additional parameters.
computeCoeff in order to compute Bellman operator under new approximation architecture.
Parameters, so that all states in the state space are listed.
convergenceCriteria to check uniform convergence of strategies.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||