The Data object has slots for indices of total (Data@Ind
), spawning (Data@SpInd
), and vulnerable biomass (Data@VInd
). In the MSE, these slots are populated with simulated data based on the relevant observation model parameters. We saw in the previous section how to condition the observation model in the OM with real index data.
If users wish to use more than these three indices (e.g. multiple indices of total abundance), or have greater control over the simulated indices (e.g., index of numbers rather than biomass), they can use the slots for Additional Indices.
Additional Index Slots
There are five slots in the Data object related to additional indices:
Data@AddInd
: An array with dimensionsc(1, n.ind, OM@nyears
), wheren.ind
is the number of additional indices. All indices must be lengthOM@nyears
, although there can be gaps in the indices.Data@AddIndType
: A numeric vector of lengthn.ind
specifying if the simulated index should be generated from total biomass (1; default), spawning biomass (2), or vulnerable biomass (3).Data@AddIunits
: A numeric vector of lengthn.ind
specifying if the simulated index should be generated from biomass (1; default) or numbers (0).Data@AddIndV
: Vulnerability-at-age schedules for the additional indices. Array with dimensionsc(1, n.ind, OM@maxage+1
).Data@CV_AddInd
: Coefficient of variation for additional indices. Array of same dimensions asData@AddInd
.
See the Populating the Data Object section for details on entering fishery data into these slots.
Condition Observation Model with Additional Indices
If a Data object with the additional indices slots populated is included in an OM (OM@cpars$Data
), the additional indices will be included in the simulated data for the historical spool-up period and continue to be generated in the projection period using the same conditioning methods described in Conditioning with Index Data.
If the additional indices slot (Data@AddInd
) does not contain any data, the additional indices will not be generated; i.e., the slot AddInd
in the simulated data provided to the MPs will be empty.