SG++
python.uq.dists.TNormal.TNormal Class Reference
Inheritance diagram for python.uq.dists.TNormal.TNormal:

Public Member Functions

def __init__ (self, mu, sigma, a, b)
 
def __str__ (self)
 
def by_alpha (cls, mu, sigma, alpha)
 
def by_range (cls, args, kws)
 
def cdf (self, x)
 
def fromJson (cls, jsonObject)
 
def getBounds (self)
 
def getDim (self)
 
def mean (self)
 
def pdf (self, x)
 
def ppf (self, x)
 
def rvs (self, n=1)
 
def std (self)
 
def toJson (self)
 
def var (self)
 

Detailed Description

Represents a truncated normal distribution

See: http://en.wikipedia.org/wiki/Truncated_normal_distribution

Constructor & Destructor Documentation

def python.uq.dists.TNormal.TNormal.__init__ (   self,
  mu,
  sigma,
  a,
  b 
)
Constructor
@param mu: expectation value
@param sigma: standard deviation
@param a: lower boundary
@param b: upper boundary

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.transformation.LinearTransformation.LinearTransformation.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, python.uq.dists.Normal.Normal.__b, python.uq.dists.Lognormal.Lognormal.__mu, python.uq.dists.MultivariateNormal.MultivariateNormal.__mu, python.uq.dists.TNormal.TNormal.__mu, python.uq.dists.Normal.Normal.__mu, python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, python.uq.dists.Normal.Normal.__sigma, python.uq.transformation.JointTransformation.JointTransformation.__trans, python.uq.dists.TNormal.TNormal.__trans(), python.uq.parameters.ParameterDescriptor.UncertainParameterDesciptor.__trans, python.uq.dists.Lognormal.Lognormal._dist, python.uq.dists.Beta.Beta._dist, python.uq.dists.TNormal.TNormal._dist, and python.uq.dists.Normal.Normal._dist.

Member Function Documentation

def python.uq.dists.TNormal.TNormal.__str__ (   self)

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.transformation.LinearTransformation.LinearTransformation.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, python.uq.dists.Normal.Normal.__b, python.uq.dists.Lognormal.Lognormal.__mu, python.uq.dists.MultivariateNormal.MultivariateNormal.__mu, python.uq.dists.TNormal.TNormal.__mu, python.uq.dists.Normal.Normal.__mu, python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, and python.uq.dists.Normal.Normal.__sigma.

def python.uq.dists.TNormal.TNormal.by_alpha (   cls,
  mu,
  sigma,
  alpha 
)
Constructor given a confidence value
@param mu: expectation value
@param sigma: standard deviation
@param alpha: confidence value

References python.uq.dists.Lognormal.Lognormal.__mu, python.uq.dists.MultivariateNormal.MultivariateNormal.__mu, python.uq.dists.TNormal.TNormal.__mu, python.uq.dists.Normal.Normal.__mu, python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, python.uq.dists.Normal.Normal.__sigma, and python.convergence.norm().

def python.uq.dists.TNormal.TNormal.by_range (   cls,
  args,
  kws 
)
Constructor given a interval
def python.uq.dists.TNormal.TNormal.cdf (   self,
  x 
)

References python.uq.transformation.JointTransformation.JointTransformation.__trans, python.uq.dists.TNormal.TNormal.__trans(), and python.uq.parameters.ParameterDescriptor.UncertainParameterDesciptor.__trans.

def python.uq.dists.TNormal.TNormal.fromJson (   cls,
  jsonObject 
)
Restores the TNormal object from the json object with its
attributes.
@param jsonObject: json object
@return: the restored TNormal object

Referenced by python.uq.sampler.asgc.ASGCSampler.ASGCSampler.setMemento(), python.uq.learner.Learner.Learner.setMemento(), and python.uq.uq_setting.UQSetting.UQSetting.setMemento().

def python.uq.dists.TNormal.TNormal.getBounds (   self)

References python.uq.dists.Lognormal.Lognormal.__a, python.uq.transformation.LinearTransformation.LinearTransformation.__a, python.uq.dists.Uniform.Uniform.__a, python.uq.dists.Lognormal.Lognormal.__b, python.uq.dists.MultivariateNormal.MultivariateNormal.__b, python.uq.dists.TNormal.TNormal.__b, and python.uq.dists.Normal.Normal.__b.

def python.uq.dists.TNormal.TNormal.mean (   self)

References python.uq.dists.Lognormal.Lognormal.__mu, python.uq.dists.MultivariateNormal.MultivariateNormal.__mu, python.uq.dists.TNormal.TNormal.__mu, and python.uq.dists.Normal.Normal.__mu.

Referenced by python.uq.analysis.mc.MCAnalysis.MCAnalysis.computeMoments(), and python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.computeMoments().

def python.uq.dists.TNormal.TNormal.pdf (   self,
  x 
)

References python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, python.uq.dists.Normal.Normal.__sigma, python.uq.transformation.JointTransformation.JointTransformation.__trans, python.uq.dists.TNormal.TNormal.__trans(), and python.uq.parameters.ParameterDescriptor.UncertainParameterDesciptor.__trans.

def python.uq.dists.TNormal.TNormal.ppf (   self,
  x 
)

References python.uq.dists.TNormal.TNormal.__inv_trans().

def python.uq.dists.TNormal.TNormal.rvs (   self,
  n = 1 
)

References python.uq.dists.TNormal.TNormal.__inv_trans().

def python.uq.dists.TNormal.TNormal.std (   self)

References python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, and python.uq.dists.Normal.Normal.__sigma.

def python.uq.dists.TNormal.TNormal.var (   self)

References python.uq.dists.Lognormal.Lognormal.__sigma, python.uq.dists.TNormal.TNormal.__sigma, and python.uq.dists.Normal.Normal.__sigma.

Referenced by python.uq.analysis.mc.MCAnalysis.MCAnalysis.computeMoments(), and python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.computeMoments().


The documentation for this class was generated from the following file: