poly_orthonormal_basis {admix} | R Documentation |
Build an orthonormal basis to decompose some given probability density function
Description
Build an orthonormal basis, needed to decompose the probability density function (pdf) of the unknown component from the admixture, depending on the support under consideration.
Usage
poly_orthonormal_basis(
support = c("Real", "Integer", "Positive", "Bounded.continuous", "Bounded.discrete"),
deg,
x,
m
)
Arguments
support |
Support of the random variables implied in the two-component mixture distribution. |
deg |
Degree up to which the basis is built. |
x |
(NULL by default) Only used when support is 'Integer'. The point at which the polynomial value will be evaluated. |
m |
(NULL by default) Only used when support is 'Integer'. Corresponds to the mean of the reference measure, i.e. Poisson(m). |
Value
the orthonormal polynomial basis used to decompose the density of the unknown component of the mixture distribution.
Author(s)
Xavier Milhaud xavier.milhaud.research@gmail.com
Examples
poly_orthonormal_basis(support = 'Real', deg = 10, x = NULL, m = NULL)
[Package admix version 2.1-3 Index]