Skip to contents

This function uses randtests::runs.test to do perform a runs test on residuals to determine if they are randomly distributed. It also calculates the 3 x sigma limits

Usage

ssruns_sig3(x, type = NULL, mixing = "less")

Arguments

x

residuals from CPUE fits

type

only c("resid","observations")

mixing

c("less","greater","two.sided"). Default less is checking for positive autocorrelation only

Value

runs p value and 3 x sigma limits

Details

runs test is conducted with library(randtests)

Author

Henning Winker (JRC-EC) and Laurence Kell (Sea++)