compute.importance.for.one: computes de importance of attributes for one individual

Description Usage Arguments Value Examples

Description

This function computes attributes' importance for one individual. It takes the results of a conjoint analysis, the list conjoint.results, and then I compute the the importance of every attribute. It uses sum zero constraints to estimate part worths. I adapt code from Marketing Data Science book, chapter 1.

Usage

1
compute.importance.for.one(conjoint.results)

Arguments

conjoint.results

a list with the results of a conjoint analysis

Value

conjoint.results returns the conjoint.results list modified

Examples

1
2
3
4
5
# not run This is a function called by importance.of.attributes()
#data(MDSConjointData)
#names(MDSConjointData$osc)
#osc<-MDSConjointData$osc
#osc.imp<-importance.of.attributes(osc$ratings, osc$bundles, osc$design)

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