Description Usage Arguments Value Examples
This function computes the utility of each profile (given rivals' profiles and new profiles ) for each consumer. The data frame mp has the data of existing profiles for which we are going to compute the market shares. It is a table of market product profiles (rows) by attributes (columns), wp is a data frame of clients (rows) by part worths (colums), design.l is a list with conjoint desing.
1 | uop(mp, pw, design.l)
|
mp |
a data frame with the description of competitors' existing product profiles |
pw |
a data frame with all clients' partworths |
design.l |
a list with conjoint design |
up a matrix with the prediction of utilities for all clients
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(MDSConjointData)
names(MDSConjointData)
osc<-MDSConjointData$osc
#this function is called by market share function.
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)
osc.uop <-uop(osc$market.profiles, osc.conjoint$part.worths, osc$design)
head(osc.uop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.