est.pop.size: A function for population size estimation.

Description Usage Arguments Examples

View source: R/survsamp.R

Description

This function allows you to make estimation or sample size determinations for surveys using simple random sampling.

Usage

1
2
3
est.pop.size(method = "direct", n = NULL, t = NULL, s = NULL,
  mbar = NULL, a = NULL, m = NULL, A = NULL, alpha = 0.05,
  evenly.dispersed = TRUE)

Arguments

method

The method of sampling. Options include: direct, inverse, and quadrant.

n

Size of the second sample (direct and inverse sampling methods).

t

Size of the first sample (direct and inverse sampling methods).

s

The number of retagged individuals (direct and inverse sampling methods).

mbar

The estimated average number of elements per selected quadrant.

a

The area size of the selected quadrants.

m

A vector of the number of elements per selected quadrant.

A

The total area.

alpha

Significance level.

evenly.dispersed

Logical statement indicating if the elements are evenly dispersed.

n

The number of selected quadrants.

Examples

1
2
3
4
5
6
7
est.pop.size(method="direct",n=200,t=300,s=62)
est.pop.size(method="inverse",n=100,t=150,s=35)
est.pop.size(method="quadrant",a=16,
            m=c(rep(0,13),rep(1,8),rep(2,12),rep(3,10),rep(4,5),rep(5,2)))
#not enough information above to est. M, only lambda (density)
est.pop.size(method="quadrant",
            mbar=40,a=10,A=60*8,n=20)

carrollrm/survsamp documentation built on April 28, 2020, 4:04 a.m.