Hello,
To briefly describe my situation:
Several times a year we carried out counts by distance sampling to estimate the size of a population.
In order to have enough points we realised for each of these sessions 3 replicates. I entered the data on R following the format of this table:
For the data analysis I first fitted the best detection function on all the data (I will not go into the details of the choice of the function, my problem is not here):
hn.cos.df<- ds(dataframe, formula = ~1,key="hn", adjustment="cos", order = 0,
truncation=list(left=20, right=200))
To obtain a result per session and precised observers only counts on one side of the transect I then entered:
dht2(ddf = hn.cos.df, flatfile = dataframe, strat_formula = ~session , sample_fraction = 0.5, stratification = 'replicate')
I obtain one value per session, but that value seems more like the sum of the 3 replicates, whereas I'm more looking to get an average value.
I can divide the obtained value by 3, but I'm not sure if it's mathematically valid.
What I need to change to get the result I'm looking for?
Thanks you for your help,
Arthur