ms.fe.conjoint: This function computes the market share of product profiles

Description Usage Arguments Value Examples

Description

This function computes the market share of product profiles according to the first choice rule. Uses treatment effects to estimate part worth utilities of profiles; the matrix of profiles for which we are going to compute market profiles is a matrix of existing product profiles in the market (rows) by attributes (columns); ratings is a matrix of clients (rows) by bundles rated (colums); bundles is a matrix of bundles (rows) by attributes (colums)

Usage

1
ms.fe.conjoint(market.profiles, ratings, bundles, rank = 0)

Arguments

market.profiles

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

ratings

a data frame 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

ms

Examples

1
2
3
4
5
6
7
8
data(MDSConjointData)
names(MDSConjointData)
osc<-MDSConjointData$osc
names(osc)
sapply(osc, class)
sapply(osc$market.proiles, class)
ms.fe.conjoint(osc$market.profiles, osc$ratings, osc$bundles)
class(ms.fe.conjoint(osc$market.profiles, osc$ratings, osc$bundles))

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