holdback {MLID} | R Documentation |
Holdback scores
Description
Calculates the holdback scores for a multilevel index of dissimilarity
Usage
holdback(mlm)
Arguments
mlm |
an object of class |
Details
For the index of dissimilarity (ID), the residuals are the differences
between the share of the Y population and the share of the X population per
neighbourhood. For the multilevel index, the residuals are estimated at and
partitioned between each level of the model. The holdback scores take each
level in the model in turn and set the residuals (the effects) at that
level to zero, then recalculating the ID on that basis and recording
the percentage change in the original value that occurs. The holdback
scores are calculated automatically as part of the function id
and can be viewed through print(index)
, where index
is the
object returned by the function, or as attr(index, "holdback")
.
Value
a numeric vector containing the holdback scores