Model#

Tools for crafting models.

class HARK.model.Aggregate(dist: Distribution)#

Bases: object

Used to designate a shock as an aggregate shock. If so designated, draws from the shock will be scalar rather than array valued.

class HARK.model.Control(args)#

Bases: object

Used to designate a variabel that is a control variable.

Parameters:

args (list of str) – The labels of the variables that are in the information set of this control.

class HARK.model.DBlock(name: str = '', description: str = '', shocks: dict = <factory>, dynamics: dict = <factory>, reward: dict = <factory>)#

Bases: object

Represents a ‘block’ of model behavior. It prioritizes a representation of the dynamics of the block. Control variables are designated by the appropriate dynamic rule.

Parameters:

...

description: str = ''#
dynamics: dict#
name: str = ''#
reward: dict#
shocks: dict#