Learn R Programming

dst (version 1.8.0)

ads: The Captain's Problem. ads: Relation between variables Arrival (A), Departure delay (D) and Sailing delay (S)

Description

This dataset is the tt matrix establishing the relation A = D + S, where A = 0:6, D = 0:3 and S = 0:3. The subset made of all the triplets (a,d,s) of (A x D x S) where a = d + s is true has a mass value of 1. To construct the tt matrix, we put the variables A, D, S side by side, as in a truth table representation. Each triplet of the subset is described by a row of the matrix as a vector of zeros and ones.

Usage

ads

Arguments

Format

An integer matrix with 18 rows and 17 columns

[1, c(1,2)]

value = 0, not used

[1, 3:17]

Identification numbers of the three variables. Column 3 to 9: variable 1; column 10 to 13: variable 2; column 14 to 17: variable 3.

nospec

identification number of the specification

m

the value of the specification, a number between 0 and 1

6

1 if 6 is part of the specification, 0 otherwise

5

1 if 5 is part of the specification, 0 otherwise

4

1 if 4 is part of the specification, 0 otherwise

3

1 if 3 is part of the specification, 0 otherwise

2

1 if 2 is part of the specification, 0 otherwise

1

1 if 1 is part of the specification, 0 otherwise

0

1 if 0 is part of the specification, 0 otherwise

Author

Claude Boivin, Stat.ASSQ