Hi everyone,
I have a bit of a niche question that will hopefully be an easy one to answer.
I'm estimating daily distances moved, incorporating HMM behaviour segmentation to condition the times at which speed is estimated for each day. This all works well and results in somewhere between 60 and 80 daily distance moved estimates alongside their respective confidence intervals for each individual.
For each animal, I then conduct a univariate GLS regression (to account for autocorrelation in estimates within the time series) and explore associations between climate and health related covariates. Eventually, I would then like to carry forward these slope estimates from each individuals dataset into a broader meta analysis as the telemetry datasets arise from different regions.
Within each regression, I would like to account for the variance associated with each day's distance estimate via weighting, similar to that done by Brown et al (2023). However, there is a discrepancy between the weighting formula presented in the paper and that in the code (see attached). Its probably just a typo in the print but regardless, would you be able to provide some clarity on the appropriate formula to use when weighting speed estimates?
Also, in Brown et al (2023), the numerator for the weighting formula is 1/4 - is this because there were 4 fixes per day (every 6 hours for each giraffe)? Or is this value chosen for some other reason?
Thanks!
Mark