logLikeRcpp | R Documentation |
Compute the log-likelihood for a STAR model. The code here assumes
that the transformed real-valued process (z_star) has conditionally independent
components with means mu
and standard deviations sigma
.
logLikeRcpp(g_a_j, g_a_jp1, mu, sigma)
g_a_j |
|
g_a_jp1 |
|
mu |
|
sigma |
|
loglike scalar log-likelihood value
This function uses Rcpp
for computational efficiency.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.