全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
1504 0
2014-05-21

I am trying to create a factorial design in R for a conjoint analysis experiment (like SPSS orthoplan).The factors I want to use are nominal variable, for example, the color of a product can be green, yellow or red.I have tried the following code,but the result is nor balanced, nor orthogonal.

f.design <- gen.factorial(levels.design,factors="all")

In order to have a balanced solution in a design with nominal factors, I expect it should at least be :

nTrials=prod(unique(levels.design))

There's a package anyway that could deal with such an issue, it is the package FrF2 by Prof. Ulrike Groemping, but it handles only dichotomous variables and I cannot figure out how to use it to solve my problem. Any suggestion would be appreciated!


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群