Preference coefficients-class | R Documentation |
Class of preference coefficients
N |
The number of decision makers |
p |
The number of attributes of each decision makers |
q |
The number of attributes of each attributes |
S <- matrix(rnorm(100), nrow = 20, byrow = TRUE)
X <- matrix(rnorm(20), nrow = 4, byrow = TRUE)
choice <- c(rep(1,5), rep(2,5), rep(3,5), rep(4,5))
estimator <- preference_coef(N=20, p=5, q=5)
a <- preference_coef(N=20, p=5, q=5)
a$gen(law="student")
a$gen(heterogeneity=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.