loglik | R Documentation |
loglik
computes the log-likelihood of a state-space model of specified
Q/sig^2, P1/sig^2, theta1
.
loglik(X, y, Qstar, use, p1, train_theta1, train_Q, mode = "gaussian")
X |
explanatory variables |
y |
time series |
Qstar |
the ratio |
use |
the availability variable |
p1 |
coefficient for |
train_theta1 |
training set for estimation of |
train_Q |
time steps on which the log-likelihood is computed |
mode |
(optional, default |
a numeric value for the log-likelihood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.