calculate_rse {AnglerCreelSurveySimulation}R Documentation

Calculate the Relative Standard Error of a numeric vector

Description

Calculates relative standard error of a vector of numbers.

Usage

calculate_rse(x)

Arguments

x

The numeric vector of numbers from which relative standard error should be calculated.

Details

Relative standard error is returned as a proportion. It is sometimes also referred to as "proportional standard error."

Relative standard error is the standard error divided by the mean:

Relative Standard Error = \frac{\frac{s}{\sqrt{n}}}{\bar{x}}

Value

This function returns a single value that is the relative standard error of a vector of numbers.

Author(s)

Steven H. Ranney

References

Malvestuto, S. P. 1996. Sampling the recreational creel. Pages 591-623 in B. R. Murphy and D. W. Willis, editors. Fisheries techniques, 2nd edition. American Fisheries Society, Bethesda, Maryland.

Examples

calculate_rse(rnorm(100, 10, 3))


[Package AnglerCreelSurveySimulation version 1.0.2 Index]