Hi Chris,
Making progress on my analysis of looking at caribou herd akde's but have a few questions about how to interpret some of the results. Bit of a rambling list, but hopefully others find the answers helpful! I have tried to stay up to date on the various manuscripts, but if there is one I'm missing that would answer these technical questions, please point it out to me!
Thanks, Robin
~~~~~~~
First of all, I ran the following to get my akde UD objects in a list form
#create AKDE home ranges
akde_function <- function(i)
{akde(DATA.trj[[i]], T.FITS[[i]], weights=F, trace=T,grid=list(dr=500, align.to.origin=T))}
#populate list with akde ud objects
for(i in 1:length(T.FITS)){
print(i)
T.AKDE[[i]]<-akde_function(i)}
I'm working with a small set of data, 43 individuals, for one month, roughtly 3 locations a day. Fully aware this may not be enough data, but starting small before working with the larger dataset.
Question 1: As the for loop proceeds thru the lit, each iteration prints
"Default grid size of XX.xxxxx minutes chosen for bandwidth(...,fast=TRUE).
Bandwidth optimization complete."
The XX.xxxxx is not consistent for each iteration. As each of these UDs need to be on the same grid, and I specified the grid, why am I getting this printout? What does it mean?
Question 2: While the DOF in the resulting UD objects varies, with many being well below the minimum of 4, all but 1 Fit object leads to a UD object. In one case, a UD object is not returned, but the summary of that object (not a ctmm UD object) lists DOF[area] = 1.00532482180468e-08. So very bad. Is there a cutoff in the function that if the DOF falls below a certain level, a ctmm UD object is not returned?
Question 3: If I remove the one case where a UD object wasn't returned, mean() works. I'm not sure how to interpret the results. Does the rule that DOF should be above 4 still apply at the population level (on this subset I get DFO 5.4)? Or is that inadequate, would it need to be higher? the wide CI on the area show its not really meaningful as the area.
pop.ud<-mean(T.AKDE)
> summary(pop.ud)
$DOF
area bandwidth
5.42555 NA
$CI
low est high
area (square kilometers) 2706.349 7873.631 15751.07
attr(,"class")
[1] "area"
Question 4: Finally, If I subset this small dataset further (looking to see how it impacts the DOF) and try to only mean a subset of the akde object, the code fails with the following error. I can't wrap my head about why, if it works with the entire group, it would fail on a subset.
Error in if (any(parscale==0)) { :
missing value where TRUE/FALSE needed
in addition: Warning message:
In sqrt(sigma["xx"] * sigma["yy"]) : NaNs produced