optim.ms.logit: Identifies the product profiles that maximazes market share,...

Description Usage Arguments Value References Examples

View source: R/optim.ms.R

Description

Computes market share for actual profiles as well as for all possible profiles in order to indentify the bundle that maximazes market share given actual profiles We use first choice rule If we combine all three functions into one function, we can use rule=1 for first choice, rule=2 for utility share, and the rest for logit. With a if sentence we hace combine all 3 functions into one.

Usage

1
optim.ms.logit(ratings, bundles, market.profiles, design, rank = 0, hpb = 0)

Arguments

ratings

a data frame with all clients' ratings

bundles

a data frame with all product profiles rated by clients

market.profiles

a data frame with competitiors' profiles

design

a list with the experiment description (attributes and levels)

rank

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

hpb

if hpb==1, the hide progress bar, for rmarkdown documents

Value

optim.list a list with with the optim profile as well as optim market share

References

SAS Institute Inc., SAS*TeclmicalReport R-109, Conjoint Analysis Examples, Gary, NC: SAS Institute Inc., 1993.85 pp.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(MDSConjointData)
names(MDSConjointData)
osc<-MDSConjointData$osc
class(osc)
names(osc)
rat<-osc$ratings
bun<-osc$bundles
mp<-osc$market.profiles
design<-osc$design
osc.ms.op.logit<-optim.ms.logit(rat, bun, mp, design, hpb=1)
osc.ms.op.logit

jlopezsi/MDSConjoint documentation built on May 17, 2017, 11:25 p.m.