SAS中文论坛

标题: 问个基本的因子分析之后如何作图的问题 [打印本页]

作者: shiyiming    时间: 2011-10-31 04:32
标题: 问个基本的因子分析之后如何作图的问题
问题:

FileSOFTD.DAT gives data from a survey undertaken to determine consumer perceptionsof six competing brands of soft drinks. The brand rated were as follows: (1)Pepsicola(regular); (2)coke(regular); (3)Gatorade; (4)Allsport; (5)Lipton originaltea; (6)Nestea.

Note:although national brand names have been used, the data are fictitious.

Respondentsused a 7-point scale(1=strongly disagree to 7=strongly agree) to indicate theirlevel of agreement/disagreement with the 10statements given in fileSOFTD.DOC(in each of the statement substitute “brand x” with the brands listedabove).

Usefactor analysis to identify and label the smallest number of factors that bestaccount for the variance in the data. Also, use the factor scores to plot andinterpret perceptual map(s) of the six brands.


不知问题理解的对不对,我是这样想的:

factor作坐标系,而要把两种饮料画进去,饮料可以用10个问题(这里factor的variable)表示,但是如何画到图里呢?求指教,谢谢!

(通常我所知道factor analysis 后作的图,可以把两个factor作为坐标系,将variables画的里面。)



DATA FACTOR_SOFTD;

infile 'C:\Users\Administrator\Desktop\SOFTD.DAT';

input ID 1-2 BRAND 3-8X1 9-12 X2 13-17 X3 18-22X4 23-27X5 28-32X6 33-37X7 38-42X8 43-47X9 48-52X10 53-58;

RUN;

proc sort data=factor_softd;

by brand;

run;

proc factor data=factor_softd;

var X1--X10;

by brand;

run;




欢迎光临 SAS中文论坛 (http://mysas.net/forum/) Powered by Discuz! X3.2