Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

953 lines
44 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>SkewedGeneralizedT - Math.NET Numerics Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link type="text/css" rel="stylesheet" href="../main.css"/>
<script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="../js/navigation.js"></script>
<script type="text/javascript" src="../js/example.js"></script>
</head>
<body><div id="namespaces">
<h2 class="fixed">Namespaces</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics/index.htm">MathNet.Numerics</a>
</li>
<li>
<a href="../MathNet.Numerics.Differentiation/index.htm">MathNet.Numerics.Differentiation</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/index.htm" class="current">MathNet.Numerics.Distributions</a>
</li>
<li>
<a href="../MathNet.Numerics.Financial/index.htm">MathNet.Numerics.Financial</a>
</li>
<li>
<a href="../MathNet.Numerics.IntegralTransforms/index.htm">MathNet.Numerics.IntegralTransforms</a>
</li>
<li>
<a href="../MathNet.Numerics.Integration/index.htm">MathNet.Numerics.Integration</a>
</li>
<li>
<a href="../MathNet.Numerics.Interpolation/index.htm">MathNet.Numerics.Interpolation</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra/index.htm">MathNet.Numerics.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex/index.htm">MathNet.Numerics.LinearAlgebra.Complex</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32/index.htm">MathNet.Numerics.LinearAlgebra.Complex32</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Complex32.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Complex32.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double/index.htm">MathNet.Numerics.LinearAlgebra.Double</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Double.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Double.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Factorization/index.htm">MathNet.Numerics.LinearAlgebra.Factorization</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single/index.htm">MathNet.Numerics.LinearAlgebra.Single</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Single.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Single.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Solvers/index.htm">MathNet.Numerics.LinearAlgebra.Solvers</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearAlgebra.Storage/index.htm">MathNet.Numerics.LinearAlgebra.Storage</a>
</li>
<li>
<a href="../MathNet.Numerics.LinearRegression/index.htm">MathNet.Numerics.LinearRegression</a>
</li>
<li>
<a href="../MathNet.Numerics.OdeSolvers/index.htm">MathNet.Numerics.OdeSolvers</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization/index.htm">MathNet.Numerics.Optimization</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.LineSearch/index.htm">MathNet.Numerics.Optimization.LineSearch</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.ObjectiveFunctions/index.htm">MathNet.Numerics.Optimization.ObjectiveFunctions</a>
</li>
<li>
<a href="../MathNet.Numerics.Optimization.TrustRegion/index.htm">MathNet.Numerics.Optimization.TrustRegion</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers/index.htm">MathNet.Numerics.Providers</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.FourierTransform/index.htm">MathNet.Numerics.Providers.FourierTransform</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.LinearAlgebra/index.htm">MathNet.Numerics.Providers.LinearAlgebra</a>
</li>
<li>
<a href="../MathNet.Numerics.Providers.SparseSolver/index.htm">MathNet.Numerics.Providers.SparseSolver</a>
</li>
<li>
<a href="../MathNet.Numerics.Random/index.htm">MathNet.Numerics.Random</a>
</li>
<li>
<a href="../MathNet.Numerics.RootFinding/index.htm">MathNet.Numerics.RootFinding</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics/index.htm">MathNet.Numerics.Statistics</a>
</li>
<li>
<a href="../MathNet.Numerics.Statistics.Mcmc/index.htm">MathNet.Numerics.Statistics.Mcmc</a>
</li>
</ul>
</div>
</div><div id="types">
<h2 class="fixed">Types in MathNet.Numerics.Distributions</h2>
<div class="scroll">
<ul>
<li>
<a href="../MathNet.Numerics.Distributions/Bernoulli.htm">Bernoulli</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Beta.htm">Beta</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/BetaBinomial.htm">BetaBinomial</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/BetaScaled.htm">BetaScaled</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Binomial.htm">Binomial</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Burr.htm">Burr</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Categorical.htm">Categorical</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Cauchy.htm">Cauchy</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Chi.htm">Chi</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/ChiSquared.htm">ChiSquared</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/ContinuousUniform.htm">ContinuousUniform</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/ConwayMaxwellPoisson.htm">ConwayMaxwellPoisson</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Dirichlet.htm">Dirichlet</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/DiscreteUniform.htm">DiscreteUniform</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Erlang.htm">Erlang</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Exponential.htm">Exponential</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/FisherSnedecor.htm">FisherSnedecor</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Gamma.htm">Gamma</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Geometric.htm">Geometric</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Hypergeometric.htm">Hypergeometric</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/IContinuousDistribution.htm">IContinuousDistribution</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/IDiscreteDistribution.htm">IDiscreteDistribution</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/IDistribution.htm">IDistribution</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/InverseGamma.htm">InverseGamma</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/InverseGaussian.htm">InverseGaussian</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/InverseWishart.htm">InverseWishart</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/IUnivariateDistribution.htm">IUnivariateDistribution</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Laplace.htm">Laplace</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Logistic.htm">Logistic</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/LogNormal.htm">LogNormal</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/MatrixNormal.htm">MatrixNormal</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/MeanPrecisionPair.htm">MeanPrecisionPair</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Multinomial.htm">Multinomial</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/NegativeBinomial.htm">NegativeBinomial</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Normal.htm">Normal</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/NormalGamma.htm">NormalGamma</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Pareto.htm">Pareto</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Poisson.htm">Poisson</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Rayleigh.htm">Rayleigh</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/SkewedGeneralizedError.htm">SkewedGeneralizedError</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm" class="current">SkewedGeneralizedT</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Stable.htm">Stable</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/StudentT.htm">StudentT</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Triangular.htm">Triangular</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/TruncatedPareto.htm">TruncatedPareto</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Weibull.htm">Weibull</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Wishart.htm">Wishart</a>
</li>
<li>
<a href="../MathNet.Numerics.Distributions/Zipf.htm">Zipf</a>
</li>
</ul>
</div>
</div>
<div class="header">
<p class="class"><strong>Type</strong> SkewedGeneralizedT</p>
<p><strong>Namespace</strong> MathNet.Numerics.Distributions</p>
<p><strong>Interfaces</strong> <a href="../MathNet.Numerics.Distributions/IContinuousDistribution.htm">IContinuousDistribution</a></p>
</div>
<div class="sub-header">
<div id="summary">Continuous Univariate Skewed Generalized T-distribution.
Implements the univariate Skewed Generalized t-distribution. For details about this
distribution, see.
The skewed generalized t-distribution contains many different distributions within it
as special cases based on the parameterization chosen. <blockquote class="remarks">
<p>This implementation is based on the R package dsgt and corresponding viginette, see. Compared to that
implementation, the options for mean adjustment and variance adjustment are always true.
The location (μ) is the mean of the distribution.
The scale (σ) squared is the variance of the distribution. </p> <p>The distribution will use the <a href="../System/Random.htm">Random</a> by
default. Users can get/set the random number generator by using the <a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#RandomSource">RandomSource</a> property. </p> <p>The statistics classes will check all the incoming parameters
whether they are in the allowed range. </p>
</blockquote>
</div>
<h3 class="section">Constructors</h3>
<ul>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#.ctor">SkewedGeneralizedT</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#.ctor">SkewedGeneralizedT</a></li>
</ul>
<h3 class="section">Static Functions</h3>
<ul>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#CDF">CDF</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#FindSpecializedDistribution">FindSpecializedDistribution</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#InvCDF">InvCDF</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#IsValidParameterSet">IsValidParameterSet</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#PDF">PDF</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#PDFLn">PDFLn</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Sample">Sample</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Sample">Sample</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
</ul>
<h3 class="section">Methods</h3>
<ul>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#CumulativeDistribution">CumulativeDistribution</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Density">Density</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#DensityLn">DensityLn</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Equals">Equals</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#GetHashCode">GetHashCode</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#GetType">GetType</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#InverseCumulativeDistribution">InverseCumulativeDistribution</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Sample">Sample</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Samples">Samples</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#ToString">ToString</a></li>
</ul>
<h3 class="section">Properties</h3>
<ul>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Entropy">Entropy</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Location">Location</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Maximum">Maximum</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Mean">Mean</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Median">Median</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Minimum">Minimum</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Mode">Mode</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#P">P</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Q">Q</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#RandomSource">RandomSource</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Scale">Scale</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Skew">Skew</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Skewness">Skewness</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#StdDev">StdDev</a></li>
<li><a href="../MathNet.Numerics.Distributions/SkewedGeneralizedT.htm#Variance">Variance</a></li>
</ul>
</div>
<h3 class="section">Public Constructors</h3>
<div id=".ctor" class="method">
<h4> <strong>SkewedGeneralizedT</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Initializes a new instance of the SkewedGeneralizedT class with a particular location, scale, skew
and kurtosis parameters. Different parameterizations result in different distributions.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
</div>
</div>
<div id=".ctor" class="method">
<h4> <strong>SkewedGeneralizedT</strong>()</h4>
<div class="content">Initializes a new instance of the SkewedGeneralizedT class. This is a skewed generalized t-distribution
with location=0.0, scale=1.0, skew=0.0, p=2.0 and q=Inf (a standard normal distribution).
</div>
</div>
<h3 class="section">Public Static Functions</h3>
<div id="CDF" class="method">
<h4><span title="System.double">double</span> <strong>CDF</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q, <span title="System.double">double</span> x)</h4>
<div class="content">Computes the cumulative distribution (CDF) of the distribution at x, i.e. P(X ≤ x).
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
<h6><code><span title="System.double">double</span></code> x</h6>
<p class="comments">The location at which to compute the cumulative distribution function. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>the cumulative distribution at location <var>x</var>. </p>
</div>
</div>
</div>
<div id="FindSpecializedDistribution" class="method">
<h4><a href="../MathNet.Numerics.Distributions/IContinuousDistribution.htm">IContinuousDistribution</a> <strong>FindSpecializedDistribution</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Given a parameter set, returns the distribution that matches this parameterization.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><a href="../MathNet.Numerics.Distributions/IContinuousDistribution.htm">IContinuousDistribution</a></code></h6>
<p>Null if no known distribution matches the parameterization, else the distribution. </p>
</div>
</div>
</div>
<div id="InvCDF" class="method">
<h4><span title="System.double">double</span> <strong>InvCDF</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q, <span title="System.double">double</span> pr)</h4>
<div class="content">Computes the inverse of the cumulative distribution function (InvCDF) for the distribution
at the given probability. This is also known as the quantile or percent point function.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
<h6><code><span title="System.double">double</span></code> pr</h6>
<p class="comments">The location at which to compute the inverse cumulative density. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>the inverse cumulative density at <var>p</var>. </p>
</div>
</div>
</div>
<div id="IsValidParameterSet" class="method">
<h4><span title="System.bool">bool</span> <strong>IsValidParameterSet</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Tests whether the provided values are valid parameters for this distribution.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
</div>
</div>
<div id="PDF" class="method">
<h4><span title="System.double">double</span> <strong>PDF</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q, <span title="System.double">double</span> x)</h4>
<div class="content">Computes the probability density of the distribution (PDF) at x, i.e. ∂P(X ≤ x)/∂x.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
<h6><code><span title="System.double">double</span></code> x</h6>
<p class="comments">The location at which to compute the density. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>the density at <var>x</var>. </p>
</div>
</div>
</div>
<div id="PDFLn" class="method">
<h4><span title="System.double">double</span> <strong>PDFLn</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q, <span title="System.double">double</span> x)</h4>
<div class="content">Computes the log probability density of the distribution (lnPDF) at x, i.e. ln(∂P(X ≤ x)/∂x).
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
<h6><code><span title="System.double">double</span></code> x</h6>
<p class="comments">The location at which to compute the density. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>the density at <var>x</var>. </p>
</div>
</div>
</div>
<div id="Sample" class="method">
<h4><span title="System.double">double</span> <strong>Sample</strong>(<span title="System.Random">Random</span> rnd, <span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Generates a sample from the Skew Generalized t-distribution.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Random">Random</span></code> rnd</h6>
<p class="comments">The random number generator to use. </p>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>a sample from the distribution. </p>
</div>
</div>
</div>
<div id="Sample" class="method">
<h4><span title="System.double">double</span> <strong>Sample</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Generates a sample from the Skew Generalized t-distribution.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>a sample from the distribution. </p>
</div>
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.void">void</span> <strong>Samples</strong>(<span title="System.Double[]">Double[]</span> values, <span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Fills an array with samples from the Skew Generalized t-distribution using inverse transform.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Double[]">Double[]</span></code> values</h6>
<p class="comments">The array to fill with the samples. </p>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.void">void</span></code></h6>
<p>a sequence of samples from the distribution. </p>
</div>
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.void">void</span> <strong>Samples</strong>(<span title="System.Random">Random</span> rnd, <span title="System.Double[]">Double[]</span> values, <span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Fills an array with samples from the Skew Generalized t-distribution using inverse transform.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Random">Random</span></code> rnd</h6>
<p class="comments">The random number generator to use. </p>
<h6><code><span title="System.Double[]">Double[]</span></code> values</h6>
<p class="comments">The array to fill with the samples. </p>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.void">void</span></code></h6>
<p>a sequence of samples from the distribution. </p>
</div>
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.Collections.Generic.IEnumerable<double>">IEnumerable&lt;double&gt;</span> <strong>Samples</strong>(<span title="System.Random">Random</span> rnd, <span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Generates a sequence of samples from the Skew Generalized t-distribution using inverse transform.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.Random">Random</span></code> rnd</h6>
<p class="comments">The random number generator to use. </p>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.Collections.Generic.IEnumerable<double>">IEnumerable&lt;double&gt;</span></code></h6>
<p>a sequence of samples from the distribution. </p>
</div>
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.Collections.Generic.IEnumerable<double>">IEnumerable&lt;double&gt;</span> <strong>Samples</strong>(<span title="System.double">double</span> location, <span title="System.double">double</span> scale, <span title="System.double">double</span> skew, <span title="System.double">double</span> p, <span title="System.double">double</span> q)</h4>
<div class="content">Generates a sequence of samples from the Skew Generalized t-distribution using inverse transform.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> location</h6>
<p class="comments">The location (μ) of the distribution. </p>
<h6><code><span title="System.double">double</span></code> scale</h6>
<p class="comments">The scale (σ) of the distribution. Range: σ > 0. </p>
<h6><code><span title="System.double">double</span></code> skew</h6>
<p class="comments">The skew, 1 > λ > -1 </p>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">First parameter that controls kurtosis. Range: p > 0 </p>
<h6><code><span title="System.double">double</span></code> q</h6>
<p class="comments">Second parameter that controls kurtosis. Range: q > 0 </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.Collections.Generic.IEnumerable<double>">IEnumerable&lt;double&gt;</span></code></h6>
<p>a sequence of samples from the distribution. </p>
</div>
</div>
</div>
<h3 class="section">Public Methods</h3>
<div id="CumulativeDistribution" class="method">
<h4><span title="System.double">double</span> <strong>CumulativeDistribution</strong>(<span title="System.double">double</span> x)</h4>
<div class="content">
</div>
</div>
<div id="Density" class="method">
<h4><span title="System.double">double</span> <strong>Density</strong>(<span title="System.double">double</span> x)</h4>
<div class="content">
</div>
</div>
<div id="DensityLn" class="method">
<h4><span title="System.double">double</span> <strong>DensityLn</strong>(<span title="System.double">double</span> x)</h4>
<div class="content">
</div>
</div>
<div id="Equals" class="method">
<h4><span title="System.bool">bool</span> <strong>Equals</strong>(<span title="System.object">object</span> obj)</h4>
<div class="content">
</div>
</div>
<div id="GetHashCode" class="method">
<h4><span title="System.int">int</span> <strong>GetHashCode</strong>()</h4>
<div class="content">
</div>
</div>
<div id="GetType" class="method">
<h4><span title="System.Type">Type</span> <strong>GetType</strong>()</h4>
<div class="content">
</div>
</div>
<div id="InverseCumulativeDistribution" class="method">
<h4><span title="System.double">double</span> <strong>InverseCumulativeDistribution</strong>(<span title="System.double">double</span> p)</h4>
<div class="content">Computes the inverse of the cumulative distribution function (InvCDF) for the distribution
at the given probability. This is also known as the quantile or percent point function.
<div class="parameters">
<h5>Parameters</h5>
<h6><code><span title="System.double">double</span></code> p</h6>
<p class="comments">The location at which to compute the inverse cumulative density. </p>
</div>
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.double">double</span></code></h6>
<p>the inverse cumulative density at <var>p</var>. </p>
</div>
</div>
</div>
<div id="Sample" class="method">
<h4><span title="System.double">double</span> <strong>Sample</strong>()</h4>
<div class="content">
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.Collections.Generic.IEnumerable<double>">IEnumerable&lt;double&gt;</span> <strong>Samples</strong>()</h4>
<div class="content">
</div>
</div>
<div id="Samples" class="method">
<h4><span title="System.void">void</span> <strong>Samples</strong>(<span title="System.Double[]">Double[]</span> values)</h4>
<div class="content">
</div>
</div>
<div id="ToString" class="method">
<h4><span title="System.string">string</span> <strong>ToString</strong>()</h4>
<div class="content">A string representation of the distribution.
<div class="return">
<h5>Return</h5>
<h6><code><span title="System.string">string</span></code></h6>
<p>a string representation of the distribution. </p>
</div>
</div>
</div>
<h3 class="section">Public Properties</h3>
<div id="Entropy" class="method">
<h4><span title="System.double">double</span> <strong>Entropy</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Location" class="method">
<h4><span title="System.double">double</span> <strong>Location</strong> get; </h4>
<div class="content">Gets the location (μ) of the Skewed Generalized t-distribution.
</div>
</div>
<div id="Maximum" class="method">
<h4><span title="System.double">double</span> <strong>Maximum</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Mean" class="method">
<h4><span title="System.double">double</span> <strong>Mean</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Median" class="method">
<h4><span title="System.double">double</span> <strong>Median</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Minimum" class="method">
<h4><span title="System.double">double</span> <strong>Minimum</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Mode" class="method">
<h4><span title="System.double">double</span> <strong>Mode</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="P" class="method">
<h4><span title="System.double">double</span> <strong>P</strong> get; </h4>
<div class="content">Gets the first parameter that controls the kurtosis of the distribution. Range: p > 0.
</div>
</div>
<div id="Q" class="method">
<h4><span title="System.double">double</span> <strong>Q</strong> get; </h4>
<div class="content">Gets the second parameter that controls the kurtosis of the distribution. Range: q > 0.
</div>
</div>
<div id="RandomSource" class="method">
<h4><span title="System.Random">Random</span> <strong>RandomSource</strong> get; set;</h4>
<div class="content">Gets or sets the random number generator which is used to draw random samples.
</div>
</div>
<div id="Scale" class="method">
<h4><span title="System.double">double</span> <strong>Scale</strong> get; </h4>
<div class="content">Gets the scale (σ) of the Skewed Generalized t-distribution. Range: σ > 0.
</div>
</div>
<div id="Skew" class="method">
<h4><span title="System.double">double</span> <strong>Skew</strong> get; </h4>
<div class="content">Gets the skew (λ) of the Skewed Generalized t-distribution. Range: 1 > λ > -1.
</div>
</div>
<div id="Skewness" class="method">
<h4><span title="System.double">double</span> <strong>Skewness</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="StdDev" class="method">
<h4><span title="System.double">double</span> <strong>StdDev</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="Variance" class="method">
<h4><span title="System.double">double</span> <strong>Variance</strong> get; </h4>
<div class="content">
</div>
</div>
<div id="footer">
<p>Based on v5.0.0.0 of MathNet.Numerics (Math.NET Numerics)</p>
<p>Generated by <a href="http://docu.jagregory.com">docu</a></p>
</div>
</body>
</html>