Determines the LP basis for a given parametric prior distribution.
gLP.basis(x, g.par, m, con.prior, ind)
x
values (integer or vector) from 0 to 1.
Estimated parameters for specified prior distribution (i.e beta prior: \(\alpha\) and \(\beta\); normal prior: \(\mu\) and \(\tau^2\); gamma prior: \(\alpha\) and \(\beta\)).
Number of LP-Polynomial basis.
Specified conjugate prior distribution for basis functions. Options are "Beta"
, "Normal"
, and "Gamma"
.
Default is NULL which returns matrix with \(m\) columns that consists of LP-basis functions; user can provide a specific choice through ind
.
Matrix with m
columns of values for the LP-Basis functions evaluated at x
-values.
Mukhopadhyay, S. and Fletcher, D., 2018. "Bayesian Modeling via Goodness-of-Fit," Technical report, https://arxiv.org/abs/1802.00474 .
Mukhopadhyay, S., 2017. "Large-Scale Mode Identification and Data-Driven Sciences," Electronic Journal of Statistics, 11(1), pp.215-240.
Mukhopadhyay, S. and Parzen, E., 2014. "LP Approach to Statistical Modeling," arXiv: 1405.2601.