covtheta: Estimates var/cov matrix of inflation factors (1/prob...

View source: R/covtheta.R

covthetaR Documentation

Estimates var/cov matrix of inflation factors (1/prob detection) using a non-parametric bootstrap.

Description

Estimates var/cov matrix of inflation factors (1/prob detection) using a non-parametric bootstrap. Called by function Sight.Est if Vm.boot = TRUE.

Usage

covtheta(total, srates, stratum, subunit, covars, betas, varbetas, nboots)

Arguments

total

Number of animals in each independently sighted group

srates

Plot sampling probability (associated with the independently observed animal groups)

stratum

Stratum identifiers (associated with the independently observed animal groups)

subunit

Plot ID (associated with the independently observed animal groups)

covars

Matrix of sightability covariates (associated with the independently observed animal groups)

betas

Logistic regression parameter estimates (from fitted sightability model)

varbetas

Estimated variance-covariance matrix for the logistic regression parameter estimates (from fitted sightability model)

nboots

Number of bootstrap resamples.

Value

smat

Estimated variance-covariance matrix for the inflation factors theta = (1/probability of detection). This is an n.animal x n.animal matrix.

Author(s)

John Fieberg

See Also

Sight.Est


SightabilityModel documentation built on Aug. 20, 2023, 1:08 a.m.