get.matrix.W | R Documentation |
get.matrix.W return the matrix of W = V x C x V for the treatment of heteroscedastic and AR(1) errors see Wang (2011) section 5.3 for further details
get.matrix.W(weight.hetero, nMO, nP, rho)
weight.hetero |
output of |
nMO |
number of possible simulation chains (missing and non-missing) |
nP |
number of continuous predictors (e.g. future times) |
rho |
AR(1) correlation parameter in (-1,1) |
matrix n x n where coden is the total number of predictions (all the predictions for all the possible simulation chains)
Guillaume Evin
Wang, Y. 2011. 'Spline Smoothing with Heteroscedastic and/or Correlated Errors.' Smoothing Splines. Chapman and Hall/CRC. https://doi.org/10.1201/b10954-11.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.