lognorm_im#
- class lognorm_im(mean=0.0, sigma=1.0, **kwargs)[source]#
Bases:
Dist
Lognormal distribution, parameterized in terms of the “implicit” (normal) distribution, with mean=loc and std=scale (see lognorm_ex for comparison).
Note: the “loc” parameter here does not correspond to the mean of the resulting random variates!
- Parameters:
mean (float) – the mean of the underlying normal distribution (not this distribution) (default 0.0)
sigma (float) – the standard deviation of the underlying normal distribution (not this distribution) (default 1.0)
Example:
ss.lognorm_im(mean=2, sigma=1, strict=False).rvs(1000).mean() # Should be roughly 10
Attributes
bitgen
state
Get the current state
state_int
Get the integer corresponding to the current state
Methods