distanceNormalized(x, reps = 1000, prob = NULL, progress = TRUE,
distributions = TRUE)
repgrid
object.1000
). Note that
a lot of samples may take a while to calculate.NULL
(default) the distribution is uniform.
The number of values must match the length of the rating scale.TRUE
) (for method="simulate"
).
May be useful when the distribution is estimated on the basis
of many quasis.FALSE
as it will quickly boost the object size."arguments"
mean
and sd
of Slater distribution."quantiles"
"distributions"
distributions=TRUE
.The code for the calculation of the optimal lambda was written by Ioannis Kosmidis.
distanceNormalize
applies a Box-Cox (1964) transformation to the
Hartmann distances in order to remove the skew of the Hartmann distance
distribution. The normalized values show to have more stable cutoffs
(quantiles) and better properties for comparison across grids of different
size and scale range.
The function distanceNormalize
can also return
the quantiles of the sample distribution and only the element distances
consideres 'significant' according to the quantiles defined.Hartmann, A. (1992). Element comparisons in repertory grid technique: Results and consequences of a Monte Carlo study. International Journal of Personal Construct Psychology, 5(1), 41-56.
Heckmann, M. (2012). Standardizing inter-element distances in grids - A revision of Hartmann's distances, 11th Biennal Conference of the European Personal Construct Association (EPCA), Dublin, Ireland, Paper presentation, July 2012.
Slater, P. (1977). The measurement of intrapersonal space by Grid technique. London: Wiley.
distanceHartmann
and distanceSlater
.### basics ###
distanceNormalized(bell2010)
n <- distanceNormalized(bell2010)
n
# printing options
print(n)
print(n, digits=4)
# 'significant' distances only
print(n, p=c(.05, .95))
# access cells of distance matrix
n[1,2]
### advanced ###
# histogram of Slater distances and indifference region
n <- distanceNormalized(bell2010, distributions=TRUE)
l <- attr(n, "distributions")
hist(l$bc, breaks=100)
Run the code above in your browser using DataLab