gen_preference_coefficients | R Documentation |
The method of the Experiment class which generates some preference coefficients' attributes
which |
The number of the columns which should be generated |
DM_att_names <- list("X1", "X2", "X3")
AT_att_names <- list("Z1", "Z2", "Z3")
AT_names <- list("good1", "good2")
groups <- c(10, 20)
FD <- Experiment(DM_att_names=DM_att_names, AT_att_names=AT_att_names, AT_names=AT_names,groups=groups)
FD$gen_preference_coefficients("student", heterogeneity=TRUE, location=-100, scale=1, df=4, which=c(1:4), group=1)
FD$gen_preference_coefficients("student", heterogeneity=TRUE, location=100, scale=1, df=4, which=c(1:4), group=2)
FD$gen_preference_coefficients("normal", heterogeneity=TRUE, mu=0, sd=2, which=5)
FD$gen_preference_coefficients("discrete_uniform", heterogeneity=TRUE, a=1, b=5, which=6)
FD$beta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.