tpfit(data, coords, direction, tolerance = pi/8, mle = FALSE)tpfit is returned. The function print.tpfit is used to print the fitted model. The object is a list with the following components:To calculate entries of the transition rate matrix, we need to compute the mean lengths and the embedded transition probabilities.
By the use of the mean lengths, diagonal entries of $R$ are computed as $$\hat{r}_{kk} = \frac{1}{\bar{L}_k},$$ where $\bar{L}_k$ is the mean length of the $k$-th category.
The off-diagonal transition rates of the matrix $R$ are estimated by the use of embedded transition probabilities and mean lengths: $$\hat{r}_{jk} = \frac{\pi_{jk}}{\bar{L}_k}, \quad \forall j \neq k,$$ where $\pi_{jk}$ is a specific embedded transition probability.
When some entries of the matrix $R$ are not identifiable, it is suggested to vary the tolerance coefficient or to set to TRUE the input argument mle.
Sartore, L. (2010) Geostatistical models for 3-D data. M.Phil. thesis, Ca' Foscari University of Venice.
predict.tpfit, print.tpfit, multi.tpfit, transiogramdata(ACM)
# Estimate the parameters of a
# one-dimensional MC model
tpfit(ACM$MAT5, ACM[, 1:3], c(0, 0, 1))Run the code above in your browser using DataLab