Description Usage Arguments Value Examples
This function computes for client i the utility of each market profile (given rivals' profiles and new profiles ) for consumer i. 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 client i (rows) by part worths (colums), design.l is a list with conjoint desing.
1 | cupi(pw, mp, n.attributes)
|
pw |
a data frame with all clients' partworths |
mp |
a data frame with the description of competitors' existing product profiles |
n.attributes |
the number attributs of conjoint design |
upi a matrix with the prediction of utilities for client i
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 uop().
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.cupi <-cupi(osc$market.profiles, osc.conjoint$part.worths[1,], osc$design)
#head(osc.cupi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.