noise-class: ob_decision_makers_att

Description Arguments Examples

Description

The class of observed decision makers' attributes

The class noise

Arguments

p

The number of attributes of each decision makers

N

The number of decision makers

J

The number of attributes of alternatives

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
N <- 10; p <- 3
a <- ob_decision_makers_att$new(N=N, p=p);
a$gen("student", param=list(location=rep(100, 3), df=3))
a$gen()
a$gen("help")

N <- 10; J <- 5; a <- noise$new(N=N, J=J);
          a$gen()
          a$gen("normal", param=list(mu=rep(-1000, J)))
          a$gen("student", param=list(scale=diag(2, J),df=10))
          a$gen("discrete_uniform")

AntoineDubois/RUMdesignSimulator documentation built on Dec. 17, 2021, 8:53 a.m.