time_prob#

class time_prob(v=None, *args, **kwargs)[source]#

Bases: TimePar

A probability over time (a.k.a. a cumulative hazard rate); must be >=0 and <=1.

Note: ss.time_prob() converts one cumulative hazard rate to another with a different time unit. ss.rate_prob() converts an exponential rate to a cumulative hazard rate.

Attributes

isarray

Check if the value is an array

Methods