Sorry if I wasn't clear, these data have been a challenge to work with, so I've been taking some out of the ordinary approaches...
I took stationary data (13 collars with 20,240 data points) and used the distance from the median location as a response variable in a glm gamma model - our error is extremely skewed with long tail, higher than is typical for most GPS collars I've seen, more similar to Argos data. I used a number of metrics and their interactions as predictors. Some metrics were collar-reported DOP, fix type and timed out status, and others were metrics I derived, such as estimated elevation error ( |GPS reported elevation - the DEM estimated elevation| ) and a categorical flag of suspect points based on turning angles and the ratio of distance to the prior point : distance to next point (indicative of an out-and-back spiking pattern).
I found it hard to incorporate the interaction of more than just a couple variables using the ctmm package in a straightforward way, which is why I built this model externally. And interactions seemed to help because no single or even couple of metrics were coming anywhere close to capturing the error, even if I removed the most extreme cases from the stationary data before attempting to fit error models.
The top glm model did have a tendency to over-predict, and some predictions (n = 21) had such extreme values that I capped predictions that were above the 0.999 quantile to the value of the 0.999 quantile cutoff. After capping the max prediction, the mean |predicted - actual| was 53m with SD 716m, but the median |predicted - actual| was only 2.1m.
I then assigned the capped predicted distance in meters from the top glm model to the stationary data's HDOP column and ran uere.fit in ctmm, which gave that uere estimate of 1.29 and Z^2 of 1.9, and this was by far the best error model when I compared it to any other uere.fit model estimated from the stationary data using simpler combinations of the same metrics. But when I applied the approach (assign capped glm predictions to HDOP, then assign UERE estimated from stationary data) to the example animal, it produced the variogram fit with the curve extending way beyond the data .
I'll update to the github version and see what effect this has on that variogram plot.
I hope that describes what I did a little better. If you think this approach seems like a really bad idea, I'd appreciate you saying so. The error is to the scale where I think it will really affect the analyses I intended to do, and I just couldn't find a work around without removing a lot of data. I even have some out of sample stationary data that I could use in some way to validate the error model further if needed. Or combine with the data I already had and see if I'm getting the same result.
Christina