pystra.distributions.distribution.Distribution#
- class Distribution(name='', dist_obj=None, mean=None, stdv=None, startpoint=None)[source]#
Bases:
object
Probability distribution
- name#
Name of the random variable
- Type:
str
- dist_obj#
if subclassing SciPy distribution
- Type:
SciPy rv
- mean#
Mean or other variable
- Type:
float
- stdv#
Standard deviation or other variable
- Type:
float
- startpoint#
Start point for seach
- Type:
float
- p1#
Parameter for the distribution
- Type:
float
- p2#
Parameter for the distribution
- Type:
float
- p3#
Parameter for the distribution
- Type:
float
- p4#
Parameter for the distribution
- Type:
float
- input_type#
Change meaning of mean and stdv
- Type:
any
- Default#
all values
Methods
Cumulative distribution function
getMean
getName
getStartPoint
getStdv
Compute the Jacobian
Probability density function
Plots the PDF of the distribution
Inverse cumulative distribution function
Return a sample of the distribution of length n
setStartPoint
set_location
set_scale
Transformation from u to x
Transformation from x to u
Attributes
std_normal