Learn R Programming

dst (version 1.8.0)

mrt: The Captain's Problem. mrt: Relation between variables Maintenance done (M = true) and Repairs at sea (R)

Description

This dataset is the tt matrix establishing a set of two relations between the two variables. First, Repairs = true if Maintenance = true in (M x R). We are 10% sure that there will be Repairs if maintenance is done. Second, Repairs = false if Maintenance = true in (M x R). We are 70% sure that there will be no repairs if maintenance is done.

Usage

mrt

Arguments

Format

A (0,1) matrix with 4 rows and 6 columns.

[1,c(1,2)]

value = 0, not used

[1,3:6]

Identification numbers of the two variables. Column 3,4: variable 6; columns 5,6: variable 8

nospec

identification number of the specification

m

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

true

1 if true is part of the specification, 0 otherwise

false

1 if false is part of the specification, 0 otherwise

Author

Claude Boivin, Stat.ASSQ

Details

These two relations are implication rules. The remaining mass of 0.2 is allotted to the frame. To construct the tt matrix, we put the variables M and R side by side, as in a truth table representation. Each pair of the subset is described by a row of the matrix as a vector of zeros and ones.