pystra.distributions.parent.MaxParent#
- class MaxParent(name, max_dist, N, input_type=None, startpoint=None)[source]#
Bases:
Distribution
Parent distribution of the provided distribution which represents the distribution of maxima of a random variable.
For example, given an annual maximum distribution of imposed load, find the parent distribution of imposed load, if the load is applied 6 times per year.
- Attributes:
name (str): Name of the random variable
mean (float): Mean
stdv (float): Standard deviation
maximum (Distribution): Distribution of maximum 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
Update the parent distribution exponent parameter.
Updating the parent distribution location parameter.
Updating the parent distribution scale parameter.
Transformation from u to x
Transformation from x to u
zero_distn
Attributes
std_normal
- plot(ax=None, **kwargs)#
Plots the PDF of the distribution
- sample(n=1000)#
Return a sample of the distribution of length n