Learn R Programming

DLMtool (version 5.2)

Turing: Turing Test

Description

Plots the available data in the Data object together with 5 samples of historical data from the Operating Model (OM) in a random order. The test is used to determine if the data generated by the OM is similiar to the fishery data in the Data object. In a well specified OM the user should not be able to visually identify which of the 6 plots is the real fishery data and which are generated by the OM.'

Usage

Turing(OM, Data, wait = TRUE)

Arguments

OM

An object of class OM

Data

An object of class Data

wait

Logical. Wait for key press before next plot?

Details

In its current form the Turing function does not interpolate missing data in the Data object. Therefore if there are years with missing data, say in the catch time-series, it will be obvious which are the real data and which have been generated by the model. Future versions of the function may include methods to impute missing data for plotting purposes.

The question to ask when examining the plots produced by Turing: do the plots of the 6 data samples look like they are all samples from the same underlying distribution?

Examples

Run this code
# NOT RUN {
Turing(DLMtool::testOM, DLMtool::SimulatedData, wait=FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab