Fixed
params.Fixed(value)Degenerate distribution: a parameter held constant across iterations.
Example
from heormodel.params import Fixed Fixed(3.5).sample(2).tolist() [3.5, 3.5]
Methods
| Name | Description |
|---|---|
| mean | The fixed value. |
| ppf | Constant quantile function. |
| sample | Return n copies of the fixed value. |
| sd | Zero. |
mean
params.Fixed.mean()The fixed value.
ppf
params.Fixed.ppf(u)Constant quantile function.
sample
params.Fixed.sample(n, rng=None)Return n copies of the fixed value.
sd
params.Fixed.sd()Zero.