categ3beta: compute a univariate categ distribution

Description Usage Arguments Value Examples

Description

(ba) from a beta(a,b) distribution operates an approximate equal spaced discretization with n classes

Usage

1
categ3beta(a=1, b=1, n=3, xname=form3names(n))

Arguments

a

First parameter for the Beta distribution.

b

Second parameter for the Beta distribution.

n

Number of classes to use.

xname

names to provide for the probability vector.

Value

a probability vector of size n

Examples

1
2
 rebastaba3k("RESET"); # needed only for R checking, to be forgotten
 categ3beta(a=1, b=9, n=5);

rebastaba documentation built on May 2, 2019, 5:24 p.m.