a log-marginal likelhood value of a model, based on the peMoM prior on the regression coefficients and inverse gamma prior (0.01,0.01) on the variance.
ind_fun_NLfP(ind2, y, phi, n, p, K, IP.phi, C.prior1, tuning)
the index of covariates in a model
the response variable
the B-spline basis
the sample size
the total number of covariates
the degree of freedom for the B-spline basis
the projection matrix on the null space; Q matrix in Shin and Bhattacharya (2020+)
the logarithm of the normalizing constant of the nonlocal funcitonal prior
a value of the tuning parameter
Shin, M. and Bhattacharya, A.(2020) Nonlocal Functional Priors for Nonparametric Hypothesis Testing and High-dimensional Model Selection.