Description Usage Arguments Value Examples
View source: R/functions-code.R
This function computes the marginal predictive loglikelihood of the observed data given a particular value of alpha, and the time point to begin computing marginal predictive loglikelihoods.
1 | loglik.norm.LR.Rcpp(y, X = FALSE, alpha, init)
|
y |
T-length time series vector. y[1] represents the beginning of the time eries. |
X |
[T x p] dimensional matrix of covariates. This should not include the intercept column. If X is FALSE, intercept model is run. |
alpha |
PWD parameter we are calculating the marginal predictive loglikelihood for. |
init |
integer representing the time point to begin computing marginal predictive loglikelihood. |
Return a scalar value representing the marginal predictive loglikelihood of the data given alpha.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.