econirl.DDCProblem
- class econirl.DDCProblem(num_states, num_actions, discount_factor=0.9999, scale_parameter=1.0, num_periods=None, state_dim=None, state_encoder=None)[source]
Bases:
objectSpecification of a Dynamic Discrete Choice problem.
This dataclass contains the structural parameters that define the decision environment, following the notation in Rust (1987).
- Variables:
- Parameters:
Example
>>> problem = DDCProblem( ... num_states=90, ... num_actions=2, ... discount_factor=0.9999, ... scale_parameter=1.0 ... )
- __init__(num_states, num_actions, discount_factor=0.9999, scale_parameter=1.0, num_periods=None, state_dim=None, state_encoder=None)