| SphericalDistribution-class {distrEllipse} | R Documentation |
Spherical distribution class
Description
Class SphericalDistribution implements general spherically symmetric
distributions, i.e. starting from a random variable L distributed
according to a univariate distribution radDistr with positive support
serving as radial distribution, and an independent random variable U distributed
uniformly on the dim dimensional sphere, this is the
distribution of LU.
Objects from the Class
Objects could in principle be created by calls to new, but more
frequently you would create them via the generating function
SphericalDistribution.
Slots
imgObject of class
"Reals".paramObject of class
"SphericalParameter".rfunction with argument
n; random number generatordoptional function; in case it exists: the density of the distribution
poptional function; in case it is non-null: the cdf of the distribution evaluated on rectangles, i.e. if a random variable
Xis distributed according to anobjectof class"SphericalDistribution", forqa matrix of dimensiond \times np(object)(q)returns, for each of thencolumnsP(X_i\leq q_i,\;i=1,\ldots,d).qoptional function; in case it is non-null: the quantile of the distribution evaluated on rectangles, i.e. if a random variable
Xis distributed according to anobjectof class"SphericalDistribution", forpa vector of lengthn, returns, for each of thencomponents the infinimal numberq_jsuch thatP(X_i\leq q_j,\;i=1,\ldots,d)\ge p_j.radDistran object of class
UnivariateDistributionwith positive support, i.e.p(radDistr)(0)==0; the radial distribution..withArithlogical: used internally to issue warnings as to interpretation of arithmetics
.withSimlogical: used internally to issue warnings as to accuracy
.logExactlogical: used internally to flag the case where there are explicit formulae for the log version of density, cdf, and quantile function
.lowerExactlogical: used internally to flag the case where there are explicit formulae for the lower tail version of cdf and quantile function
Symmetryobject of class
"SphericalSymmetry"about centerloc; used internally to avoid unnecessary calculations.
Extends
Class "MultivariateDistribution", directly.
Class "Distribution", by class "MultivariateDistribution".
Methods
- dimension
signature(object = "SphericalDistribution"): returns the dimension of the distribution.- dim
signature(object = "SphericalDistribution"): synonym todimension.- location
signature(object = "SphericalDistribution"): helper function to have the same interface as class"EllipticalDistribution"; always returns0(in the respective dimension).- scale
signature(object = "SphericalDistribution"): helper function to have the same interface as class"EllipticalDistribution"; always returns the unit matrix (in the respective dimension).- radDistr
signature(object = "SphericalDistribution"): access method for slotradDistr.- rRd
signature(object = "SphericalDistribution"): wrapped access method for slotrof slotradDistr. From version 2.7 on, replaces defunctr.Rdto avoid clashes with S3-method inheritance.- dRd
signature(object = "SphericalDistribution"): wrapped access method for slotdof slotradDistr. From version 2.7 on, replaces defunctd.Rdto avoid clashes with S3-method inheritance.- pRd
signature(object = "SphericalDistribution"): wrapped access method for slotpof slotradDistr. From version 2.7 on, replaces defunctp.Rdto avoid clashes with S3-method inheritance.- qRd
signature(object = "SphericalDistribution"): wrapped access method for slotqof slotradDistr. From version 2.7 on, replaces defunctq.Rdto avoid clashes with S3-method inheritance.- plotRd
signature(x = "SphericalDistribution"): utility; callsplotfor slotradDistr. From version 2.6 on, replaces deprecatedplot.Rdto avoid clashes with S3-method inheritance.- plot
signature(x = "SphericalDistribution", y = "missing"): plot for an spherically symmetric distribution; seeplot-methods.- show
signature(object = "SphericalDistribution"):showmethod for spherically symmetric distributions.- showobj
signature(object = "SphericalDistribution"):showobjmethod for spherically symmetric distributions.- E
signature(object = "SphericalDistribution", fun = "missing", cond = "missing"): expectation of an elliptically symmetric distribution; exact.- var
signature(x = "SphericalDistribution"): expectation of an elliptically symmetric distribution; exact.- coerce
signature(from = "SphericalDistribution", to = "EllipticalDistribution"): create aEllipticalDistributionobject from a spherically symmetric distribution.+signature(e1 = "SphericalDistribution", e2 = "numeric"): affine linear transformation; exact.-signature(e1 = "SphericalDistribution", e2 = "numeric"): affine linear transformation; exact.-signature(e1 = "SphericalDistribution", e2 = "missing"): affine linear transformation; exact.*signature(e1 = "SphericalDistribution", e2 = "numeric"): affine linear transformation; exact.+signature(e1 = "numeric", e2 = "SphericalDistribution"): affine linear transformation; exact.-signature(e1 = "numeric", e2 = "SphericalDistribution"): affine linear transformation; exact.*signature(e1 = "numeric", e2 = "SphericalDistribution"): affine linear transformation; exact.%*%signature(e1 = "numeric", e2 = "SphericalDistribution"): affine linear transformation; exact.
Author(s)
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
Examples
new("SphericalDistribution") ## better use SphericalDistribution()