gLP.basis {BayesGOF} | R Documentation |
Determine LP basis functions for prior distribution g
Description
Determines the LP basis for a given parametric prior distribution.
Usage
gLP.basis(x, g.par, m, con.prior, ind)
Arguments
x |
|
g.par |
Estimated parameters for specified prior distribution (i.e beta prior: |
m |
Number of LP-Polynomial basis. |
con.prior |
Specified conjugate prior distribution for basis functions. Options are |
ind |
Default is NULL which returns matrix with |
Value
Matrix with m
columns of values for the LP-Basis functions evaluated at x
-values.
Author(s)
Subhadeep Mukhopadhyay, Doug Fletcher
References
Mukhopadhyay, S. and Fletcher, D., 2018. "Generalized Empirical Bayes via Frequentist Goodness of Fit," Nature Scientific Reports, 8(1), p.9983, https://www.nature.com/articles/s41598-018-28130-5.
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.