Ana
You cover lots of topics in this email; hard to know where to begin.
It is unfortunate your data are spiked and doubly unfortunate that this was not diagnosed until the end of the three years of data collection. Nevertheless, the purpose of binning is to get the detection into the correct "bin" if it was not in the correct "exact" distance because of rounding. To get data into the correct bin, it seems the "preferred" distance (multiple of 5) should be in the centre of the bin, not at the edge; so I would use cutpoints different to the ones you have used. I might also believe (but you know better because the data are yours) that rounding was less of a problem at small distances than at large distances--suggesting that you have narrower bins at small distances--there is no reason that the bins need to be of the same width: perhaps 0-1, 1-2, 2-3, 3-4, 4-6,...
Because you have binned the data, you do not have the Kolomogorov-Smirnov or Cramer von-Mises tests at your disposal and you must use the chi-square test (which is sensitive to the location of the cutpoints for binning). The degrees of freedom of the chi-square test is u-q-1 where u is the number of bins (6 in the example you provide) and q is the number of parameters in your model. If you fit a hazard rate model with 2 parameters and include site as a factor covariate (adding 2 more parameters to be estimated), I think you will end up with 6-4-1=1 degrees of freedom left for your test. Should an adjustment term appear in the fitted model you will see the "no degrees of freedom for test" message.
If you are in this situation, then you are in the uncomfortable situation of making inference about thrush density based on a detection function model inconsistent with the data you observed. You may say this lack of fit was caused by rounding of data in the field, but your inference will be somewhat tarnished.
I believe to get year-specific estimates you would need to
include Region.Label in your model; give that a try.
--
You received this message because you are subscribed to the Google Groups "distance-sampling" group.
To unsubscribe from this group and stop receiving emails from it, send an email to distance-sampl...@googlegroups.com.
To post to this group, send email to distance...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/distance-sampling/a282500c-c0bd-49d9-be87-d3b9b14afa0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Eric Rexstad Research Unit for Wildlife Population Assessment Centre for Research into Ecological and Environmental Modelling University of St. Andrews St. Andrews Scotland KY16 9LZ +44 (0)1334 461833 The University of St Andrews is a charity registered in Scotland : No SC013532