uop: This function computes the utility of each product profile...

Description Usage Arguments Value Examples

Description

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.

Usage

1
uop(mp, pw, design.l)

Arguments

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

Value

up a matrix with the prediction of utilities for all clients

Examples

 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)

jlopezsi/MDSConjoint documentation built on May 19, 2019, 12:48 p.m.