Class for sums of two Bernstein functions
Source:R/s4-SumOfBernsteinFunctions.R
SumOfBernsteinFunctions-class.RdBernstein functions are stable under addition, i.e. if \(\psi_1\) and \(\psi_2\) are two Bernstein functions, then $$ x \mapsto \psi_1(x) + \psi_2(x) , x>0, $$ is also a Bernstein function.
Slots
firstThe first summand (derived from BernsteinFunction).
secondThe second summand (derived from BernsteinFunction).
See also
calcIterativeDifference(), calcShockArrivalIntensities(),
calcExShockArrivalIntensities(), calcExShockSizeArrivalIntensities(),
calcMDCMGeneratorMatrix(), rextmo(), rpextmo()
Other Bernstein function classes:
AlphaStableBernsteinFunction-class,
BernsteinFunction-class,
CompleteBernsteinFunction-class,
CompositeScaledBernsteinFunction-class,
ConstantBernsteinFunction-class,
ConvexCombinationOfBernsteinFunctions-class,
ExponentialBernsteinFunction-class,
GammaBernsteinFunction-class,
InverseGaussianBernsteinFunction-class,
LevyBernsteinFunction-class,
LinearBernsteinFunction-class,
ParetoBernsteinFunction-class,
PoissonBernsteinFunction-class,
ScaledBernsteinFunction-class
Other Bernstein function transformer classes:
CompositeScaledBernsteinFunction-class,
ConvexCombinationOfBernsteinFunctions-class,
ScaledBernsteinFunction-class
Examples
# Create an object of class SumOfBernsteinFunctions
SumOfBernsteinFunctions()
#> An object of class "SumOfBernsteinFunctions"
#> (invalid or not initialized)
SumOfBernsteinFunctions(
first = LinearBernsteinFunction(scale = 0.2),
second = AlphaStableBernsteinFunction(alpha = 0.5)
)
#> An object of class "SumOfBernsteinFunctions"
#> - first:
#> An object of class "LinearBernsteinFunction"
#> - scale: 0.2
#> - second:
#> An object of class "AlphaStableBernsteinFunction"
#> - alpha: 0.5