-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Survey with single transect (capercaillie), CV(D) seems incorrect #192
Comments
Similarly, the MRE
Result
Reconstructing this calculation, I surmise that CV(ER) would have to be 0.02347 to result in CV(D)=0.06805 when CV(Pa)=0.063878, DucknestManipulate the data such that all detections are assigned to MRE
Result
Documentation about The second component (encounter rate variance) can be computed in one of several ways depending on the form taken for the encounter rate and the estimator used. To begin with there three possible values for varflag to calculate encounter rate:
this doesn't resolve the issue for me |
Thanks @lenthomas . I vaguely remembered something about the Poisson assumption, but I'm not clear what My first thought is that the Poisson is invoked to approximate var(ER) and hence CV(ER). If that was the case, then for the cappercaillie, we would have:
whereas, by my calculation For
whereas I surmise that CV(ER) would have to be 0.02347. Either I am misunderstanding what In any event, the software is creating a measure of uncertainty for encounter rate; but that measure is not printed in the output as both se(ER) and CV(ER) are printed as 0. Would be nice to know what is happening under the hood. |
Running The Poisson gets invoked, not on encounter rate, but rather on The Poisson variance of It doesn't seem right to me that the Poisson is applied to |
I had a quick look through the code. I think that's how the Innes et al. estimator works, although I agree it seems strange. The encounter rate version that you're thinkng of is what gets invoked when A proper check is going to require a thorough re-reading of the Marques and Buckland chapter, Innes et al paper and some thinking! If we do find any issues here, it'll be important to check what's implemented in |
video for debugging session here
Section 4.7.2 of Buckland et al. (2001) discusses using the Poisson for |
For entertainment, I check what DistWin 8.0 did with the capercaillie data with a single transect. DistWin provides three ways of dealing with single transects: Assume var(ER)=0
Not the CV(D)=0.1475 provided by Assume Poisson with overdispersion=0
also not the CV(D)=0.1475 reported by Assume Poisson with some overdispersion parameter, DistWin suggests b=2
also not the CV(D) produced by ConclusionThe approach used by |
I thought CV(D) would be computed using the delta method approximation; sqrt(CV(Pa)^2 + CV(ER)^2). That calculation checks for the
ducknest
data when analysed.However, the delta method does not seem to be applied to the
capercaillie
data. That data set has only a single transect, hence CV(ER)=0. If the delta method was being used, when CV(ER)=0, CV(D)=CV(Pa). Correct?That is not the results from the code below. Why not?
MRE
Result
Reconstructing the calculation, to arrive at CV(D)=0.14752 when CV(Pa)=0.086532,
ds
has fabricated CV(ER)=0.11947, when in reality CV(ER)=0.The text was updated successfully, but these errors were encountered: