multi.ilstpfit(data, coords, max.dist = Inf, mpoints = 20,
tolerance = pi/8, rotation = NULL, q = 10,
echo = FALSE, ..., mtpfit)multi.tpfit is returned. The function print.multi.tpfit is used to print the fitted model. The object is a list with the following components:The ellipsoidal interpolation is given by $$\vert r_{jk} \vert = \sqrt{\sum_{i = 1}^d \left( \frac{h_i}{\Vert h \Vert} r_{jk, \mathbf{e}_i} \right)^2},$$ where $\mathbf{e}_i$ is a standard basis for a $d$-D space.
If $h_i < 0$ the respective entries $r_{jk, \mathbf{e}_i}$ are replaced by $r_{jk, -\mathbf{e}_i}$, which is computed as $$r_{jk, -\mathbf{e}_i} = \frac{p_k}{p_j} \, r_{kj, \mathbf{e}_i},$$ where $p_k$ and $p_j$ respectively denote the proportions for the $k$-th and $j$-th categories. In so doing, the model may describe the anisotropy of the process.
In particular, to estimate entries of transition rate matrices computed for the main axial directions, we need to minimize the discrepancies between the empirical transiograms (see transiogram) and the predicted transition probabilities.
By the use of the iterated least squares, the diagonal entries of $R$ are constrained to be negative, while the off-diagonal transition rates are constrained to be positive. Further constraints are considered in order to obtain a proper transition rates matrix.
predict.tpfit, print.tpfit, multi.tpfit, transiogramdata(ACM)
# Estimate the parameters of a
# multidimensional MC model
multi.ilstpfit(ACM$MAT3, ACM[, 1:3], 100)Run the code above in your browser using DataLab