pystra.distributions.maximum.Maximum#
- class Maximum(name, parent, N, input_type=None, startpoint=None)[source]#
Bases:
Distribution
Distribution of maximima from the passed in parent distribution
- Attributes:
name (str): Name of the random variable
mean (float): Mean
stdv (float): Standard deviation
parent (Distribution): Parent distribution object
N (float): Power to which distribution is raised
input_type (any): Change meaning of mean and stdv
startpoint (float): Start point for seach
Methods
Cumulative distribution function
getMean
getName
getStartPoint
getStdv
Compute the Jacobian (e.g.
Probability density function
Plots the PDF of the distribution
inverse cumulative distribution function
Return a sample of the distribution of length n
setStartPoint
Updating the parent distribution location parameter.
Updating the parent distribution scale parameter.
Transformation from u to x
Updates the mean and stdv estimates - used for sensitivity analysis where the parent distribution params may change after instantiation
Transformation from x to u
zero_distn
Attributes
std_normal
- update_stats()[source]#
Updates the mean and stdv estimates - used for sensitivity analysis where the parent distribution params may change after instantiation
- plot(ax=None, **kwargs)#
Plots the PDF of the distribution
- sample(n=1000)#
Return a sample of the distribution of length n