Ad hoc methods
For R Version <2.3.0< code=""> ad hoc methods are provided for slots q, r if ncp!=0;
for R Version >=2.3.0 the methods from package stats are used.2.3.0<>Objects from the Class
Objects can be created by calls of the form Beta(shape1, shape2).
This object is a beta distribution.Slots
img- Object of class
"Reals":
The space of the image of this distribution has got dimension 1 and the name "Real Space". param- Object of class
"BetaParameter":
the parameter of this distribution (shape1 and shape2), declared at its instantiation r- Object of class
"function":
generates random numbers (calls function rbeta) d- Object of class
"function":
density function (calls function dbeta) p- Object of class
"function":
cumulative function (calls function pbeta) q- Object of class
"function":
inverse of the cumulative function (calls function qbeta) .withArith- logical: used internally to issue warnings as to
interpretation of arithmetics
.withSim- logical: used internally to issue warnings as to
accuracy
.logExact- logical: used internally to flag the case where
there are explicit formulae for the log version of density, cdf, and
quantile function
.lowerExact- logical: used internally to flag the case where
there are explicit formulae for the lower tail version of cdf and quantile
function
Symmetry- object of class
"DistributionSymmetry";
used internally to avoid unnecessary calculations.
Extends
Class "AbscontDistribution", directly.
Class "UnivariateDistribution", by class "AbscontDistribution".
Class "Distribution", by class "AbscontDistribution".Methods
- initialize
signature(.Object = "Beta"):
initialize method - shape1
signature(object = "Beta"):
returns the slot shape1 of the parameter of the distribution - shape1<-
signature(object = "Beta"):
modifies the slot shape1 of the parameter of the distribution - shape2
signature(object = "Beta"):
returns the slot shape2 of the parameter of the distribution - shape2<-
signature(object = "Beta"):
modifies the slot shape2 of the parameter of the distribution -signature(e1 = "numeric", e2 = "Beta") if ncp(e2)==0 and e1 == 1,
an exact (central) Beta(shape1 = shape2(e2), shape2 = shape1(e2)) is returned, else
the default method is used; exact