pystra.distributions.typeiiismallestvalue.TypeIIIsmallestValue#

class TypeIIIsmallestValue(name, mean, stdv, epsilon=0, input_type=None, startpoint=None)[source]#

Bases: Distribution

Type III smallest value distribution

Attributes:
  • name (str): Name of the random variable

  • mean (float): Mean or u_1

  • stdv (float): Standard deviation or k

  • epsilon (float): Epsilon

  • input_type (any): Change meaning of mean and stdv

  • startpoint (float): Start point for seach

Methods

cdf

Cumulative distribution function

getMean

getName

getStartPoint

getStdv

jacobian

Compute the Jacobian

pdf

Probability density function

plot

Plots the PDF of the distribution

ppf

Inverse cumulative distribution function

sample

Return a sample of the distribution of length n

setStartPoint

set_location

set_scale

u_to_x

Transformation from u to x

x_to_u

Transformation from x to u

Attributes

std_normal

cdf(x)#

Cumulative distribution function

jacobian(u, x)#

Compute the Jacobian

pdf(x)#

Probability density function

plot(ax=None, **kwargs)#

Plots the PDF of the distribution

ppf(u)#

Inverse cumulative distribution function

sample(n=1000)#

Return a sample of the distribution of length n

u_to_x(u)#

Transformation from u to x

x_to_u(x)#

Transformation from x to u