ss | R Documentation |
Calculates the maximum correlations possible consistent with the roughness parameters
ss(A, B, Ainv, Binv)
ss_matrix(hp,useM=TRUE)
ss_matrix_simple(hp,useM=TRUE)
A,B |
Positive-definite matrices (roughness parameters) |
Ainv,Binv |
The inverses of |
hp |
An object of class |
useM |
Boolean, with default |
Function ss()
calculates the maximum possible correlation
between observations of two Gaussian processes at the same point
(equation 24 of the vignette):
| \left( \frac12B_r+\frac12B_s\vphantom\frac12B_r^-1 \right)\left( \frac12B_r^-1+\frac12B_s^-1 \right) \right|^-1/4 equation 24 of the vignette
Functions ss_matrix()
and ss_matrix_simple()
calculate
the maximum covariances among the types of object specified in the
hp
argument, an object of class mhp
. Function
ss_matrix()
is the preferred form; function
ss_matrix_simple()
is a less efficient, but more transparent,
version. The two functions should return identical output.
Function ss()
returns a scalar, ss_matrix()
a matrix
of covariances.
Thanks to Stephen Stretton for a crucial insight here
Robin K. S. Hankin
data(mtoys)
ss_matrix(toy_mhp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.