knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

The following set of rules are the basis for mscatch.

In many stock assessments each year may result in a different level of aggregation (i.e quarters, semesters or different gear types).

Note: minimum number of length samples ~ 1 per 200 metric tonnes landed. (unwritten rule of thumb, check )

(Within each year, t)

Combine:

    + if YES: Combine gear types (explore to see if combined lengths similar) 
    to increase sample size or Ignore and continue (add to total at the end).
    + if NO: Count your blessings and continue.  
      + if YES: combine market categories with similar length distributions. 
      + if NO : Count your blessings and continue.  
    + if YES: Create semesters?  (Currently semesters are skipped and jump straight to annual)
      + if NO: Count your blessings and continue.  
      + If YES: define groups of similar strata  
      + If NO: Count your blessings and continue.  
      + Select length within year/market category from adjacent strata or strata group
      (after determining if appropriate).  
      + Select length within year/market category from adjacent quarter or semester
      (after determining if appropriate).  
      + Select length within year/market category from adjacent year
      (after determining if appropriate).  
      + Combine market category samples to create an unclassified  
      + Use appropriate observer length samples to apply to unclassified. 
      + Calculate ratio of sampled to un-sampled landings and expand
      total length frequency such that expanded sample weight equals
      total landings weight for year t.

Interpolate only:

If examination of sample matrix shows only sporadic missing cells with landings but sample sizes less than X:

Or combination of both approaches



NOAA-EDAB/neusCatch documentation built on Jan. 23, 2025, 3:29 a.m.