Examples

For those who want to have an overview of their data and prepare them for an analysis of precision, the standard way of writing a COST script is to organise the script following WKCOST recommendation and naming headers as follows:

A - Importation of a dataset

B - Exploratory analysis

C - Stratification

D - Estimation

E - Organisation of the results

The examples below are all organised follwing this sectionning structure. Some of the data sources used for the examples are included in some package, or in the dedicated COSTdata package; otherwise, the R object containing the dataset is provided

Script

Data Source

Analysis Market Sampling Strategy Commercial Category (Analytical method)

Download

COSTcore

Analysis Market Sampling Strategy Commercial Category (Bootstrap method)

Download

COSTcore

Analysis Market Sampling Strategy Métier (Analytical method)

Download

Rdata

Analysis Market Sampling Strategy Métier (Bootstrap method)

Download

Rdata

Analysis Market Sampling in Mediterranean (Analytical method)

Download

COSTdata

Analysis Market Sampling in Mediterranean (Bootstrap method)

Download

COSTdata

Analysis On-board Sampling Commercial vessels (Analytical method)

Download

COSTcore

Analysis On-board Sampling Commercial vessels (Bayesian method)

Download

COSTmbe

Analysis Biological parameters (Analytical method)

Download

COSTcore

Analysis of Biological parameters (Bootstrap method)

Download

COSTcore

Raising to the sampled trips (for ICES assessment WG)

Download

Rdata

Multinomial analysis of Age Length Keys

Download

Rdata

Test of the methods for On-board Sampling