Description Usage Arguments Details Value Author(s) References See Also Examples
Hartmann (1992) showed in a Monte Carlo study that Slater distances
(see distanceSlater
) based on random grids, for
which Slater coined the expression quasis, have a skewed distribution,
a mean and a standard deviation depending on the number
of constructs elicited. He suggested a linear transformation (z-transformation)
which takes into account the estimated (or expected) mean and
the standard deviation
of the derived distribution to standardize Slater distance scores
across different grid sizes. 'Hartmann distances' represent
a more accurate version of 'Slater distances'. Note that Hartmann distances
are multiplied by -1. Hence, negative Hartmann values represent
dissimilarity, i.e. a big Slater distance.
The function distanceHartmann
conducts a small Monte Carlo simulation for the supplied grid.
I. e. a number of quasis of the same size and with the same scale range
as the grid under investigation are generated. A distrubution of
Slater distances derived from the quasis is calculated and used for
Hartmann's standardization.
It is also possible to return the quantiles of the sample distribution
and only the element distances consideres 'significant'
according to the quantiles defined.
1 2 3 |
x |
|
rep |
Number of random grids to generate to produce
sample distribution for Slater distances
(default is |
meantype |
The type of mean to use for standardization.
|
quant |
The propabities of the quantiles from the
Slater distance distribution that will be returned.
The default is |
significant |
Whether to only show values that are outside the quantiles
defined in |
trim |
The number of characters a element names are trimmed to (default is
|
indexcol |
Logical. Whether to add an extra index column so the
column names are indexes instead of element names. This option
renders a neater output as long element names will stretch
the output (default is |
prob |
The probability of each rating value to occur.
If |
digits |
Numeric. Number of digits to round to (default is
|
output |
The output type. The default ( |
progress |
Whether to show a progress bar (default is |
upper |
Logical. Whether to display only upper part of the distance matrix
(default |
The 'Hartmann distance' is calculated as follows (Hartmann 1992, p. 49).
D = -1 (D_slater - M_c / sd_c)
Where D_slater denotes the Slater distances of the grid, M_c the sample distribution's mean value and sd_c the sample distributions's standard deviation.
A matrix containing Hartmann distances (output=1
and output=2
)
or a list (output=3
) containing:
hartmann |
matrix of Hartmann distances |
h.quantiles |
quantiles for Hartmann distances |
h.vals |
random values of Hartmann |
h.sd |
standard deviation of distribution of Hartmann values |
slater |
matrix of Slater distances |
sl.quantiles |
quantiles for Slater distances |
sl.vals |
vector of all Slater distances |
ls.sd |
standard deviation of random Slater distances |
Mark Heckmann
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
distanceHartmann(bell2010)
distanceHartmann(bell2010, trim=40, index=T, sig=T)
### histogram of Slater distances and indifference region
d <- distanceHartmann(bell2010, out=0)
hist(d$sl.vals, breaks=100)
abline(v=d$sl.quant, col="red")
### histogram of Hartmann distances and indifference region
hist(d$h.vals, breaks=100)
abline(v=d$h.quant, col="red")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.