Temporary Emigration model - problem with hmat file

48 views
Skip to first unread message

lpbu...@vcu.edu

unread,
Sep 14, 2015, 2:00:27 PM9/14/15
to unmarked
Hello,

As a new unmarked user...I am trying to understand something about the hmat file that is created as part of the Temporary Emigration model described in Chandler (2015) vignette "Modeling variation in abundance using capture-recapture data"

I see the issue when playing with the alder flycatcher data and code described in the vignette as well as my own data.  

Specifically, sites with no detections and those with detections seem to match up with the raw data from the first survey, but there is no variation among the surveys, even when the raw data suggest there should be...for example, in the alder flycatcher data: his1_05 shows two birds with detection histories in the first seven columns (under 011 and 111), but the raw data suggest that during the second survey, there was a third bird detected with a history of 101, but that is not shown in the next 7 columns of the hmat file where each site seems to have the same detection histories during all three surveys. 

Does anyone know if this is a problem, and if so, how to fix it.  It seems that each of three sets of 7 columns represent the detection histories for each of the three surveys and therefore should reflect that survey. 
We have tried playing around with the cbind function that is responsible for creation of the hmat table to no avail.

Thanks so much for any thoughts on this.

Lesley Bulluck

Richard Chandler

unread,
Sep 15, 2015, 9:26:23 AM9/15/15
to Unmarked package
Hi Lesley,

I don't see the problem. The bird with the "101" detection history from the second survey does appear in the alfl.Hmat file:

> subset(alfl, id=="his1_05")
       id survey interval1 interval2 interval3 captureHistory
3 his1_05      1         0         1         1            011
4 his1_05      1         1         1         1            111
5 his1_05      2         0         1         1            011
6 his1_05      2         1         0         1            101
7 his1_05      2         1         1         1            111

> alfl.Hmat["his1_05",]
001 010 011 100 101 110 111 001 010 011 100 101 110 111 001 010 011 100 101 110 111 
  0   0   1   0   0   0   1   0   0   1   0   1   0   1   0   0   0   0   0   0   0 
  

Let me know if I'm missing something.

Richard







--
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Richard Chandler
Assistant Professor
Warnell School of Forestry and Natural Resources
University of Georgia
Reply all
Reply to author
Forward
0 new messages