Description Usage Arguments Details Value See Also Examples
getCovMat
returns a covariance matrix (with nugget).
1 | getCovMat(V, R, sig2)
|
V |
A positive vector of length n. |
R |
An n x n correlation matrix. |
sig2 |
A positive scalar representing the variance of the noise (or nugget). |
This creates a covariance matrix, C, where
C = V^{0.5}RV^{0.5} + σ^2 I
where V is a matrix with variances on the diagonal. In the bcgp
setting, R is a correlation matrix resulting from
combineCorMats
, V is a vector of process variances,
and sig2 is the variance of the noise (or nugget).
An n x n covariance matrix
Other correlation and covariance functions: combineCorMats
,
getCorMat
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.