MdsJackknife: leave-one-out refits rotated to a common comparison
configuration, with stability, cross-validity and dispersion (De Leeuw and
Meulman 1986), as smacof::jackmds. MdsBootstrap: row
resampling of an \(N \times n\) data matrix whose columns are the MDS
objects, dissimilarities \(\sqrt{1 - r}\) (Pearson or Spearman) or
Euclidean, each refit Procrustes-fitted onto the original; per-object
covariance matrices, stress percentile interval and stability (Jacoby and
Armstrong 2014), as smacof::bootmds. method = "standard"
uses the full sum in the jackknife Procrustes update and Frobenius norms;
method = "smacof" reproduces smacof 2.1 (update over later objects
only, base::norm's default one-norm). Identical to the Python arm
morie.fn.mdsext; resamples are 1-based here.
Usage
MdsJackknife(
delta,
ndim = 2,
type = "ratio",
method = "standard",
eps = 1e-06,
itmax = 100L
)
MdsBootstrap(
data,
ndim = 2,
method_dat = "pearson",
nrep = 100L,
alpha = 0.05,
type = "ratio",
method = "standard",
seed = 1,
resamples = NULL
)Arguments
- delta
Dissimilarity matrix.
- ndim
Dimensions.
- type
SMACOF type (see
SmacofMds).- method
"standard"or"smacof".- eps, itmax
Jackknife convergence tolerance and iteration limit.
- data
Data matrix, columns are objects.
- method_dat
"pearson","spearman"or"euclidean".- nrep
Bootstrap replicates.
- alpha
Stress interval level.
- seed
Philox seed.
- resamples
Optional list of row-index vectors.
