Calculate cross-partition statistics between two GLS partitions
crosspart_GLS(
xxi,
xxj,
xxi0,
xxj0,
invChol_i,
invChol_j,
Vsub,
nug_i,
nug_j,
df1,
df2,
small = TRUE,
ncores = NA
)crosspart_GLS returns a list of cross-partition statistics.
If small = FALSE, the list contains the following elements
If small = FALSE, the list only contains the necessary elements
rcoefij, rSSRij, and rSSEij.
numeric matrix xx from partition i
numeric matrix xx from partition j
numeric matrix xx0 from partition i
numeric matrix xx0 from partition j
numeric matrix invcholV from partition i
numeric matrix invcholV from partition j
numeric variance matrix for Xij (upper block)
nugget from partition i
nugget from partition j
first degree of freedom
second degree of freedom
logical: if TRUE, only return rcoefij, rSSRij,
and rSSEij
an optional integer indicating how many CPU threads to use for matrix calculations.
Other partitionedGLS:
MC_GLSpart(),
sample_partitions()