Skip to content

1 Data Check Criteria

SOLV-Code edited this page Jan 10, 2025 · 2 revisions

These are the current default values. Users can specify alternative settings.

The checkSRData() function calculates data quality metrics for a SR data set, looking at the entire time series and at individual observations. Potential data concerns are flagged if metric values fall below, above, or outside the range of user-specified trigger values. For example, low contrast in spawner data (Contr) is flagged if Max(Spn)/Min(Spn) < 4, using the threshold from Clark et al. (2014). Individual spawner observations (OddSpn) are flagged if they are an order of magnitude different from the median (i.e. less than 10%, or more than 10 times bigger).

NOTE: age comp diagnostics in the data check are not behaving properly. See this issue for details.

Active Criteria

Label Criterion Scope Vars Metric Calc Trigger
Contr Low contrast in Spn Data Series S Contrast in Spn max(spn)/min(spn) <4
NumObs Insufficient SR data Series S,R Num brood years with data num(BY) <10
LgSpn Missing large Spn Series S,R Large obs Spn not in SR data Max(spn)/(Max(spn in SR) and min >2
LgRec Missing large Rec Series S,R Large obs Rec not in SR data Max(rec)/(Max(rec in SR) andmin >2
SmSpn Missing small Spn Series S,R Small obs Spn not in SR data Max(spn)/(Max(spn in SR) and min >2
SmRec Missing small Rec Series S,R Small obs Rec not in SR data Max(rec)/(Max(rec in SR) andmin >2
LgExp Large Spn Exp Series SpnExp total expansion Median(ExpSpn) >3
OddSpn Unusual Spn obs Obs S Obs vs. Med Spn / Med(Spn) <0.1 or >10
OddRec Unusual Rec obs Obs R Obs vs. Med Rec / Med(Rec) <0.1 or >10
OddProd Unusual productivity Obs S,R Recruits/Spawner RpS <0.3 or >15
OddExp Unusual Spn Exp obs Obs SpnExp Obs vs Med ExpSpn/Median(ExpSpn) <0.2 or >5

Under Review

Label Criterion Scope Vars Metric Calc Trigger
VarAge Unstable age comp Series age range in BY age comp MaxDiffByAge >20%
OddAge Unusual age comp obs Obs age Obs vs. Med for Main Age PercAge/(MedPercAge) <0.8 or >1.2

Clone this wiki locally