Skip to content

AdjustPrb "off by one" indexing + newborns #1026

@sbenthall

Description

@sbenthall

https://github.com/econ-ark/HARK/pull/1018/files/2f11c4dca05a3a853342b7ab732a538872a89961#r657291263

The current AdjustPrb simulation code draws for age t instead of t-1.

Correcting this implies the need for newborn handling, see #326

Alternatively, this 'look forward' issue can be changed everywhere ( see #1022 ) and the special newborn handling for every shock in the simulation code can be removed.

A reason for fixing #1022 is that it is not good to have the newborn case hard-coded into in the simulation logic for every shock. That information should be provided by a parameter.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Not started

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions