Fit two different functions for two strata

18 views
Skip to first unread message

Dayron Lopez

unread,
Oct 29, 2021, 8:38:39 AM10/29/21
to distance...@googlegroups.com
Hello everyone,
I have data for a bird species in a reserve where two main habitat types are found (these are the two strata) and I would like to ask if and how is it possible to fit two different functions for the two habitats.
Do I have to change something in the model definition properties or elesewhere? What?
For another bird species I didn't have this problem because the same function was performing well for both strata but in this case it isn't.

Thanks a lot for your attention

Dayron Lopez 

Eric Rexstad

unread,
Oct 29, 2021, 1:53:48 PM10/29/21
to Dayron Lopez, distance...@googlegroups.com
Dayron

Yes, it is possible to fit separate detection functions to each of two geographic strata (habitats).  You can demonstrate to yourself using the "minke" data set in the Distance package.  The data are of a stratified survey with a northern and a southern stratum.

minke.trunc <- 1.5
# Create dataset for South
minke.S <- minke[minke$Region.Label=="South", ] # Fit df to south minke.df.S.strat <- ds(minke.S, key="hr", adjustment=NULL,
truncation=
minke.trunc)
summary(minke.df.S.strat)
# Create dataset for South 
minke.N <- minke[minke$Region.Label=="North", ]
# Fit df to south
minke.df.N.strat <- ds(minke.N, key="hr", adjustment=NULL, 
truncation=
minke.trunc)
summary(minke.df.N.strat)

To do the equivalent in Distance for Windows, watch the video and conduct the analysis described in our online training materials here:

https://workshops.distancesampling.org/online-course/syllabus/Chapter5/#stratification-exercise
In this chapter we introduce more challenging designs and analyses. The study area may be subdivided into smaller regions (strata) and density/abundance estimated within each strata.





From: distance...@googlegroups.com <distance...@googlegroups.com> on behalf of Dayron Lopez <dayroni...@gmail.com>
Sent: 29 October 2021 13:38
To: distance...@googlegroups.com <distance...@googlegroups.com>
Subject: [distance-sampling] Fit two different functions for two strata
 
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/distance-sampling/CACc%2Bg%3DYfs70ik6U56_H_Xx0rucPdwoca%3Di5tw28jQU-xk-fR9w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages