View source: R/auxiliary_functions.R
BaseNorm | R Documentation |
Computes the k-monotone discrete splines from Lefevre and Loisel (2013).
BaseNorm(k, J)
k |
Degree of monotony |
J |
maximum support of the splines |
matrix Q
with J+1 rows and J+1 columns with Q(i,j)=Q_j^k(i-1)=C_{j-i+k-1}^{k-1}
, where C
represents the binomial coefficient.
Jade Giguelay
Giguelay, J., (2016), Estimation of a discrete distribution under k-monotony constraint, in revision, (arXiv:1608.06541)
Lefevre C., Loisel S. (2013) <DOI:10.1239/jap/1378401239> On multiply monotone distributions, continuous or discrete, with applications, Journal of Applied Probability, 50, 827–847.
rSpline, dSpline, rmixSpline, dmixSpline
# Computing 3-monotone splines with maximum support 8
Q=BaseNorm(3, 8)
matplot(Q, type="l", main="3-monotone splines with maximum support 8");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.