point.est.cir: Change-In-Ration Method Abundance Estimation: Point Estimate

Description Usage Arguments Details Value See Also Examples

Description

This function estimates abundance and related parameters from a change-in-ratio method sample object (of class ‘sample.cir’).

Usage

1
        point.est.cir(samp, numerical=TRUE)

Arguments

samp

object of class 'sample.rm´.

numerical

if TRUE, estimation is by numerical maximisation of the likelihood

Details

The analytical estimator (numerical=FALSE) can only be used for 2 survey occasions and is given by:

Nhat = [ R_2(1) - R_2 * p_2(1) ] / [ p_1(1) - p_2(1) ] where

R_2(1):= the number of removals at the beginning of the second survey occasion of type 1
R_2:= the total number of removals at the beginning of the second survey occasion
p_1(1):= the estimated initial proportion of type 1 in the population
p_2(1):= the estimated proportion of type 1 in the population at the beginning of the second survey occasion

Please note:
The analytical estimator has got very bad statistical properties. It mostly results in estimators which are actually even smaller than the number of detected animals! If this happens the function will print out a warning message.

Possible errors of the function:
Numerical estimation uses the R-function 'nlm' to maximize the full likelihood. This maximization routine sometimes fails to deliver a sensible estimate for N or even stops with an error if it could not calculate any estimator at all. This is dependent on the sample.

Value

An object of class 'point.est.cir´ containing the following items:

sample

details of the object of class 'sample.cr', used to create the sample

Nhat

ML - estimator of animal abundance N

theta

Estimator of detection function parameter (only available when using numerical estimation)

phat

Estimators of detection probability on each survey occasion (only available when using numerical estimation)

Es

Estimate of mean group size (simple mean of observed group sizes)

Nshats

Estimator of all separate N of the different animal types (only available when using numerical estimation)

log.Likelihood

the value of the log likelihood function at the maximum

AIC

Akaike´s Information Criterion

parents

Details of WiSP objects passed to function

created

Creation date and time

numerical

if TRUE, estimation is by numerical maximisation of the log likelihood function. If FALSE, estimation is by analytical methods

See Also

setpars.survey.rm, generate.sample.rm int.est.cir

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
rm.reg<-generate.region(x.length=100, y.width=50)

rm.dens <- generate.density(rm.reg)
rm.poppars<-setpars.population(density.pop = rm.dens, number.groups = 100,
                               size.method = "poisson", size.min = 1, size.max = 5,
                               size.mean = 1, exposure.method = "beta", exposure.min = 2,
                               exposure.max = 10, exposure.mean = 3, exposure.shape = 0.5,
                               type.values=c("Male","Female"), type.prob=c(0.48,0.52))
rm.pop<-generate.population(rm.poppars)

rm.des<-generate.design.rm(rm.reg, n.occ = 5, effort=c(1,2,3,2,1))
rm.survpars<-setpars.survey.rm(pop=rm.pop, des=rm.des, pmin=0.03, pmax=0.95, improvement=0.05)
rm.samp<-generate.sample.rm(rm.survpars)

# Change-in-ratio method
cir.est<-point.est.cir(rm.samp)
summary(cir.est)

dill/wisp documentation built on May 15, 2019, 8:31 a.m.