TrimmedMean.psi()

statsmodels.robust.norms.TrimmedMean.psi TrimmedMean.psi(z) [source] The psi function for least trimmed mean The analytic derivative of rho Parameters: z : array-like 1d array Returns: psi : array psi(z) = z for |z| <= c psi(z) = 0 for |z| > c

Transf_gen.sf()

statsmodels.sandbox.distributions.transformed.Transf_gen.sf Transf_gen.sf(x, *args, **kwds) Survival function (1-cdf) at x of the given RV. Parameters: x : array_like quantiles arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: sf : array_like Survival function evaluated a

Transf_gen.std()

statsmodels.sandbox.distributions.transformed.Transf_gen.std Transf_gen.std(*args, **kwds) Standard deviation of the distribution. Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: std : float standard deviation of the distribution

Transf_gen.stats()

statsmodels.sandbox.distributions.transformed.Transf_gen.stats Transf_gen.stats(*args, **kwds) Some statistics of the given RV Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional (discrete RVs only) scale parameter (default=1) moments : str, optional composed of letters [?mvsk?] defining which moments

Transf_gen.ppf()

statsmodels.sandbox.distributions.transformed.Transf_gen.ppf Transf_gen.ppf(q, *args, **kwds) Percent point function (inverse of cdf) at q of the given RV. Parameters: q : array_like lower tail probability arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: x : array_like q

Transf_gen.pdf()

statsmodels.sandbox.distributions.transformed.Transf_gen.pdf Transf_gen.pdf(x, *args, **kwds) Probability density function at x of the given RV. Parameters: x : array_like quantiles arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: pdf : ndarray Probability density functi

Transf_gen.rvs()

statsmodels.sandbox.distributions.transformed.Transf_gen.rvs Transf_gen.rvs(*args, **kwds) Random variates of given type. Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information). loc : array_like, optional Location parameter (default=0). scale : array_like, optional Scale parameter (default=1). size : int or tuple of ints, optional Defining number of random variates (default=1). Returns:

Transf_gen.nnlf()

statsmodels.sandbox.distributions.transformed.Transf_gen.nnlf Transf_gen.nnlf(theta, x) Return negative loglikelihood function Notes This is -sum(log pdf(x, theta), axis=0) where theta are the parameters (including loc and scale).

Transf_gen.median()

statsmodels.sandbox.distributions.transformed.Transf_gen.median Transf_gen.median(*args, **kwds) Median of the distribution. Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional Location parameter, Default is 0. scale : array_like, optional Scale parameter, Default is 1. Returns: median : float The median of the distribution. See also stats.distributions.r

Transf_gen.moment()

statsmodels.sandbox.distributions.transformed.Transf_gen.moment Transf_gen.moment(n, *args, **kwds) n?th order non-central moment of distribution. Parameters: n : int, n>=1 Order of moment. arg1, arg2, arg3,... : float The shape parameter(s) for the distribution (see docstring of the instance object for more information). kwds : keyword arguments, optional These can include ?loc? and ?scale?, as well as other keyword arguments relevant for a given distribution.