Description Objects from the Class Slots Methods Author(s) Examples

Objects of class /empirical/ gives the possibility to store in a standardized
way, all necessary pieces of information about the empirical definition
of a probability distribution by means of weights at given values
and/or a continuous density linearly piecewise defined. These
distributions can easily be truncated only by changing their
support. The final user does not have to bother about real (summing to
one) probability : the `normalize8empirical`

function was written
for this purpose.

Objects can be created by calls of the form `new("empirical",...)`

.

`des`

:Object of class

`"des"`

describing the object.`sup`

:Object of class

`"numeric(2)"`

providing the support for the random variable.`repa`

:Object of class

`"numeric(2)"`

giving the proportion of the discrete (`@repa[1]`

) part and the continuous (`@repa[2]`

) one.`xw`

:A matrix with two columns, each row being dedicated to a weight:

`@xw[,1]`

for the random variable values and`@xw[,2]`

for the associated non negative weights.`xy`

:A matrix with two columns, each row being dedicated to a point of the continuous density:

`@xw[,1]`

for the random variable values and`@xw[,2]`

for the associated value of the density. The first and last value of the density must be zero

- print:
see

`print8empirical`

for the details.- plot:
see

`plot8empirical`

for the details.

Jean-Baptiste Denis

1 2 | ```
rbsb3k("RESET");
print.default(rbsb.epi5);
``` |

rbsb documentation built on May 31, 2017, 1:45 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.