Description Usage Arguments Value Author(s) References

View source: R/Ancillary_Indicators.R

Calculates mahalanobis distance and rejection of the Null operating model, used by wrapping function PRBcalc.

1 2 |

`indPPD` |
A 3D array of results arising from running getind on an MSE of the Null operating model (type of data/stat (e.g. mean catches),time period (chunk), simulation) |

`indData` |
A 3D array of results arising from running getind on an MSE of the Alternative operating model (type of data/stat (e.g. mean catches),time period (chunk), simulation) |

`alpha` |
Positive fraction: rate of type I error, alpha |

`removedat` |
Logical, should data not contributing to the mahalanobis distance be removed? |

`removethresh` |
Positive fraction: the cumulative percentage of removed data (removedat=TRUE) that contribute to the mahalanobis distance |

A list object. Position 1 is an array of the mahalanobis distances. Dimension 1 is length 2 for the Null OM (indPPD) and the alternative OM (indData). Dimension 2 is the time block (same length as indPPD dim 2). Dimension 3 is the simulation number (same length at indPPD dim 3.), Position 2 is a matrix (2 rows, ntimeblock columns) which is (row 1) alpha: the rate of false positives, and row 2 the power (1-beta) the rate of true positives

T. Carruthers

Carruthers and Hordyk 2018

MSEtool documentation built on Oct. 17, 2018, 9:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.