Reference 〉 Function

Shocks.randn(nint)

Generates a timer function that returns True with some probability each period.

Parameters

  • n int, required

    The percentage probability with which to return True each period. n must be between 0 and 100.

Return Value func(int)

A timer function that takes the model time and returns a boolean.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.