Learn R Programming

fishmethods (version 1.10-4)

alkss: Sample Size Determination for Age Subsampling

Description

Calculates sample sizes for age subsampling assuming a two-stage random sampling design with proportional or fixed allocation.

Usage

alkss(x, lss = NULL, cv = NULL, allocate = 1)

Arguments

x

a data frame containing an age-length key (similar to Table 8.3 on page 307 of Quinn and Deriso (1999)). The first column must contain the length intervals as numeric labels (no ranges), the second column must contain the number of samples within each length interval (Ll in Q & D), and the third and remaining columns must contain the number of samples for each age class within each length interval (one column for each age class). Column labels are not necessary but are helpful. Columns l and Al in Table 8.3 should not be included. Empty cells must contain zeros.

lss

the sample size for length frequency

cv

the desired coefficient of variation

allocate

the type of allocation: 1=proportional, 2=fixed.

Value

label

list element containing the summary of input criteria

n

list element containing the sample size estimates for each age

Details

If individual fish from catches are sampled randomly for lengths and then are further subsampled for age structures, Quinn and Deriso (1999: pages 306-309) showed that sample sizes for age structures can be determined for proportional (the number of fish aged is selected proportional to the length frequencies) and fixed (a constant number are aged per length class) allocation assuming a two-stage random sampling design. Sample sizes are determined based on the length frequency sample size, a specified coefficient of variation, and proportional or fixed allocation. The number of age classes is calculated internally. See reference to Table 8.6, p. 312 in Quinn and Deriso.

References

Quinn, T. J. and R. B. Deriso. 1999. Quantitative Fish Dynamics. Oxford University Press, New York, New York. 542 pages

See Also

alkD alkprop

Examples

Run this code
# NOT RUN {
data(alkdata) 
alkss(alkdata,lss=1000,cv=0.25,allocate=1)
# }

Run the code above in your browser using DataLab