Learn R Programming

conjoint (version 1.35)

caModel: Function caModel estimates parameters of conjoint analysis model

Description

Function caModel estimates parameters of conjoint analysis model. Function caModel returns vector of estimated parameters of traditional conjoint analysis model.

Usage

caModel(y, x)

Arguments

y
vector of preferences, vector should be like single profil of preferences
x
matrix of profiles

References

Bak A. (2009), Analiza Conjoint [Conjoint Analysis], [In:] Walesiak M., Gatnar E. (Eds.), Statystyczna analiza danych z wykorzystaniem programu R [Statistical Data Analysis using R], Wydawnictwo Naukowe PWN, Warszawa. Green P.E., Srinivasan V. (1978), Conjoint Analysis in Consumer Research: Issues and Outlook, "Journal of Consumer Research", September, 5, 103-123. SPSS 6.1 Categories (1994), SPSS Inc., Chicago.

Examples

Run this code
#Example 1
library(conjoint)
data(herbata)
x<-as.data.frame(hprof)
y1<-as.data.frame(hpref[1:nrow(x),1])
model=caModel(y1, x)
print(model)

#Example 2
library(conjoint)
data(herbata)
x<-as.data.frame(hprof)
y1<-as.data.frame(hpref[1:nrow(x),1])
model=caModel(y1, x)
print(model)

Run the code above in your browser using DataLab