ilstpfit(data, coords, direction, max.dist = Inf, mpoints = 20,
tolerance = pi/8, q = 10, echo = FALSE, ..., tpfit)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 minimize the discrepancies between the empirical transiogram (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
# one-dimensional MC model
ilstpfit(ACM$MAT3, ACM[, 1:3], c(0,0,1), 100)Run the code above in your browser using DataLab