Description Usage Arguments Value Author(s) See Also Examples
Calculation of probability intervals, and their maximal and minimal entropy
1 2 3 |
table |
integer vector of absolute frequencies |
iptype |
method for calculating the probability
intervals of |
entropymin |
Calculation of one distribution with minimal
entropy, including the actual value of the minimal entropy
(default: |
entropymax |
Calculation of the distribution with maximal
entropy, including the actual value of the maximal entropy
(default: |
correction |
Entropy correction to be carried out,
ignorned if |
s |
Hyperparamter of the IDM ( |
A list with 5 named entries:
probint |
matrix with 3 rows and |
maxEntDist |
The (unique) probability distribution with maximal entropy |
maxEntCorr |
The value of the (corrected) maximal entropy |
minEntDist |
A probability distribution with minimal entropy, as it is not necessarily unqiue there may be others |
minEntCorr |
The value of the (corrected) minimal entropy |
Paul Fink Paul.Fink@stat.uni-muenchen.de
1 2 3 4 5 6 7 8 9 10 11 | ## Artificial vector of absolute frequencies
obs <- c(a = 1,b = 2, c = 10, d = 30, e = 5)
## probability interval by NPI, including only information on the
## mininum entropy distribution, using no entropy correction
probInterval(obs, iptype = "NPI", entropymax = FALSE)
## probability interval by IDM, including information on the
## minimum and maximum entropy distribution with s = 2 and correction
## according to 'strobl'
probInterval(obs, iptype = "IDM", correction = "strobl", s = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.