utilities.of.profiles: 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 profiles is the data of existing profiles for which we are going to compute the market shares is a tale of product profiles in the market (rows) by attributes (columns), ratings is a data frame of clients (rows) by bundles rated (colums), bundles is the data frame of bundles (rows) by attributes (colums) rated by clients.

Usage

1
utilities.of.profiles(market.profiles, ratings, bundles, rank = 0)

Arguments

market.profiles

a data frame with the description of competitors' existing product profiles

ratings

a data frame with all clients' ratings

bundles

a data frame with all product profiles rated by clients

rank

if rank==1, then transform a ranking into utilities

Value

utilities.profiles a matrix with the prediction of utilities

Examples

1
2
3
4
5
6
data(MDSConjointData)
names(MDSConjointData)
osc<-MDSConjointData$osc
#this function is called by market share function.
osc.uop <-utilities.of.profiles(osc$market.profiles, osc$ratings, osc$bundles, rank=0)
head(osc.uop)

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