expectation2_gRcpp | R Documentation |
Compute the conditional expectation of Y^2 for a STAR process Y under a generic link function g.
expectation2_gRcpp(g_a_j, g_a_jp1, mu, sigma, Jmax)
g_a_j |
|
g_a_jp1 |
|
mu |
|
sigma |
|
Jmax |
|
y2_hat m x 1
vector of conditional expectations
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.