Description Usage Arguments Value Examples
This function computes the partworth of attribute levels for each respondent. Uses treatment effects; ratings is a data frame of clients (rows) by bundle rated (colums); bundles is a data frame of bundles (rows) by attributes (colums)
1 2 | conjoint.estimation(ratings, bundles, design.l, rank = 0, rs = 0,
conj.contrasts = "sum")
|
ratings |
a data frame with all clients' ratings |
bundles |
a data frame with all product profiles rated by clients |
design.l |
a list with the conjoint design (attributes and levels) |
rank |
if rank==1, then transform a ranking into utilities |
rs |
if rs=1, record individuals' coefficients, other wise not record |
conj.contrasts |
if conj.contrasts=="sum", then options(contrasts = c("contr.sum", "contr.poly")), otherwise, treatment |
conjoint.results.all the object returned by the function
1 2 3 4 5 6 7 8 9 10 11 12 | data(MDSConjointData)
names(MDSConjointData)
osc<-MDSConjointData$osc
class(osc)
names(osc)
osc.conjoint <- conjoint.estimation(osc$ratings, osc$bundles, osc$design)
names(osc.conjoint)
# [1] "summary" "fit" "part.worths" "prediction"
head(osc.conjoint$summary)
head(osc.conjoint$fit)
head(osc.conjoint$part.worths)
head(osc.conjoint$prediction)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.