Description Usage Arguments References

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.

1 | ```
ind_fun_NLfP(ind2, y, phi, n, p, K, IP.phi, C.prior1, tuning)
``` |

`ind2` |
the index of covariates in a model |

`y` |
the response variable |

`phi` |
the B-spline basis |

`n` |
the sample size |

`p` |
the total number of covariates |

`K` |
the degree of freedom for the B-spline basis |

`IP.phi` |
the projection matrix on the null space; Q matrix in Shin and Bhattacharya (2020+) |

`C.prior1` |
the logarithm of the normalizing constant of the nonlocal funcitonal prior |

`tuning` |
a value of the tuning parameter |

Shin, M. and Bhattacharya, A.(2020) Nonlocal Functional Priors for Nonparametric Hypothesis Testing and High-dimensional Model Selection.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.