mvr
and internally by MeanVarReg
subroutine.pooled.mean(x, block)
numeric
vector
or matrix
with variables in columns.vector
or factor
grouping/blocking variable.
Must Have length equal to the sample size.
All group sample sizes must be greater than 1.numeric
vector
of size the dimensionality where each entry is the variable-wise pooled group sample mean.block
describes a unique sample group, ordinary sample mean will be computed.pooled.mean
Pooled group sample meanmvr
Mean-Variance Regularization and Variance Stabilization.MeanVarReg
Mean-Variance Regularization Core Function.