Check if truncation time is appropriate relative to the maximum delay
Source:R/check.R
check_truncation.Rd
This function checks if the truncation time D is appropriate relative to the
maximum delay. If D is much larger than necessary, it suggests
considering setting it to Inf
for better efficiency with minimal accuracy
cost.
See also
Distribution checking functions
check_dprimary()
,
check_pdist()
Examples
check_truncation(delays = c(1, 2, 3, 4), D = 10, multiplier = 2)
#> The truncation time D (10) is larger than 2 times the maximum observed delay (4). Consider setting D to Inf for better efficiency with minimal accuracy cost for this case.