smacof (version 2.0-0)

jackknife: SMACOF Jackknife

Description

These methods perform a SMACOF Jackknife and plot the corresponding solution.

Usage

# S3 method for smacofB
jackknife(object, eps = 1e-6, itmax = 100, verbose = FALSE)

# S3 method for smacofJK plot(x, plot.dim = c(1,2), hclpar = list(c = 50, l = 70), col.p, col.l, plot.lines = TRUE, main, xlab, ylab, xlim, ylim, asp = 1, ...)

Arguments

object

Object of class "smacofB", i.e., an MDS solution from smacofSym()

itmax

Maximum number of iterations

eps

Convergence criterion

verbose

If TRUE, intermediate stress is printed out

x

Object of class "smacofJK"

plot.dim

Vector with dimensions to be plotted.

hclpar

Chroma and luminance to be used for HCL colors (further details see rainbow_hcl)

col.p

Point color. If omitted, hcl colors will be used; if specified, the corresponding (single) color will be used for plotting.

col.l

Line color. If omitted, hcl colors will be used; if specified, the corresponding (single) color will be used for plotting.

plot.lines

If TRUE, the Jackknife configurations are plotted are connected with their centroid

main

Plot title.

xlab

Label of x-axis.

ylab

Label of y-axis.

xlim

Scale x-axis.

ylim

Scale y-axis.

asp

Aspect ratio.

Further plot arguments passed: see plot for detailed information.

Value

smacof.conf

SMACOF configurations

jackknife.conf

An array of n-1 configuration matrices for each Jackknife MDS solution

comparison.conf

Centroid Jackknife configurations (comparison matrix)

stab

Stability measure

cross

Cross validity

disp

Dispersion

loss

Value of the loss function

ndim

Number of dimensions

call

Model call

niter

Number of iterations

nobj

Number of objects

Details

In order to examine the stability solution of an MDS, a Jackknife on the configurations can be performed (see de Leeuw & Meulman, 1986) and plotted. The plot shows the jackknife configurations which are connected to their centroid. In addition, the original smacof configuration (transformed through Procrustes) is plotted. The Jackknife function itself returns also a stability measure (as ratio of between and total variance), a measure for cross validity, and the dispersion around the original smacof solution.

References

De Leeuw, J., & Meulman, J. (1986). A special jackknife for multidimensional scaling. Journal of Classification, 3, 97-112.

See Also

bootmds

Examples

Run this code
# NOT RUN {
## symmetric smacof
data <- na.omit(PVQ40[,1:5])
diss <- dist(t(data))   ## Euclidean distances 
fit <- mds(diss) 
res.jk <- jackknife(fit)

plot(res.jk, col.p = "black", col.l = "gray")
plot(res.jk, hclpar = list(c = 80, l = 40))
plot(res.jk, hclpar = list(c = 80, l = 40), plot.lines = FALSE)

# }

Run the code above in your browser using DataLab