examples-AS: Abreu & Sannikov's arbitrary game example

Description Usage See Also Examples

Description

Example model definition function. Records an arbitrary game with three actions for each player and returns the a list of actions, payoffs, and a discount factor to define the game. These can then be used by model.initiate to generate a model description used in the body of the AS algorithm. This example also contains answers in the 'ans' list entry generated by Richard Kratzwer's rgsolve algorithm, when the default model options are passed. These are used in accuracy tests.

Usage

1

See Also

model.initiate examples.PD, examples.cournot, examples.sexes, examples.FL.union

Examples

1
2
3
4
5
6
7
model.defn <- examples.AS()
model.defn$delta 
  # Print the discount factor
model <- model.initiate( examples.AS )
  # Pre-process the model
sol <- abSan.eqm( model=model )
  # Solve

squipbar/abSan documentation built on May 30, 2019, 8 a.m.